Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Schedule ¶
type Schedule interface { Init() // 初始化定时任务 AddJob(jobId string, executorHandler string, spec string, remote string) // 动态添加定时任务 DelJob(jobId string) // 动态删除定时任务 ExistJob(jobId string) bool CallbackJob(element common2.CallElement) // 定时任务结果回调 GetJob(jobId string) *job }
var Sch Schedule
Sch 全局调度器
Click to show internal directories.
Click to hide internal directories.