task

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 7 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(req *types.TaskInfo) (resp *types.BaseMsgResp, err 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(req *types.IDsReq) (resp *types.BaseMsgResp, err 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(req *types.IDReq) (resp *types.TaskInfoResp, err 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(req *types.TaskListReq) (resp *types.TaskListResp, err 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(req *types.TaskInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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