Expand description
backoff provides jittered backoff values (nanoseconds) for
operations that needs to do sleeps with jittered backoff
between retries. The implementation is based on
https://www.awsarchitectureblog.com/2015/03/backoff.html.
The API layout is inspired by Google’s gax/Backoff package for Go.
Structs§
- Backoff
Backoffprovides jittered backoff values (nanoseconds) for operations that needs to do sleeps with jittered backoff between retries.- Backoff
Builder BackoffBuilderbuilds an instance of Backoff with default values.