task

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTaskLogic

type CreateTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateTaskLogic

func NewCreateTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTaskLogic

func (*CreateTaskLogic) CreateTask

func (l *CreateTaskLogic) CreateTask(in *job.TaskInfo) (*job.BaseIDResp, error)

type DeleteTaskLogic

type DeleteTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteTaskLogic

func NewDeleteTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTaskLogic

func (*DeleteTaskLogic) DeleteTask

func (l *DeleteTaskLogic) DeleteTask(in *job.IDsReq) (*job.BaseResp, error)

type GetTaskByIdLogic

type GetTaskByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTaskByIdLogic

func NewGetTaskByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTaskByIdLogic

func (*GetTaskByIdLogic) GetTaskById

func (l *GetTaskByIdLogic) GetTaskById(in *job.IDReq) (*job.TaskInfo, error)

type GetTaskListLogic

type GetTaskListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTaskListLogic

func NewGetTaskListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTaskListLogic

func (*GetTaskListLogic) GetTaskList

func (l *GetTaskListLogic) GetTaskList(in *job.TaskListReq) (*job.TaskListResp, error)

type UpdateTaskLogic

type UpdateTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateTaskLogic

func NewUpdateTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTaskLogic

func (*UpdateTaskLogic) UpdateTask

func (l *UpdateTaskLogic) UpdateTask(in *job.TaskInfo) (*job.BaseResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL