now does integrated metrics! fixes #5.
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
This commit is contained in:
sneak committed 2020-10-03 00:22:23 -07:00
1 parent df2b0fb1ac
commit 2a45cb3a5b
5 files changed
+100 -13

No files matched your search

+4 -6
View File
@@ -32,19 +32,17 @@ Alternately, even just feedback is great:
* TLS is terminated somewhere else, like on a sidecar or reverse proxy.
* logging: [rs/zerolog](https://github.com/rs/zerolog)
* configuration: [spf13/viper](https://github.com/spf13/viper)
* mux/router: [gorilla/mux](https://github.com/gorilla/mux)
* thinking about switching to
[go-chi/chi](https://github.com/go-chi/chi) which supports contexts
and HandlerFunc-wrapping middleware
* templating: TBD (suggestions welcome)
* mux/router: [go-chi/chi](https://github.com/go-chi/chi)
* prometheus-style metrics via [slok/go-http-metrics](https://github.com/slok/go-http-metrics)
* database: TBD (thinking about [go-gorm/gorm](https://github.com/go-gorm/gorm))
* templating: TBD (suggestions welcome)
# TODO
* Database Boilerplate
* Sessions Middleware
* sync.Once example for precompiling templates
* Bundling Static Assets Into Binary
* Metrics Endpoint / Request Statistic Aggregation
# Author