# Functions
NewConstant returns a new linear retry with constant interval.
NewFullJitter builds a new jitter on the range [0,d).
NewHalfJitter returns a new jitter on the range [d/2,d).
NewJitter builds a new default jitter (currently jitters on the range [d/2,d), but this is subject to change).
NewLinear returns a new instance of linear retry.
NewSeventhJitter builds a new jitter on the range [6d/7,d).
PermanentRetryError returns a new instance of a permanent retry error.
RetryFastFor retries a function repeatedly for a set amount of time before returning an error.
# Structs
Linear is used to calculate retry period that follows the following logic: On the first error there is no delay on the next error, delay is FastLinear on all other errors, delay is SlowLinear.
LinearConfig sets up retry configuration using arithmetic progression.
# Interfaces
Retry is an interface that provides retry logic.
# Type aliases
Jitter is a function which applies random jitter to a duration.