Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncWorker ¶
type FuncWorker struct { Func interface{} // 执行的函数 CallbackFunc interface{} // 回调函数 Name string Logger log.LoggerInterface }
func (*FuncWorker) After ¶ added in v2.4.0
func (f *FuncWorker) After(ctl *controller.TaskCtl, funcArgs []string, result *message.Result) error
func (*FuncWorker) Run ¶
func (f *FuncWorker) Run(ctl *controller.TaskCtl, funcArgs []string, result *message.Result) error
func (*FuncWorker) WorkerName ¶
func (f *FuncWorker) WorkerName() string
type WorkerInterface ¶
Click to show internal directories.
Click to hide internal directories.