Versions in this module Expand all Collapse all v3 v3.80.13 Sep 25, 2024 v3.80.12 Sep 24, 2024 Changes in this version + var Fast = New(WithSlotDuration(fastSlot), WithCeiling(6)) + var Slow = New(WithSlotDuration(slowSlot), WithCeiling(6)) + func Delay(t Type, i int, opts ...delayOption) time.Duration + func New(opts ...option) logBackoff + func WithCeiling(ceiling uint) option + func WithFastBackoff(fast Backoff) delayOption + func WithJitterLimit(jitterLimit float64) option + func WithSeed(seed int64) option + func WithSlotDuration(slotDuration time.Duration) option + func WithSlowBackoff(slow Backoff) delayOption + type Backoff interface + Delay func(i int) time.Duration + type Type uint8 + const TypeAny + const TypeFast + const TypeNoBackoff + const TypeSlow + func (b Type) String() string