tailscale/tsweb
David Anderson e1c1d47991 tsweb: memoize the string forms of HTTP response codes.
Saves 1-2 allocs per HTTP request after warmup, thanks to
avoiding strconv and fmt.

Signed-off-by: David Anderson <danderson@tailscale.com>
2022-05-13 14:25:17 -07:00
..
debug_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
debug.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
log.go tsweb: use a ResponseWriter wrapper to log more accurately. 2020-03-19 20:11:07 -07:00
tsweb_test.go tsweb: remove JSONHandlerFunc 2022-05-04 11:52:07 -07:00
tsweb.go tsweb: memoize the string forms of HTTP response codes. 2022-05-13 14:25:17 -07:00