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
Josh Bleecher Snyder e98f2c57d6 tsweb: add StdHandlerOpts that accepts an options struct
I'm about to add yet another StdHandler option.
Time to refactor.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
4 years ago
..
jsonhandler.go tsweb: when unwrapping HTTPError, record the user-facing message also in the log 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 StdHandlerOpts that accepts an options struct 4 years ago
tsweb_test.go tsweb: add StdHandlerOpts that accepts an options struct 4 years ago