package
0.0.0-20201220022904-659df7684c38
Repository: https://github.com/tevjef/uct-backend.git
Documentation: pkg.go.dev

# Functions

DefaultBackoff always returns 0 seconds.
Do keeps trying the function until the second argument returns false, or no error is returned.
No description provided by the author
No description provided by the author
ExponentialJitterBackoff returns ever increasing backoffs by a power of 2 with +/- 0-33% to prevent sychronized reqests.
IsMaxRetries checks whether the error is due to hitting the maximum number of retries or not.

# Variables

MaxRetries is the maximum number of retries before bailing.

# Structs

No description provided by the author

# Type aliases

BackoffStrategy is used to determine how long a retry request should wait until attempted.
Func represents functions that can be retried.