summaryrefslogtreecommitdiffhomepage
path: root/tsweb
AgeCommit message (Expand)AuthorFilesLines
2022-08-02all: gofmt for Go 1.19Brad Fitzpatrick1-6/+6
2022-08-01tsweb: add HTTPError.Header (#5251)Joe Tsai1-4/+12
2022-08-01tsweb: mark AccessLogRecord fields as omitempty (#5250)Joe Tsai1-12/+12
2022-07-25all: use various net/netip parse funcs directlyBrad Fitzpatrick1-2/+2
2022-07-25net/netaddr: start migrating to net/netip via new netaddr adapter packageBrad Fitzpatrick1-1/+1
2022-07-11tsweb: add Float expvar support in varzDenton Gentry2-0/+34
2022-06-08tsweb: implement interceptor for error page presentationTom DNetto2-7/+40
2022-06-05tsweb: fix Port80Handler redirect to https with FQDN unsetBrad Fitzpatrick2-1/+43
2022-05-13tsweb: memoize the string forms of HTTP response codes.David Anderson1-3/+27
2022-05-13tsweb: support recording unabridged HTTP status codes as well.David Anderson1-1/+9
2022-05-04tsweb: remove JSONHandlerFuncBrad Fitzpatrick4-464/+53
2022-03-21tsweb: add PrometheusVar, for vars that want to output varz themselves.David Anderson2-0/+30
2022-03-18tsweb: add FQDN to Port80Handler to allow HTTPS redirectsMaisem Ali1-10/+12
2022-03-17all: use any instead of interface{}Josh Bleecher Snyder6-34/+34
2022-03-16all: use Go 1.18's strings.CutBrad Fitzpatrick2-16/+5
2022-02-09tsweb: fix JSONHandlerFunc regression where HTTP status was lost on gzipBrad Fitzpatrick2-0/+18
2022-02-07tsweb: add gzip support to JSONHandlerFuncBrad Fitzpatrick2-18/+151
2022-01-24envknob: add new package for all the strconv.ParseBool(os.Getenv(..))Brad Fitzpatrick1-2/+3
2021-10-12all: fix spelling mistakesnicksherron1-1/+1
2021-09-02tsweb: restore CPU profiling handlerBrad Fitzpatrick2-0/+25
2021-08-24fix: typo spelling grammarslowy071-1/+1
2021-08-23tsweb: add vars for unix process start time and versionBrad Fitzpatrick1-0/+3
2021-08-12tsweb: make VarzHandler support untyped expvar.Maps for compatibilityBrad Fitzpatrick2-14/+18
2021-08-12tsweb: make VarzHandler support expvar.Funcs returning ints/floatsBrad Fitzpatrick2-1/+12
2021-08-11tsweb: make VarzHandler capable of walking structs with reflectBrad Fitzpatrick2-79/+277
2021-08-10tsweb: also support LabelMaps from expvar.Map, without metricsBrad Fitzpatrick2-6/+44
2021-08-10tsweb: add VarzHandler testsBrad Fitzpatrick2-1/+108
2021-07-25tsweb: add float64 to logged metricsjulianknodt1-1/+1
2021-06-16tsweb: replace NewMux with a more flexible DebugHandler.David Anderson3-24/+325
2021-06-15tsweb: fold StdHandlerOpts and StdHandler200s with StdHandler.David Anderson2-23/+8
2021-06-15tsweb: register expvars once at startup.David Anderson1-2/+5
2021-02-01tsweb: add num_goroutines expvarJosh Bleecher Snyder1-0/+1
2021-01-26net/interfaces: remove IsTailscaleIP, make callers use tsaddr.David Anderson1-3/+7
2021-01-14tsweb: export VarzHandlerBrad Fitzpatrick1-3/+3
2020-12-08tsweb: add an endpoint to manually trigger a GC.David Anderson1-0/+10
2020-11-10tsweb: refactor JSONHandler to take status code from error if it is present (...chungdaniel2-23/+68
2020-10-30tsweb: add StatusCodeCounters to HandlerOptionsJosh Bleecher Snyder1-0/+9
2020-10-30tsweb: add StdHandlerOpts that accepts an options structJosh Bleecher Snyder2-17/+29
2020-09-17tsweb: when unwrapping HTTPError, record the user-facing message also in the logDavid Crawshaw3-3/+12
2020-09-17tsweb: make JSONHandlerFunc implement ReturnHandler, not http.HandlerDavid Crawshaw2-22/+31
2020-08-18tsweb: rewrite JSONHandler without using reflect (#684)halulu2-201/+119
2020-07-14tsweb: jsonhandler: fix content typeZijie Lu2-1/+5
2020-06-09tsweb: JSONHandler: supports HTTPErrorZijie Lu2-9/+29
2020-06-08tsweb: fix JSONHandler nil responseZijie Lu2-1/+24
2020-06-05tsweb: JSONHandler using reflect (#437)halulu2-0/+300
2020-04-28tstest: rename from testy.David Anderson1-2/+2
2020-04-22tsweb: add ReturnHandlerFunc.David Anderson1-0/+11
2020-04-05tsweb: add some BenchmarksBrad Fitzpatrick1-0/+32
2020-04-05tsweb: rename Handler to ReturnHandlerBrad Fitzpatrick2-40/+37
2020-04-05tsweb: fix tests.David Anderson1-1/+1