Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
Task is task adaptor for github.com/RichardKnop/machinery
func (*Task) AddTask ¶
func (t *Task) AddTask(param *task.Param, onSuccess []*task.Param, onError []*task.Param, callbacks ...task.CallbackFunc) error
AddTask - add new task
func (*Task) StartAndGC ¶
StartAndGC start task adapter.
Click to show internal directories.
Click to hide internal directories.