Documentation ¶
Index ¶
Constants ¶
View Source
const BasePath = "/debug/pprof"
BasePath is the base path to match for all pprof requests.
Variables ¶
This section is empty.
Functions ¶
func NewMux ¶
NewMux returns a new http.ServeMux that routes pprof requests. It pretty much copies what the std lib pprof does on init: https://golang.org/src/net/http/pprof/pprof.go#L67
Types ¶
Click to show internal directories.
Click to hide internal directories.