menu

package
v0.3.2-beta Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 CreateMenuLogic added in v0.2.4

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

func NewCreateMenuLogic added in v0.2.4

func NewCreateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateMenuLogic

func (*CreateMenuLogic) CreateMenu added in v0.2.4

func (l *CreateMenuLogic) CreateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error)

type DeleteMenuLogic

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

func NewDeleteMenuLogic

func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic

func (*DeleteMenuLogic) DeleteMenu

func (l *DeleteMenuLogic) DeleteMenu(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetMenuByIdLogic added in v0.2.4

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

func NewGetMenuByIdLogic added in v0.2.4

func NewGetMenuByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuByIdLogic

func (*GetMenuByIdLogic) GetMenuById added in v0.2.4

func (l *GetMenuByIdLogic) GetMenuById(req *types.IDReq) (resp *types.MenuInfoResp, err error)

type GetMenuListByRoleLogic added in v0.2.4

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

func NewGetMenuListByRoleLogic added in v0.2.4

func NewGetMenuListByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListByRoleLogic

func (*GetMenuListByRoleLogic) GetMenuListByRole added in v0.2.4

func (l *GetMenuListByRoleLogic) GetMenuListByRole() (resp *types.MenuListResp, err error)

type GetMenuListLogic

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

func NewGetMenuListLogic

func NewGetMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListLogic

func (*GetMenuListLogic) GetMenuList

func (l *GetMenuListLogic) GetMenuList() (resp *types.MenuPlainInfoListResp, err error)

type UpdateMenuLogic added in v0.2.4

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

func NewUpdateMenuLogic added in v0.2.4

func NewUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuLogic

func (*UpdateMenuLogic) UpdateMenu added in v0.2.4

func (l *UpdateMenuLogic) UpdateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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