Versions in this module Expand all Collapse all v1 v1.0.1 Sep 7, 2022 v1.0.0 Sep 7, 2022 Changes in this version + type Backoff struct + func New(ctx context.Context, cfg BackoffConfig) *Backoff + func (b *Backoff) Err() error + func (b *Backoff) NextDelay() time.Duration + func (b *Backoff) NumRetries() int + func (b *Backoff) Ongoing() bool + func (b *Backoff) Reset() + func (b *Backoff) Wait() + type BackoffConfig struct + MaxBackoff time.Duration + MaxRetries int + MinBackoff time.Duration + func (cfg *BackoffConfig) RegisterFlags(prefix string, f *flag.FlagSet)