]> Cypherpunks repositories - gostls13.git/commit
expvar: export http.Handler
authorAnders Pearson <anders@columbia.edu>
Sun, 3 Jul 2016 13:22:06 +0000 (14:22 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 25 Sep 2016 23:34:28 +0000 (23:34 +0000)
commit6ba5b32922c438a608a11561100a8a80abf0fd3a
treeabf273b1554e345aeee69133a6c597ad41b4dd83
parentf05cd4cde5f7023b1db23b7499cf9b1a6f3ffdec
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>
src/expvar/expvar.go