menu

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 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 CreateOrUpdateMenuLogic

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

func NewCreateOrUpdateMenuLogic

func NewCreateOrUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuLogic

func (*CreateOrUpdateMenuLogic) CreateOrUpdateMenu

func (l *CreateOrUpdateMenuLogic) CreateOrUpdateMenu(req *types.CreateOrUpdateMenuReq) (resp *types.SimpleMsg, 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.SimpleMsg, err error)

type GetMenuByRoleLogic

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

func NewGetMenuByRoleLogic

func NewGetMenuByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuByRoleLogic

func (*GetMenuByRoleLogic) GetMenuByRole

func (l *GetMenuByRoleLogic) GetMenuByRole() (resp []*types.GetMenuListBase, 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.MenuListResp, err error)

Jump to

Keyboard shortcuts

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