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