Documentation ¶
Index ¶
Constants ¶
View Source
const ( LongMaxWait = 40 * time.Minute MediumMaxWait = 10 * time.Minute ShortMaxWait = 2 * time.Minute )
View Source
const ( LongMaxInterval = 60 * time.Second ShortMaxInterval = 5 * time.Second )
View Source
const Stop = backoff.Stop
Variables ¶
This section is empty.
Functions ¶
func NewNotifier ¶
func Retry ¶
Retry retries the operation o until it does not return error or BackOff stops. See https://godoc.org/github.com/cenkalti/backoff#Retry for details.
Types ¶
type BackOff ¶
BackOff describes how a backoff has to be implemented. Also see https://godoc.org/github.com/cenkalti/backoff/v4#BackOff.
func NewConstant ¶
func NewExponential ¶
Click to show internal directories.
Click to hide internal directories.