Documentation
¶
Overview ¶
Package pprof serves the net/http/pprof profiling endpoints.
Index ¶
Constants ¶
View Source
const DefaultPrefix = "/debug/pprof"
DefaultPrefix is the path the endpoints are served below when Config.Prefix is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configs ...Config) zinc.Middleware
New serves the standard pprof handlers below Config.Prefix. Protect or disable these endpoints in untrusted environments.
Types ¶
Click to show internal directories.
Click to hide internal directories.