On Mon, Aug 28, 2017 at 08:31:11AM -0700, st ov wrote:

> How do you add pprof to a custom ServeMux?
> 
> https://golang.org/pkg/net/http/#ServeMux
> 
> Its my understanding that the following import only adds handlers to the 
> default mux.
> 
> import _ "net/http/pprof"

https://blog.cloudflare.com/exposing-go-on-the-internet/#servemux

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to