Documentation ¶
Overview ¶
Package prof encapsulates pprof with attached HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profiler ¶
type Profiler struct {
*httpserver.Server
}
func New ¶
func New(address entity.NetAddress) *Profiler
New creates Profiler instance listening on specified address and port. If empty address string used, empty Profiler (without initialization) is created. Such profiler is no-op.
Click to show internal directories.
Click to hide internal directories.