Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecTaskReply ¶
type ExecTaskReplyFunc ¶
type ExecTaskReplyFunc func(*ExecTaskReply) error
type TaskFactory ¶
type TaskUseCase ¶
type TaskUseCase struct {
// contains filtered or unexported fields
}
func NewTaskUseCase ¶
func NewTaskUseCase(config *conf.Config, factory TaskFactory) *TaskUseCase
func (*TaskUseCase) CancelExecTask ¶
func (uc *TaskUseCase) CancelExecTask(uuid string)
func (*TaskUseCase) ExecTask ¶
func (uc *TaskUseCase) ExecTask(ctx kratosx.Context, task *Task, fn ExecTaskReplyFunc) error
Click to show internal directories.
Click to hide internal directories.