Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor interface { Run() (err error) // AddRegTask 本地注册 AddRegTask(handler string, task FuncTask) // RegTask 服务器注册 RegTask() (err error) // GetTaskInstance 获取调度任务实例 GetTaskInstance() common.RunReq // RunTask 运行任务 RunTask(req common.RunReq) common.CallElement }
Executor 执行器
type ListTask ¶
type ListTask struct {
// contains filtered or unexported fields
}
ListTask 任务列表 [JobID]执行函数,并行执行时[+LogID]
Source Files ¶
Click to show internal directories.
Click to hide internal directories.