You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use the amazing golang.org/x/net/trace library. Howevever, my HTTP-serving binaries are using the Gorilla Mux for the request routing.
Unfortunately, the trace package doesn't expose the http.HandleFunc as a public interface, instead registering private methods in the package's init() function to the http.DeafultServerMux.
@dsymonds mentioned he already had this in his plans and asked for a ticket.
The text was updated successfully, but these errors were encountered:
This will make it easier to serve /debug/requests off a different path.
This is groundwork towards addressing golang/go#12195.
Change-Id: If29a4c329609df1d5b09a3a88b8bdf1f8b622e49
Reviewed-on: https://go-review.googlesource.com/13824
Reviewed-by: Dave Day <djd@golang.org>
mikioh
changed the title
x/net/trace registration is hard to use with third-party HTTP muxers
x/net/trace: registration is hard to use with third-party HTTP muxers
Aug 24, 2015
As discussed in
https://groups.google.com/forum/#!topic/golang-nuts/Hihyzgci1EU
@dsymonds mentioned he already had this in his plans and asked for a ticket.
The text was updated successfully, but these errors were encountered: