Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BodyLimit ¶
type BodyLimit struct {
// contains filtered or unexported fields
}
BodyLimit represents bodylimit plugin for echo server.
func NewBodyLimit ¶
func NewBodyLimit() *BodyLimit
NewBodyLimit returns a new bodylimit plugin with default options.
func NewBodyLimitWithConfigPath ¶
NewBodyLimitWithConfigPath returns a new bodylimit plugin with options from config path.
func NewBodyLimitWithOptions ¶
NewBodyLimitWithOptions returns a new bodylimit plugin with options.
type Options ¶
Options bodylimit 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.
Click to show internal directories.
Click to hide internal directories.