Versions in this module Expand all Collapse all v4 v4.22.0 Oct 23, 2023 Changes in this version + func OptCloseChan(c <-chan struct{}) func(*Type) + func OptMaxExponentPeriod(period time.Duration) func(*Type) + func OptMaxUnthrottledRetries(n int64) func(*Type) + func OptThrottlePeriod(period time.Duration) func(*Type) + type Type struct + func New(options ...func(*Type)) *Type + func (t *Type) ExponentialRetry() bool + func (t *Type) ExponentialRetryWithContext(ctx context.Context) bool + func (t *Type) Reset() + func (t *Type) Retry() bool + func (t *Type) RetryWithContext(ctx context.Context) bool