package
2.1.1+incompatible
Repository: https://github.com/luyingjie/utils.git
Documentation: pkg.go.dev
# Functions
Add adds a timed task to default cron object.
AddOnce adds a timed task which can be run only once, to default cron object.
AddSingleton adds a singleton timed task, to default cron object.
AddTimes adds a timed task which can be run specified times, to default cron object.
DelayAdd adds a timed task to default cron object after <delay> time.
DelayAddOnce adds a timed task after <delay> time to default cron object.
DelayAddSingleton adds a singleton timed task after <delay> time to default cron object.
DelayAddTimes adds a timed task after <delay> time to default cron object.
Entries return all timed tasks as slice.
GetLogLevel returns the logging level for default cron object.
GetLogPath returns the logging folder path of default cron object.
New returns a new Cron object with default settings.
Remove deletes scheduled task which named <name>.
Search returns a scheduled task with the specified <name>.
SetLogLevel sets the logging level for default cron object.
SetLogPath sets the logging folder path for default cron object.
Size returns the size of the timed tasks of default cron.
Start starts running the specified timed task named <name>.
Stop stops running the specified timed task named <name>.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author