Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PprofConfig ¶
type PprofConfig struct { // Enabled controls whether the pprof service is enabled. Enabled bool `json:"enabled"` // ListenAddress is the address to listen on. ListenAddress string `json:"listenAddress"` }
PprofConfig is the configuration for the pprof service.
func (*PprofConfig) NewService ¶
func (pc *PprofConfig) NewService(logger *zap.Logger) *Service
NewService creates a new pprof service.
Click to show internal directories.
Click to hide internal directories.