Jeffrey Paul
4e663d848a
Merge branch 'static' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
885a43709e
install rice during docker build
4 months ago
Jeffrey Paul
52ce35e8c3
simplify static file handler
4 months ago
Jeffrey Paul
7cc2628b05
now uses rice
4 months ago
Jeffrey Paul
48d663e53d
mod tidy
4 months ago
Jeffrey Paul
c19f9d0eb2
seems to embed files
4 months ago
Jeffrey Paul
b07a0dd9d2
Merge branch 'add-fumpt' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
339320dde9
update README
4 months ago
Jeffrey Paul
3eec2b8d1d
Merge branch 'add-fumpt' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
2b428230b2
switch to gofumpt
4 months ago
Jeffrey Paul
3da597f4ba
Merge branch 'saturday' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
5c39ea8c0f
Merge branch 'master' of git.eeqj.de:sneak/gohttpserver into saturday
4 months ago
Jeffrey Paul
f6d53a2a8b
Merge branch 'fixdocker' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
db919c1025
go mod tidy
4 months ago
Jeffrey Paul
a9887634ab
add simple json endpoint example
4 months ago
Jeffrey Paul
1d84fac678
clean up docker build
4 months ago
Jeffrey Paul
d9f4ba437f
Merge branch 'saturday' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
a26c0b2b47
cleanups:
* move metrics endpoint protection middleware to correct file
* move /metrics route to Chi route group
* update readme
4 months ago
Jeffrey Paul
687e9accf8
cleanups:
* 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
4 months ago
Jeffrey Paul
9230048097
Merge branch 'master' into saturday
4 months ago
Jeffrey Paul
d6f9b6280f
Merge branch 'addmetrics' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
87e5398a02
Merge branch 'newrouter' into saturday
4 months ago
Jeffrey Paul
2a45cb3a5b
now does integrated metrics! fixes #5 .
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
4 months ago
Jeffrey Paul
cd99564268
Merge branch 'newrouter' of sneak/gohttpserver into master, fixes #1
4 months ago
Jeffrey Paul
df2b0fb1ac
format comments better
4 months ago
Jeffrey Paul
d7e3fa7497
go mod tidy
4 months ago
Jeffrey Paul
9f3fb1e944
switched to chi, also:
* updated healthcheck a bit
* added maintenance mode config toggle
* added recovery handler
4 months ago
Jeffrey Paul
9a68d795b2
Merge branch 'sneak/fixdocker' of sneak/gohttpserver into master
4 months ago
Jeffrey Paul
6d9095b12d
don't try to tag the image, just build it
4 months ago
Jeffrey Paul
93f2bfef4d
should work now
5 months ago
Jeffrey Paul
8f3b972ca6
Merge branch 'master' into sneak/fixdocker
5 months ago
Jeffrey Paul
9b839e9b97
fixes broken build. i'll go protect master now oops
5 months ago
Jeffrey Paul
db049e3b67
fixes
5 months ago
Jeffrey Paul
49b2074341
try same OS for build/run images, per feedback
https://lobste.rs/s/dzaeid/go_http_server_project_template#c_vs0btd
5 months ago
Jeffrey Paul
de9fae295d
add sentry middleware doc link in comment
5 months ago
Jeffrey Paul
876f2d9a98
now supports remote error reporting to sentry, if desired
5 months ago
Jeffrey Paul
ae232ea6ab
update readme
5 months ago
Jeffrey Paul
3827bfac88
update readme
5 months ago
Jeffrey Paul
31afad1838
update readme
5 months ago
Jeffrey Paul
80c2a9c39c
update readme
5 months ago
Jeffrey Paul
d3e6e7fd32
rename misnamed file (handleadmin->handlelogin)
5 months ago
Jeffrey Paul
b1df41ef17
add some info about the types/signatures in route middlewares
5 months ago
Jeffrey Paul
d3c104685c
fixed gitignore which mistakenly omitted the cmd dir
5 months ago
Jeffrey Paul
5526397247
middlewares all now have the same signature
5 months ago
Jeffrey Paul
7bf1aee60f
now does logging and auth middleware
5 months ago
Jeffrey Paul
eaa2f2b929
initial
5 months ago