Documentation ¶
Index ¶
- type ViewServiceImpl
- func (i *ViewServiceImpl) CreateMenu(ctx context.Context, in *view.CreateMenuRequest) (*view.Menu, error)
- func (i *ViewServiceImpl) CreatePage(ctx context.Context, in *view.CreatePageRequest) (*view.Page, error)
- func (i *ViewServiceImpl) DeleteMenu(ctx context.Context, in *view.DeleteMenuRequest) (*view.Menu, error)
- func (i *ViewServiceImpl) DeletePage(ctx context.Context, in *view.DeletePageRequest) (*view.Page, error)
- func (i *ViewServiceImpl) DescribeMenu(ctx context.Context, in *view.DescribeMenuRequest) (*view.Menu, error)
- func (i *ViewServiceImpl) DescribePage(ctx context.Context, in *view.DescribePageRequest) (*view.Page, error)
- func (i *ViewServiceImpl) Init() error
- func (i *ViewServiceImpl) Name() string
- func (i *ViewServiceImpl) QueryMenu(ctx context.Context, in *view.QueryMenuRequest) (*types.Set[*view.Menu], error)
- func (i *ViewServiceImpl) QueryPage(ctx context.Context, in *view.QueryPageRequest) (*types.Set[*view.Page], error)
- func (i *ViewServiceImpl) UpdateMenu(ctx context.Context, in *view.UpdateMenuRequest) (*view.Menu, error)
- func (i *ViewServiceImpl) UpdatePage(ctx context.Context, in *view.UpdatePageRequest) (*view.Page, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewServiceImpl ¶
type ViewServiceImpl struct {
ioc.ObjectImpl
}
func (*ViewServiceImpl) CreateMenu ¶
func (i *ViewServiceImpl) CreateMenu(ctx context.Context, in *view.CreateMenuRequest) (*view.Menu, error)
创建菜单
func (*ViewServiceImpl) CreatePage ¶
func (i *ViewServiceImpl) CreatePage(ctx context.Context, in *view.CreatePageRequest) (*view.Page, error)
添加页面
func (*ViewServiceImpl) DeleteMenu ¶
func (i *ViewServiceImpl) DeleteMenu(ctx context.Context, in *view.DeleteMenuRequest) (*view.Menu, error)
删除菜单
func (*ViewServiceImpl) DeletePage ¶
func (i *ViewServiceImpl) DeletePage(ctx context.Context, in *view.DeletePageRequest) (*view.Page, error)
移除页面
func (*ViewServiceImpl) DescribeMenu ¶
func (i *ViewServiceImpl) DescribeMenu(ctx context.Context, in *view.DescribeMenuRequest) (*view.Menu, error)
查询详情
func (*ViewServiceImpl) DescribePage ¶
func (i *ViewServiceImpl) DescribePage(ctx context.Context, in *view.DescribePageRequest) (*view.Page, error)
页面详情
func (*ViewServiceImpl) Init ¶
func (i *ViewServiceImpl) Init() error
func (*ViewServiceImpl) Name ¶
func (i *ViewServiceImpl) Name() string
func (*ViewServiceImpl) QueryMenu ¶
func (i *ViewServiceImpl) QueryMenu(ctx context.Context, in *view.QueryMenuRequest) (*types.Set[*view.Menu], error)
查询列表
func (*ViewServiceImpl) QueryPage ¶
func (i *ViewServiceImpl) QueryPage(ctx context.Context, in *view.QueryPageRequest) (*types.Set[*view.Page], error)
页面列表
func (*ViewServiceImpl) UpdateMenu ¶
func (i *ViewServiceImpl) UpdateMenu(ctx context.Context, in *view.UpdateMenuRequest) (*view.Menu, error)
更新菜单
func (*ViewServiceImpl) UpdatePage ¶
func (i *ViewServiceImpl) UpdatePage(ctx context.Context, in *view.UpdatePageRequest) (*view.Page, error)
更新页面
Click to show internal directories.
Click to hide internal directories.