package
2.0.4
Repository: https://github.com/cpusoft/beego.git
Documentation: pkg.go.dev

# Functions

AddTask add task with name.
ClearTask clear all tasks.
DeleteTask delete task with name.
GracefulShutdown wait all task done.
NewMapSorter create new tasker map.
NewTask add new task with name, time and func.
StartTask start all tasks.
StopTask stop all tasks.
TimeoutOption return a option to set timeout duration for task.

# Structs

MapSorter sort map for tasker.
Schedule time taks schedule.
Task task struct It's not a thread-safe structure.

# Interfaces

Option interface.
Tasker task interface.

# Type aliases

TaskFunc task func type.