Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
Options represents a retry plugin for resty client options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
type Retry ¶
type Retry struct {
// contains filtered or unexported fields
}
Retry represents a retry plugin for resty client.
func NewRetryWithConfigPath ¶
NewRetryWithConfigPath returns a new Retry with options from config path.
func NewRetryWithOptions ¶
NewRetryWithOptions returns a new Retry with options.
Click to show internal directories.
Click to hide internal directories.