tailscale/tsweb
Brad Fitzpatrick 3700cf9ea4 tsweb: also support LabelMaps from expvar.Map, without metrics
We want to use tsweb to format Prometheus-style metrics from
our temporary golang.org/x/net/http2 fork, but we don't want http2
to depend on the tailscale.com module to use the concrete type
tailscale.com/metrics.LabelMap. Instead, let a expvar.Map be used
instead of it's annotated sufficiently in its name.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-08-10 14:31:54 -07:00
..
debug_test.go tsweb: replace NewMux with a more flexible DebugHandler. 2021-06-16 19:00:47 -07:00
debug.go tsweb: replace NewMux with a more flexible DebugHandler. 2021-06-16 19:00:47 -07:00
jsonhandler_test.go tsweb: refactor JSONHandler to take status code from error if it is present (#905) 2020-11-10 09:52:26 -05:00
jsonhandler.go tsweb: refactor JSONHandler to take status code from error if it is present (#905) 2020-11-10 09:52:26 -05:00
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 2020-03-19 20:11:07 -07:00
tsweb_test.go tsweb: also support LabelMaps from expvar.Map, without metrics 2021-08-10 14:31:54 -07:00
tsweb.go tsweb: also support LabelMaps from expvar.Map, without metrics 2021-08-10 14:31:54 -07:00