Commit Graph

17 Commits

Author SHA1 Message Date
Jeffrey Paul 5fc22c36b0 getting closer
continuous-integration/drone/push Build is failing Details
2022-11-28 05:09:23 +01:00
Jeffrey Paul 75442d261d this is nowhere near working yet
continuous-integration/drone/push Build is failing Details
2022-11-28 04:59:20 +01:00
Jeffrey Paul 61228b4586 embed static files now (#14)
continuous-integration/drone/push Build is failing Details
Co-authored-by: sneak <sneak@sneak.berlin>
Reviewed-on: #14
2022-11-28 00:19:47 +00:00
Jeffrey Paul 7cc2628b05 now uses rice
continuous-integration/drone/push Build is failing Details
2020-10-28 17:47:37 -07:00
Jeffrey Paul 48d663e53d mod tidy 2020-10-28 16:46:53 -07:00
Jeffrey Paul c19f9d0eb2 seems to embed files
continuous-integration/drone/push Build is failing Details
2020-10-28 16:46:22 -07:00
Jeffrey Paul 5c39ea8c0f Merge branch 'master' of git.eeqj.de:sneak/gohttpserver into saturday
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-09 17:57:49 -07:00
Jeffrey Paul db919c1025 go mod tidy
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-05 06:46:13 -07:00
Jeffrey Paul a9887634ab add simple json endpoint example
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-05 06:15:32 -07:00
Jeffrey Paul 1d84fac678 clean up docker build
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-04 14:32:06 -07:00
Jeffrey Paul 687e9accf8 cleanups:
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
* 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
Jeffrey Paul 2a45cb3a5b now does integrated metrics! fixes #5.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
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
Jeffrey Paul d7e3fa7497 go mod tidy
continuous-integration/drone/push Build is passing Details
2020-10-02 22:42:12 -07:00
Jeffrey Paul 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
Jeffrey Paul 876f2d9a98 now supports remote error reporting to sentry, if desired
continuous-integration/drone/push Build is failing Details
2020-09-30 21:59:20 -07:00
Jeffrey Paul 7bf1aee60f now does logging and auth middleware 2020-09-30 00:48:56 -07:00
Jeffrey Paul eaa2f2b929 initial 2020-09-29 23:35:07 -07:00