cacert-boardvoting/cmd/boardvoting
Jan Dittberner 335ce16547 Add tests for handlers and middleware
- drop migration 2022052601_drop_unused_decisions_colums because it was implicitly part of an earlier migration
- add /health endpoint for database health check
- add tests for the health check endpoint
- add tests for middleware secureHeaders, logRequest and tryAuthenticate
- add models.UserModel.CreateUser method
2022-05-26 19:22:56 +02:00
..
config.go Replace gorilla/csrf with justinas/nosurf 2022-05-26 17:25:25 +02:00
handlers.go Add tests for handlers and middleware 2022-05-26 19:22:56 +02:00
handlers_test.go Add tests for handlers and middleware 2022-05-26 19:22:56 +02:00
helpers.go Add tests for handlers and middleware 2022-05-26 19:22:56 +02:00
jobs.go Finish new motion create implementation 2022-05-26 15:27:25 +02:00
main.go Replace gorilla/csrf with justinas/nosurf 2022-05-26 17:25:25 +02:00
middleware.go Replace gorilla/csrf with justinas/nosurf 2022-05-26 17:25:25 +02:00
middleware_test.go Add tests for handlers and middleware 2022-05-26 19:22:56 +02:00
notifications.go Finish new motion create implementation 2022-05-26 15:27:25 +02:00
routes.go Add tests for handlers and middleware 2022-05-26 19:22:56 +02:00