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 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 Recover ¶
type Recover struct {
// contains filtered or unexported fields
}
Recover represents recover plugin for echo server.
func NewRecover ¶
func NewRecover() *Recover
NewRecover returns a new recover plugin with default options.
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.