Documentation ¶
Index ¶
- func ExpBackoff(min, max time.Duration, iteration int) time.Duration
- func Jitter10(d time.Duration) time.Duration
- func Jitter50(d time.Duration) time.Duration
- func JitterPercent(d time.Duration, jitterPercent int) time.Duration
- func JitterPercentPositive(d time.Duration, jitterPercent int) time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JitterPercent ¶
return jitter +/-jitterPercent
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.