# Functions
NewBackoff creates a new Backoff configuration with default values (see constants).
NewErrCannotRetry wraps the given error into an ErrCannotRetry and should be used to break from a Retry() function when the retry should stop immediately.
Retry is a convenience wrapper to execute the retry with default values (see exported constants).
# Constants
DefaultMaxIterations contains the default value to use for number of iterations: infinite.
DefaultMaxIterationTime contains the default value to use for maximum iteration time.
DefaultMaxTotalTime contains the default value to use for maximum execution time: infinite.
DefaultMinIterationTime contains the default value to use for initial iteration time.
DefaultMultipler contains the default multiplier to apply to iteration time after each iteration.
# Structs
Backoff holds the configuration for backoff function retries.
No description provided by the author
# Type aliases
Retryable is a function which takes no parameters and yields an error when it should be retried and nil when it was successful.