server

package
v0.0.0-...-6d7266f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PermissionRpcServer

type PermissionRpcServer struct {
	permissionrpc.UnimplementedPermissionRpcServer
	// contains filtered or unexported fields
}

func NewPermissionRpcServer

func NewPermissionRpcServer(svcCtx *svc.ServiceContext) *PermissionRpcServer

func (*PermissionRpcServer) AddApi

创建接口

func (*PermissionRpcServer) AddMenu

创建菜单

func (*PermissionRpcServer) AddRole

创建角色

func (*PermissionRpcServer) CleanApiList

清空接口列表

func (*PermissionRpcServer) CleanMenuList

清空菜单列表

func (*PermissionRpcServer) DeleteApi

删除接口

func (*PermissionRpcServer) DeleteMenu

删除菜单

func (*PermissionRpcServer) DeleteRole

删除角色

func (*PermissionRpcServer) FindApiList

查询接口列表

func (*PermissionRpcServer) FindMenuList

查询菜单列表

func (*PermissionRpcServer) FindRoleList

查询角色列表

func (*PermissionRpcServer) FindRoleResources

查询角色资源权限

func (*PermissionRpcServer) FindUserApis

获取用户接口权限

func (*PermissionRpcServer) FindUserMenus

获取用户菜单权限

func (*PermissionRpcServer) FindUserRoles

获取用户角色信息

func (*PermissionRpcServer) SyncApiList

同步接口列表

func (*PermissionRpcServer) SyncMenuList

同步菜单列表

func (*PermissionRpcServer) UpdateApi

更新接口

func (*PermissionRpcServer) UpdateMenu

更新菜单

func (*PermissionRpcServer) UpdateRole

更新角色

func (*PermissionRpcServer) UpdateRoleApis

更新角色资源

func (*PermissionRpcServer) UpdateRoleMenus

更新角色菜单

func (*PermissionRpcServer) UpdateUserRole

修改用户角色

Jump to

Keyboard shortcuts

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