Versions in this module Expand all Collapse all v1 v1.5.0 May 22, 2024 v1.4.0 Jan 29, 2024 Changes in this version + func CloseTimer(timer *time.Timer, drained *bool) + func NewTimer(duration time.Duration) (t *time.Timer, drained bool) + func ResetTimer(timer *time.Timer, duration time.Duration, drained *bool) + type BackoffFunc func(retry int) (sleep time.Duration) + func NewBackoffPolicy(mind, maxd time.Duration) BackoffFunc