Documentation ¶
Overview ¶
Battle-tested algorithm for retrying with timeout and exponential backoff
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBackoff ¶
0ms, 100 ms, 200 ms, 400 ms, 800 ms, 1000 ms, 1000 ms, ...
func ErrorsToLogger ¶
creates `Retry()` compatible error handler function that just pushes errors to a logger
func IgnoreErrorsWithin ¶
creates `Retry()` compatible error handler that only starts reacting to errors after a specific initial duration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.