package
1.6.2
Repository: https://github.com/perpower/goframe.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.
DefaultOptions creates and returns a default options object for Timer creation.
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.
SetInterval runs the job every duration of `delay`.
SetTimeout runs the job once after duration of `delay`.

# Type aliases

JobFunc is the timing called job function in timer.
Timer is the timer manager, which uses ticks to calculate the timing interval.