Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BodyDump ¶
type BodyDump struct {
// contains filtered or unexported fields
}
BodyDump represents bodydump plugin for echo server.
func NewBodyDump ¶
func NewBodyDump() *BodyDump
NewBodyDump returns a new bodydump plugin with default options.
func NewBodyDumpWithConfigPath ¶
NewBodyDumpWithConfigPath returns a new bodydump plugin with options from config path.
func NewBodyDumpWithOptions ¶
NewBodyDumpWithOptions returns a new bodydump plugin with options.
type Options ¶
type Options struct {
Enabled bool
}
Options bodydumb 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.