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 PprofConfig ¶
PprofConfig holds pprof server configuration
func (*PprofConfig) SetDefaults ¶
func (p *PprofConfig) SetDefaults()
SetDefaults sets default values for PprofConfig
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a pprof server
func NewPprofServer ¶
func NewPprofServer(config PprofConfig) *Server
NewPprofServer creates a new pprof server from config
Click to show internal directories.
Click to hide internal directories.