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
David Crawshaw dea3ef0597 tsweb: make JSONHandlerFunc implement ReturnHandler, not http.Handler
This way something is capable of logging errors on the server.

Fixes #766

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
4 years ago
..
jsonhandler.go tsweb: make JSONHandlerFunc implement ReturnHandler, not http.Handler 4 years ago
jsonhandler_test.go tsweb: make JSONHandlerFunc implement ReturnHandler, not http.Handler 4 years ago
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 4 years ago
tsweb.go tsweb: add ReturnHandlerFunc. 4 years ago
tsweb_test.go tstest: rename from testy. 4 years ago