Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Addr the address for starting profiling server
Addr = ""
)
Functions ¶
func NewProfilingHandler ¶
NewProfilingHandler create a profiling handler
func StartProfilingServer ¶
func StartProfilingServer(errChan chan error)
StartProfilingServer listen to the pprofAddr and export the profiling results If the errChan is nil, this function will panic when the listening error occurred.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.