Versions in this module Expand all Collapse all v2 v2.0.0 Jun 30, 2026 Changes in this version + const LongMaxInterval + const LongMaxWait + const MediumMaxWait + const ShortMaxInterval + const ShortMaxWait + const Stop + func NewNotifier(l micrologger.Logger, ctx context.Context) func(error, time.Duration) + func Permanent(err error) error + func Retry(o Operation, b BackOff) error + func RetryNotify(o Operation, b BackOff, n Notify) error + type BackOff interface + NextBackOff func() time.Duration + Reset func() + func NewConstant(maxWait, maxInterval time.Duration) BackOff + func NewExponential(maxWait, maxInterval time.Duration) BackOff + func NewMaxRetries(maxRetries uint64, maxInterval time.Duration) BackOff + func NewStop() BackOff + type Interface = BackOff + type Notify func(error, time.Duration) + type Operation func() error Other modules containing this package github.com/giantswarm/backoff