package
1.13.6
Repository: https://github.com/csrgxtu/gf.git
Documentation: pkg.go.dev

# Functions

Add adds a timing job to the default timer, which runs in interval of <interval>.
AddEntry adds a timing job to the default timer with detailed parameters.
AddOnce is a convenience function for adding a job which only runs once and then exits.
AddSingleton is a convenience function for add singleton mode job.
AddTimes is a convenience function for adding a job which is limited running times.
DelayAdd adds a timing job after delay of <interval> duration.
DelayAddEntry adds a timing job after delay of <interval> duration.
DelayAddOnce adds a timing job after delay of <interval> duration.
DelayAddSingleton adds a timing job after delay of <interval> duration.
DelayAddTimes adds a timing job after delay of <interval> duration.
Exit is used in timing job internally, which exits and marks it closed from timer.
New creates and returns a Hierarchical Timing Wheel designed timer.
SetInterval runs the job every duration of <delay>.
SetTimeout runs the job once after duration of <delay>.

# Constants

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

# Structs

Entry
Entry is the timing job entry to wheel.
Timer is a Hierarchical Timing Wheel manager for timing jobs.

# Type aliases

JobFunc is the job function.