Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2023 Changes in this version + var Clock = clock + type BackoffHandler struct + BaseTime time.Duration + MaxRetries uint + RetryForever bool + func (b *BackoffHandler) Backoff(ctx context.Context) bool + func (b *BackoffHandler) BackoffTimer() <-chan time.Time + func (b *BackoffHandler) ReachedMaxRetries() bool + func (b *BackoffHandler) ResetNow() + func (b *BackoffHandler) Retries() int + func (b *BackoffHandler) SetGracePeriod() time.Duration + func (b BackoffHandler) GetBaseTime() time.Duration + func (b BackoffHandler) GetMaxBackoffDuration(ctx context.Context) (time.Duration, bool)