Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryBackoffEngine ¶
func NewBinaryBackoffEngine ¶
func NewBinaryBackoffEngine(rng *rand.Rand, min, max time.Duration) *BinaryBackoffEngine
func (*BinaryBackoffEngine) Advance ¶
func (bbe *BinaryBackoffEngine) Advance() time.Duration
func (*BinaryBackoffEngine) After ¶
func (bbe *BinaryBackoffEngine) After(fun func())
func (*BinaryBackoffEngine) Shrink ¶
func (bbe *BinaryBackoffEngine) Shrink(roundToZero time.Duration)
Click to show internal directories.
Click to hide internal directories.