Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ShutdownTimeoutDefault is a default value for profiler HTTP service timeout. ShutdownTimeoutDefault = 30 * time.Second // AddressDefault is a default value for profiler HTTP service endpoint. AddressDefault = "localhost:6060" )
Variables ¶
This section is empty.
Functions ¶
func Address ¶
Address returns the value of "address" config parameter from "pprof" section.
Returns AddressDefault if the value is not set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.