package
0.0.0-20240912065615-60fd97213283
Repository: https://github.com/go-leo/gox.git
Documentation: pkg.go.dev
# Functions
Constant it waits for a fixed period of time between calls.
No description provided by the author
Exponential it waits for "delta * e^attempts" time between calls.
Exponential2 it waits for "delta * 2^attempts" time between calls.
Fibonacci it waits for "delta * fibonacci(attempt)" time between calls.
No description provided by the author
JitterUp adds random jitter to the interval.
Linear it waits for "delta * attempt" time between calls.
No description provided by the author
Zero it waits for zero time between calls.
# Type aliases
BackoffFunc denotes a family of functions that control the backoff duration between call retries.