You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsweb
Brad Fitzpatrick 722942dd46 tsweb: restore CPU profiling handler
It was accidentally deleted in the earlier 0022c3d2e (#2143) refactor.
Lock it in with a test.

Fixes tailscale/corp#2503

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
debug.go tsweb: restore CPU profiling handler 3 years ago
debug_test.go tsweb: restore CPU profiling handler 3 years ago
jsonhandler.go tsweb: refactor JSONHandler to take status code from error if it is present (#905) 4 years ago
jsonhandler_test.go tsweb: refactor JSONHandler to take status code from error if it is present (#905) 4 years ago
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 4 years ago
tsweb.go fix: typo spelling grammar 3 years ago
tsweb_test.go tsweb: make VarzHandler support untyped expvar.Maps for compatibility 3 years ago