Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackoffAlgorithm ¶
type Exponential ¶
type Exponential struct {
// contains filtered or unexported fields
}
func NewExponential ¶
func NewExponential(start, max time.Duration, mult float64) *Exponential
func (*Exponential) Continue ¶
func (exp *Exponential) Continue() bool
Click to show internal directories.
Click to hide internal directories.