category

package
v0.0.0-...-d93c0f1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCategoryLogic

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

func NewCreateCategoryLogic

func NewCreateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCategoryLogic

func (*CreateCategoryLogic) CreateCategory

func (l *CreateCategoryLogic) CreateCategory(req *types.CategoryCreateReq) (resp *types.BaseMsgResp, err error)

type DeleteCategoryLogic

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

func NewDeleteCategoryLogic

func NewDeleteCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCategoryLogic

func (*DeleteCategoryLogic) DeleteCategory

func (l *DeleteCategoryLogic) DeleteCategory(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetCategoryByIdLogic

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

func NewGetCategoryByIdLogic

func NewGetCategoryByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoryByIdLogic

func (*GetCategoryByIdLogic) GetCategoryById

func (l *GetCategoryByIdLogic) GetCategoryById(req *types.IDAtPathReq) (resp *types.CategoryResp, err error)

type GetCategoryListLogic

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

func NewGetCategoryListLogic

func NewGetCategoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoryListLogic

func (*GetCategoryListLogic) GetCategoryList

func (l *GetCategoryListLogic) GetCategoryList(req *types.CategoryListReq) (resp *types.CategoryListResp, err error)

type UpdateCategoryLogic

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

func NewUpdateCategoryLogic

func NewUpdateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCategoryLogic

func (*UpdateCategoryLogic) UpdateCategory

func (l *UpdateCategoryLogic) UpdateCategory(req *types.CategoryUpdateReq) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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