Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Server serves up the pprof web ui. A request to /<profiletype> generates a profile of the desired type and redirects to the UI for it at /<profiletype>/<id>. Valid profile types at the time of writing include `profile` (cpu), `goroutine`, `threadcreate`, `heap`, `block`, and `mutex`.
Click to show internal directories.
Click to hide internal directories.