Commit Graph

16 Commits

Author SHA1 Message Date
2b428230b2 switch to gofumpt
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-10-10 15:08:37 +00:00
db919c1025 go mod tidy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-10-05 06:46:13 -07:00
a9887634ab add simple json endpoint example
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-10-05 06:15:32 -07:00
a26c0b2b47 cleanups:
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
* move metrics endpoint protection middleware to correct file
* move /metrics route to Chi route group
* update readme
2020-10-03 23:03:00 -07:00
687e9accf8 cleanups:
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
* middlewares in correct order now, now always throws 500 on panic
* only adds metrics middleware if metrics serving auth is configured
* only adds metrics serving route if metrics serving auth is configured
2020-10-03 22:46:48 -07:00
2a45cb3a5b now does integrated metrics! fixes #5.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
thanks to @slok for setting me straight with my dumb question
on how to use his cool package:

https://github.com/slok/go-http-metrics/issues/41
2020-10-03 00:22:23 -07:00
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
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
9b839e9b97 fixes broken build. i'll go protect master now oops
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-30 22:25:33 -07:00
de9fae295d add sentry middleware doc link in comment
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-30 22:11:53 -07:00
876f2d9a98 now supports remote error reporting to sentry, if desired
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-30 21:59:20 -07:00
d3e6e7fd32 rename misnamed file (handleadmin->handlelogin)
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-30 01:32:28 -07:00
b1df41ef17 add some info about the types/signatures in route middlewares
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-30 01:30:21 -07:00
5526397247 middlewares all now have the same signature
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-30 01:18:30 -07:00
7bf1aee60f now does logging and auth middleware 2020-09-30 00:48:56 -07:00
eaa2f2b929 initial 2020-09-29 23:35:07 -07:00