1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:26:11 -07:00
go/src/expvar
Anders Pearson 6ba5b32922 expvar: export http.Handler
Add a method to expose the handler to allow it to be installed at a
non-standard location or used with a different ServeMux.

fixes #15030

Change-Id: If778ad6fcc200f124a05c0a493511e364fca6078
Reviewed-on: https://go-review.googlesource.com/24722
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-09-25 23:34:28 +00:00
..
expvar_test.go expvar: Ensure strings are written as valid JSON. 2016-04-06 03:52:39 +00:00
expvar.go expvar: export http.Handler 2016-09-25 23:34:28 +00:00