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