Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Enabled bool
}
Options pprof plugin for echo server options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
type PProf ¶
type PProf struct {
// contains filtered or unexported fields
}
PProf represents pprof plugin for echo server.
func NewPProfWithConfigPath ¶
NewPProfWithConfigPath returns a new pprof plugin with options from config path.
func NewPProfWithOptions ¶
NewPProfWithOptions returns a new pprof plugin with options.
Click to show internal directories.
Click to hide internal directories.