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() common2.RunReq // RunTask 运行任务 RunTask(req common2.RunReq) common2.CallElement }
Executor 执行器
func GetExecutor ¶
func GetExecutor() Executor
type ListTask ¶
type ListTask struct {
// contains filtered or unexported fields
}
ListTask 任务列表 [JobID]执行函数,并行执行时[+LogID]
Click to show internal directories.
Click to hide internal directories.