Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor represents a new monitor plugin for fiber.
func NewMonitorWithConfigPath ¶
NewMonitorWithConfigPath returns a new monitor plugin with options from config path.
func NewMonitorWithOptions ¶
NewMonitorWithOptions returns a new monitor plugin with options.
type Options ¶
type Options struct {
Enabled bool
}
Options monitor 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.
Click to show internal directories.
Click to hide internal directories.