Repository navigation
Releases
Releases · justinrixx/retryhttp
V1.1.1
1.1.0
When retries are exhausted, the error returned from the final attempt will be wrapped in a new sentinel: ErrRetriesExhausted. This can be checked using errors.Is(err, retryhttp.ErrRetriesExhausted).
Thanks to @ehinckes for the contribution!
v1.0.1
Change from using a global random source to instead use the top level functions provided by math/rand. This only affects code paths using DefaultDelayFn or CustomizedDelayFn. Note that this package does not seed the top level random source, so it is left up to this package's consumer if that is desired.