//
pkg.gl
Category
github.com/fengleng/go-common
core
timer
package
0.0.4
Repository:
https://github.com/fengleng/go-common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
Files
129 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.