Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
Strategy defines how to calculate backoff time
func NewStrategy ¶
func NewStrategy(initialDelay, maxDelay time.Duration, factor float64, backoffThreshold uint64) *Strategy
NewStrategy returns a backoff calculation strategy
Click to show internal directories.
Click to hide internal directories.