Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2025 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) Other modules containing this package github.com/AnyGridTech/loki-go/v2