package
1.1.10
Repository: https://github.com/lsclh/gtools.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Add adds a timing job to the default timer, which runs in interval of `interval`.
AddOnce is a convenience function for adding a job which only runs once and then exits.
DefaultOptions creates and returns a default options object for Timer creation.
New creates and returns a Timer.
SetInterval runs the job every duration of `delay`.
SetTimeout runs the job once after duration of `delay`.

# Constants

Job or Timer is closed and waiting to be deleted.
Job or Timer is ready for running.
Job or Timer is already running.
Job or Timer is stopped.

# Structs

Entry
Entry is the timing job.
Timer is the timer manager, which uses ticks to calculate the timing interval.
TimerOptions is the configuration object for Timer.

# Type aliases

JobFunc is the timing called job function in timer.