tailscale/tsweb
Patrick O'Doherty 30c9189ed3
tsweb: update ServeMux matching to 1.22.0 syntax (#11090)
* tsweb: update ServeMux matching to 1.22.0 syntax

Updates #cleanup

Go 1.22.0 introduced the ability to use more expressive routing patterns
that include HTTP method when constructing ServeMux entries.
Applications that attempted to use these patterns in combination with
the old `tsweb.Debugger` would experience a panic as Go would not permit
the use of matching rules with mixed level of specificity. We now
specify the method for each `/debug` handler to prevent
incompatibilities.

Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2024-02-13 09:56:00 -08:00
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 2023-05-06 09:53:09 -07:00
varz util/cmpx: delete now that we're using Go 1.22 2024-02-07 18:10:15 -08:00
debug_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
debug.go tsweb: update ServeMux matching to 1.22.0 syntax (#11090) 2024-02-13 09:56:00 -08:00
log.go tsweb: propagate RequestID via context and entire request 2023-11-30 15:00:29 -05:00
request_id.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
tsweb_test.go tsweb: normalize passkey identities in bucketed stats 2024-02-07 16:02:36 -08:00
tsweb.go util/cmpx: delete now that we're using Go 1.22 2024-02-07 18:10:15 -08:00