Versions in this module Expand all Collapse all v0 v0.2.1 Dec 30, 2022 v0.2.0 Dec 29, 2022 v0.1.0 Dec 9, 2022 Changes in this version + type Backoff struct + LogLongerThan time.Duration + NewTimer func(time.Duration) *time.Timer + func NewBackoff(name string, logf func(string, ...any), maxBackoff time.Duration) *Backoff + func (b *Backoff) BackOff(ctx context.Context, err error)