Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExponentialBackOff ¶
NewExponentialBackOff creates a new backoff interval with the specified timeout
func NewUnlimitedExponentialBackOff ¶
func NewUnlimitedExponentialBackOff() *backoff.ExponentialBackOff
NewUnlimitedExponentialBackOff returns a backoff interval without time restriction
func WithInterval ¶
WithInterval retries the specified operation fn using the specified backoff interval. classify specifies the error classifier that can create circuit-breakers for specific error conditions. classify should return backoff.PermanentError if the error should not be retried and returned directly. Returns nil on success or the last received error upon exhausting the interval.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.