Documentation ¶ Index ¶ func Assign(name string, handle task.Handle) func Bind(autoRun bool, options ...task.Option) func Exist(taskName string, value string) bool func Join(taskName string, duration time.Duration, value string) func Run() func Stop() func Timestamp(taskName string, value string) float64 type Delay Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Assign ¶ func Assign(name string, handle task.Handle) 分配失效任务 func Bind ¶ func Bind(autoRun bool, options ...task.Option) 绑定配置并运行 func Exist ¶ func Exist(taskName string, value string) bool func Join ¶ func Join(taskName string, duration time.Duration, value string) func Run ¶ func Run() 执行任务 func Stop ¶ func Stop() func Timestamp ¶ func Timestamp(taskName string, value string) float64 Types ¶ type Delay ¶ type Delay struct { // contains filtered or unexported fields } Source Files ¶ View all Source files delay.go Click to show internal directories. Click to hide internal directories.