Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCategoryLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.