Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewPprofServer, )
ProviderSet is a Wire provider set for pprof
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config PprofConfig holds pprof server configuration
func (*Config) SetDefaults ¶
func (p *Config) SetDefaults()
SetDefaults sets default values for PprofConfig
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a pprof server
func NewPprofServer ¶
NewPprofServer creates a new pprof server from config
Click to show internal directories.
Click to hide internal directories.