Documentation ¶
Overview ¶
Package debug provides a handler which adds additional debug endpoints, including profiling and expvars.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Wrap ¶
Wrap returns a handler which adds the following URLs as special cases:
/debug/pprof/ -- an HTML index of pprof endpoints /debug/pprof/cmdline -- the running process's command line /debug/pprof/profile -- pprof profiling endpoint /debug/pprof/symbol -- pprof debugging symbols /debug/vars -- JSON-formatted expvars
Types ¶
This section is empty.
Notes ¶
Bugs ¶
Figure out how to test /debug/pprof/profile
Click to show internal directories.
Click to hide internal directories.