Documentation ¶
Index ¶
- type Service
- func (m *Service) BatchCreateMenu(ctx context.Context, req *menuapi.BatchCreateMenuRequest) (*menuapi.BatchCreateMenuReply, error)
- func (m *Service) BatchUpdateDictStatus(ctx context.Context, req *menuapi.BatchUpdateMenuStatusRequest) (*menuapi.BatchUpdateMenuStatusReply, error)
- func (m *Service) BatchUpdateMenuType(ctx context.Context, req *menuapi.BatchUpdateMenuTypeRequest) (*menuapi.BatchUpdateMenuTypeReply, error)
- func (m *Service) DeleteMenu(ctx context.Context, req *menuapi.DeleteMenuRequest) (*menuapi.DeleteMenuReply, error)
- func (m *Service) GetMenu(ctx context.Context, req *menuapi.GetMenuRequest) (*menuapi.GetMenuReply, error)
- func (m *Service) MenuListPage(ctx context.Context, req *menuapi.ListMenuRequest) (*menuapi.ListMenuReply, error)
- func (m *Service) TreeMenu(ctx context.Context, req *menuapi.TreeMenuRequest) (*menuapi.TreeMenuReply, error)
- func (m *Service) UpdateMenu(ctx context.Context, req *menuapi.UpdateMenuRequest) (*menuapi.UpdateMenuReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { menuapi.UnimplementedMenuServer // contains filtered or unexported fields }
Service 菜单服务
func (*Service) BatchCreateMenu ¶
func (m *Service) BatchCreateMenu(ctx context.Context, req *menuapi.BatchCreateMenuRequest) (*menuapi.BatchCreateMenuReply, error)
BatchCreateMenu 批量创建菜单
func (*Service) BatchUpdateDictStatus ¶
func (m *Service) BatchUpdateDictStatus(ctx context.Context, req *menuapi.BatchUpdateMenuStatusRequest) (*menuapi.BatchUpdateMenuStatusReply, error)
BatchUpdateDictStatus 批量更新菜单状态
func (*Service) BatchUpdateMenuType ¶
func (m *Service) BatchUpdateMenuType(ctx context.Context, req *menuapi.BatchUpdateMenuTypeRequest) (*menuapi.BatchUpdateMenuTypeReply, error)
BatchUpdateMenuType 批量更新菜单类型
func (*Service) DeleteMenu ¶
func (m *Service) DeleteMenu(ctx context.Context, req *menuapi.DeleteMenuRequest) (*menuapi.DeleteMenuReply, error)
DeleteMenu 删除菜单
func (*Service) GetMenu ¶
func (m *Service) GetMenu(ctx context.Context, req *menuapi.GetMenuRequest) (*menuapi.GetMenuReply, error)
GetMenu 获取菜单
func (*Service) MenuListPage ¶
func (m *Service) MenuListPage(ctx context.Context, req *menuapi.ListMenuRequest) (*menuapi.ListMenuReply, error)
MenuListPage 菜单列表
func (*Service) TreeMenu ¶
func (m *Service) TreeMenu(ctx context.Context, req *menuapi.TreeMenuRequest) (*menuapi.TreeMenuReply, error)
TreeMenu 菜单树
func (*Service) UpdateMenu ¶
func (m *Service) UpdateMenu(ctx context.Context, req *menuapi.UpdateMenuRequest) (*menuapi.UpdateMenuReply, error)
UpdateMenu 更新菜单
Click to show internal directories.
Click to hide internal directories.