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