Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FlexTickerHandle ¶
Ticker handle for caller
func NewExpTicker ¶
func NewExpTicker(minTime, maxTime, noise time.Duration) FlexTickerHandle
func NewRangeTicker ¶
func NewRangeTicker(minTime time.Duration, maxTime time.Duration) FlexTickerHandle
func (FlexTickerHandle) StopTicker ¶
func (f FlexTickerHandle) StopTicker()
func (FlexTickerHandle) TickNow ¶
func (f FlexTickerHandle) TickNow()
Insert a tick now in addition to running timers
func (FlexTickerHandle) UpdateExpTicker ¶
func (f FlexTickerHandle) UpdateExpTicker(minTime, maxTime, noise time.Duration)
func (FlexTickerHandle) UpdateRangeTicker ¶
func (f FlexTickerHandle) UpdateRangeTicker(minTime time.Duration, maxTime time.Duration)
Click to show internal directories.
Click to hide internal directories.