switch router to chi, add middlewares and maintenance mode #3

Manually merged
sneak merged 3 commits from newrouter into master 2020-10-03 07:03:56 +00:00

3 Commits

Author SHA1 Message Date
df2b0fb1ac format comments better
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-10-02 22:45:09 -07:00
d7e3fa7497 go mod tidy
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-02 22:42:12 -07:00
9f3fb1e944 switched to chi, also:
* updated healthcheck a bit
* added maintenance mode config toggle
* added recovery handler
2020-10-02 22:40:33 -07:00