Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Enabled bool
}
Options represents the requestID plugin for resty client 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.
type RequestID ¶
type RequestID struct {
// contains filtered or unexported fields
}
RequestID represents a requestID plugin for resty client.
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.