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 fiber options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
type PProf ¶
type PProf struct {
// contains filtered or unexported fields
}
PProf represents a new pprof plugin for fiber.
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.