Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExponentialBackoff ¶
type ExponentialBackoff struct {
BaseDelay time.Duration
MaxDelay time.Duration
Multiplier float64
}
func NewExponentialBackoff ¶
func NewExponentialBackoff(base, max time.Duration) *ExponentialBackoff
type FixedBackoff ¶
func NewFixedBackoff ¶
func NewFixedBackoff(delay time.Duration) *FixedBackoff
type LinearBackoff ¶
func NewLinearBackoff ¶
func NewLinearBackoff(base, max time.Duration) *LinearBackoff
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
type RetryStrategy ¶
Click to show internal directories.
Click to hide internal directories.