Versions in this module Expand all Collapse all v1 v1.2.1 May 30, 2024 Changes in this version + type Backoff struct + func New(ctx context.Context, cfg Config) *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 Config struct + MaxBackoff time.Duration + MaxRetries int + MinBackoff time.Duration + func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)