Commit Graph

54 Commits

Author SHA1 Message Date
Jeffrey Paul 2cb70e2fe7 new image needs diff config
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2022-11-28 02:02:40 +01:00
Jeffrey Paul f6d2579b51 trying third image
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2022-11-28 02:00:45 +01:00
Jeffrey Paul 1390c2b97f try diff image
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2022-11-28 01:57:37 +01:00
Jeffrey Paul f13b3c80de try custom_dns in config file
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2022-11-28 01:49:34 +01:00
Jeffrey Paul 39aaf00a6f retry
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2022-11-28 01:34:05 +01:00
Jeffrey Paul b60ab8b2de test
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2022-11-28 01:28:51 +01:00
Jeffrey Paul b82a257df3 test new build ci image
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2022-11-28 01:27:58 +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 4e663d848a Merge branch 'static' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-29 13:53:23 +00:00
Jeffrey Paul 885a43709e install rice during docker build
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2020-10-29 06:44:47 -07:00
Jeffrey Paul 52ce35e8c3 simplify static file handler
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2020-10-28 17:51:57 -07: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 b07a0dd9d2 Merge branch 'add-fumpt' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-10 16:08:41 +00:00
Jeffrey Paul 339320dde9 update README
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-10 15:17:17 +00:00
Jeffrey Paul 3eec2b8d1d Merge branch 'add-fumpt' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-10 15:13:10 +00:00
Jeffrey Paul 2b428230b2 switch to gofumpt
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-10 15:08:37 +00:00
Jeffrey Paul 3da597f4ba Merge branch 'saturday' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-10 01:06:52 +00: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 f6d53a2a8b Merge branch 'fixdocker' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-10 00:55:02 +00: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 d9f4ba437f Merge branch 'saturday' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-04 19:07:10 +00:00
Jeffrey Paul a26c0b2b47 cleanups:
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
* 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
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 9230048097 Merge branch 'master' into saturday 2020-10-03 22:13:55 -07:00
Jeffrey Paul d6f9b6280f Merge branch 'addmetrics' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-04 05:13:37 +00:00
Jeffrey Paul 87e5398a02 Merge branch 'newrouter' into saturday 2020-10-03 22:13:16 -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 cd99564268 Merge branch 'newrouter' of sneak/gohttpserver into master, fixes #1
continuous-integration/drone/push Build is passing Details
2020-10-03 07:03:56 +00:00
Jeffrey Paul df2b0fb1ac format comments better
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2020-10-02 22:45:09 -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 9a68d795b2 Merge branch 'sneak/fixdocker' of sneak/gohttpserver into master
continuous-integration/drone/push Build is passing Details
2020-10-03 02:20:30 +00:00
Jeffrey Paul 6d9095b12d don't try to tag the image, just build it
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is passing Details
2020-10-01 00:48:30 -07:00
Jeffrey Paul 93f2bfef4d should work now
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2020-09-30 23:04:47 -07:00
Jeffrey Paul 8f3b972ca6 Merge branch 'master' into sneak/fixdocker
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2020-09-30 22:33:02 -07:00
Jeffrey Paul 9b839e9b97 fixes broken build. i'll go protect master now oops
continuous-integration/drone/push Build is passing Details
2020-09-30 22:25:33 -07:00
Jeffrey Paul db049e3b67 fixes
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2020-09-30 22:24:52 -07:00
Jeffrey Paul 49b2074341 try same OS for build/run images, per feedback
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
https://lobste.rs/s/dzaeid/go_http_server_project_template#c_vs0btd
2020-09-30 22:12:41 -07:00
Jeffrey Paul de9fae295d add sentry middleware doc link in comment
continuous-integration/drone/push Build is failing Details
2020-09-30 22:11:53 -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 ae232ea6ab update readme
continuous-integration/drone/push Build is passing Details
2020-09-30 05:09:52 -07:00
Jeffrey Paul 3827bfac88 update readme
continuous-integration/drone/push Build is passing Details
2020-09-30 05:09:05 -07:00
Jeffrey Paul 31afad1838 update readme
continuous-integration/drone/push Build is passing Details
2020-09-30 05:07:31 -07:00
Jeffrey Paul 80c2a9c39c update readme
continuous-integration/drone/push Build is passing Details
2020-09-30 01:39:19 -07:00
Jeffrey Paul d3e6e7fd32 rename misnamed file (handleadmin->handlelogin)
continuous-integration/drone/push Build is passing Details
2020-09-30 01:32:28 -07:00
Jeffrey Paul b1df41ef17 add some info about the types/signatures in route middlewares
continuous-integration/drone/push Build is passing Details
2020-09-30 01:30:21 -07:00