Versions in this module Expand all Collapse all v0 v0.0.2 Oct 27, 2022 v0.0.1 Oct 27, 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)