Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExponentialBackoff ¶
type ExponentialBackoff struct {
// contains filtered or unexported fields
}
ExponentialBackoff ...
func (*ExponentialBackoff) LoopForever ¶
func (e *ExponentialBackoff) LoopForever(clb func() bool)
LoopForever execute the callback with exponential backoff The callback return true if we should continue retrying or false if we should stop and exit.
Click to show internal directories.
Click to hide internal directories.