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>
2020-10-30 11:07:57 -07:00
..
jsonhandler_test.go tsweb: make JSONHandlerFunc implement ReturnHandler, not http.Handler 2020-09-17 09:07:32 -04:00
jsonhandler.go tsweb: when unwrapping HTTPError, record the user-facing message also in the log 2020-09-17 10:12:48 -04:00
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 2020-03-19 20:11:07 -07:00
tsweb_test.go tsweb: add StdHandlerOpts that accepts an options struct 2020-10-30 11:07:57 -07:00
tsweb.go tsweb: add StdHandlerOpts that accepts an options struct 2020-10-30 11:07:57 -07:00