//
pkg.gl
Category
github.com/mushiyu/vitess
go
timer
package
1.0.1
Repository:
https://github.com/mushiyu/vitess.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
9
Files
133 SLOC
#
Functions
NewRandTicker
NewRandTicker creates a new RandTicker.
NewTimer
NewTimer creates a new Timer object.
#
Structs
RandTicker
RandTicker is just like time.Ticker, except that it adds randomness to the events.
Timer
Timer provides timer functionality that can be controlled by the user.