Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gzip ¶
type Gzip struct {
// contains filtered or unexported fields
}
Gzip represents gzip plugin for echo server.
func NewGzipWithConfigPath ¶
NewGzipWithConfigPath returns a new gzip plugin with options from config path.
func NewGzipWithOptions ¶
NewGzipWithOptions returns a new gzip plugin with options.
type Options ¶
type Options struct {
Enabled bool
}
Options gzip plugin for echo server 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.