Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backoff ¶
Backoff returns the backoff duration for a specific retry attempt.
func NewExponentialWithJitter ¶
NewExponentialWithJitter returns a backoff implementation that exponentially increases the backoff duration for each retry from min, never exceeding max. Some randomization is added to the backoff duration. It panics if min >= max.
Click to show internal directories.
Click to hide internal directories.