Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProfiler = &Config{ Router: func(context.Context, *config.Node) (*mux.Router, error) { return nil, errors.New("not implemented") }, }
DefaultProfiler the default instance of a performance profiling server
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Router will be called to add the pprof API handler to an existing router. Router https.RouterFunc }
Config holds fields for the pprof listener
Click to show internal directories.
Click to hide internal directories.