Documentation ¶
Index ¶
- type SystemServiceServer
- func (s *SystemServiceServer) APIAll(ctx context.Context, in *pb.Empty) (*pb.APIAllResponse, error)
- func (s *SystemServiceServer) APIDetail(ctx context.Context, in *pb.ApiID) (*pb.API, error)
- func (s *SystemServiceServer) APIPaging(ctx context.Context, in *pb.APIPagingRequest) (*pb.APIPagingResponse, error)
- func (s *SystemServiceServer) APITotal(ctx context.Context, in *pb.APIPagingRequest) (*pb.Total, error)
- func (s *SystemServiceServer) CasbinEnforcer(ctx context.Context, in *pb.CasbinEnforceRequest) (*pb.CasbinEnforceResponse, error)
- func (s *SystemServiceServer) CasbinPolicyByRoleID(ctx context.Context, in *pb.RoleID) (*pb.CasbinPolicyResponse, error)
- func (s *SystemServiceServer) CreateAPI(ctx context.Context, in *pb.CreateAPIRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) CreateMenu(ctx context.Context, in *pb.CreateMenuRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) CreateRole(ctx context.Context, in *pb.CreateRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) CreateUser_UserRole(ctx context.Context, in *pb.CreateUser_UserRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteAPIAndCasbin(ctx context.Context, in *pb.DeleteAPIAndCasbinRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteAPIMultipleAndCasbin(ctx context.Context, in *pb.DeleteAPIMultipleAndCasbinRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam(ctx context.Context, in *pb.MenuID) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteRole(ctx context.Context, in *pb.RoleID) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteSoftRole(ctx context.Context, in *pb.DeleteSoftRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteSoftUser(ctx context.Context, in *pb.DeleteSoftUserRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) DeleteUser(ctx context.Context, in *pb.UserID) (*pb.Empty, error)
- func (s *SystemServiceServer) Login(ctx context.Context, in *pb.LoginRequest) (*pb.LoginResponse, error)
- func (s *SystemServiceServer) MenuAll(ctx context.Context, in *pb.Empty) (*pb.MenuAllResponse, error)
- func (s *SystemServiceServer) MenuDetail(ctx context.Context, in *pb.MenuID) (*pb.Menu, error)
- func (s *SystemServiceServer) RefreshCasbinPolicy(ctx context.Context, in *pb.Empty) (*pb.Empty, error)
- func (s *SystemServiceServer) RoleAll(ctx context.Context, in *pb.Empty) (*pb.RoleAllResponse, error)
- func (s *SystemServiceServer) RoleDetail(ctx context.Context, in *pb.RoleID) (*pb.Role, error)
- func (s *SystemServiceServer) RoleMenuByRoleID(ctx context.Context, in *pb.RoleID) (*pb.RoleMenuResponse, error)
- func (s *SystemServiceServer) Test(ctx context.Context, in *pb.Empty) (*pb.Total, error)
- func (s *SystemServiceServer) UpdateAPI(ctx context.Context, in *pb.API) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateCasbinPolicy(ctx context.Context, in *pb.UpdateCasbinPolicyRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateMenu(ctx context.Context, in *pb.UpdateMenuRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateRole(ctx context.Context, in *pb.UpdateRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateRoleMenus(ctx context.Context, in *pb.UpdateRoleMenusRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUser(ctx context.Context, in *pb.UpdateUserRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUserCurrentRole(ctx context.Context, in *pb.UpdateUserCurrentRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUserMenuParams(ctx context.Context, in *pb.UpdateUserMenuParamsRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUserPageSet(ctx context.Context, in *pb.UpdateUserPageSetRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUserPassword(ctx context.Context, in *pb.UpdateUserPasswordRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UpdateUserRole(ctx context.Context, in *pb.UpdateUserRoleRequest) (*pb.Empty, error)
- func (s *SystemServiceServer) UserAllMenuParams(ctx context.Context, in *pb.Empty) (*pb.UserMenuParamsResponse, error)
- func (s *SystemServiceServer) UserDetail(ctx context.Context, in *pb.UserID) (*pb.User, error)
- func (s *SystemServiceServer) UserDetailByName(ctx context.Context, in *pb.UserName) (*pb.User, error)
- func (s *SystemServiceServer) UserMenuParamsByUserID(ctx context.Context, in *pb.UserID) (*pb.UserMenuParamsResponse, error)
- func (s *SystemServiceServer) UserPageSet(ctx context.Context, in *pb.UserID) (*pb.UserPageSetResponse, error)
- func (s *SystemServiceServer) UserPaging(ctx context.Context, in *pb.UserPagingRequest) (*pb.UserPagingResponse, error)
- func (s *SystemServiceServer) UserRoleByUserID(ctx context.Context, in *pb.UserID) (*pb.UserRoleResponse, error)
- func (s *SystemServiceServer) UserTotal(ctx context.Context, in *pb.Empty) (*pb.Total, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemServiceServer ¶
type SystemServiceServer struct { pb.UnimplementedSystemServiceServer // contains filtered or unexported fields }
func NewSystemServiceServer ¶
func NewSystemServiceServer(svcCtx *svc.ServiceContext) *SystemServiceServer
func (*SystemServiceServer) APIAll ¶
func (s *SystemServiceServer) APIAll(ctx context.Context, in *pb.Empty) (*pb.APIAllResponse, error)
func (*SystemServiceServer) APIPaging ¶
func (s *SystemServiceServer) APIPaging(ctx context.Context, in *pb.APIPagingRequest) (*pb.APIPagingResponse, error)
func (*SystemServiceServer) APITotal ¶
func (s *SystemServiceServer) APITotal(ctx context.Context, in *pb.APIPagingRequest) (*pb.Total, error)
func (*SystemServiceServer) CasbinEnforcer ¶
func (s *SystemServiceServer) CasbinEnforcer(ctx context.Context, in *pb.CasbinEnforceRequest) (*pb.CasbinEnforceResponse, error)
casbin_rule
func (*SystemServiceServer) CasbinPolicyByRoleID ¶
func (s *SystemServiceServer) CasbinPolicyByRoleID(ctx context.Context, in *pb.RoleID) (*pb.CasbinPolicyResponse, error)
func (*SystemServiceServer) CreateAPI ¶
func (s *SystemServiceServer) CreateAPI(ctx context.Context, in *pb.CreateAPIRequest) (*pb.Empty, error)
func (*SystemServiceServer) CreateMenu ¶
func (s *SystemServiceServer) CreateMenu(ctx context.Context, in *pb.CreateMenuRequest) (*pb.Empty, error)
func (*SystemServiceServer) CreateRole ¶
func (s *SystemServiceServer) CreateRole(ctx context.Context, in *pb.CreateRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) CreateUser_UserRole ¶
func (s *SystemServiceServer) CreateUser_UserRole(ctx context.Context, in *pb.CreateUser_UserRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) DeleteAPIAndCasbin ¶
func (s *SystemServiceServer) DeleteAPIAndCasbin(ctx context.Context, in *pb.DeleteAPIAndCasbinRequest) (*pb.Empty, error)
func (*SystemServiceServer) DeleteAPIMultipleAndCasbin ¶
func (s *SystemServiceServer) DeleteAPIMultipleAndCasbin(ctx context.Context, in *pb.DeleteAPIMultipleAndCasbinRequest) (*pb.Empty, error)
func (*SystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam ¶
func (*SystemServiceServer) DeleteRole ¶
func (*SystemServiceServer) DeleteSoftRole ¶
func (s *SystemServiceServer) DeleteSoftRole(ctx context.Context, in *pb.DeleteSoftRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) DeleteSoftUser ¶
func (s *SystemServiceServer) DeleteSoftUser(ctx context.Context, in *pb.DeleteSoftUserRequest) (*pb.Empty, error)
func (*SystemServiceServer) DeleteUser ¶
func (*SystemServiceServer) Login ¶
func (s *SystemServiceServer) Login(ctx context.Context, in *pb.LoginRequest) (*pb.LoginResponse, error)
func (*SystemServiceServer) MenuAll ¶
func (s *SystemServiceServer) MenuAll(ctx context.Context, in *pb.Empty) (*pb.MenuAllResponse, error)
func (*SystemServiceServer) MenuDetail ¶
func (*SystemServiceServer) RefreshCasbinPolicy ¶
func (*SystemServiceServer) RoleAll ¶
func (s *SystemServiceServer) RoleAll(ctx context.Context, in *pb.Empty) (*pb.RoleAllResponse, error)
func (*SystemServiceServer) RoleDetail ¶
func (*SystemServiceServer) RoleMenuByRoleID ¶
func (s *SystemServiceServer) RoleMenuByRoleID(ctx context.Context, in *pb.RoleID) (*pb.RoleMenuResponse, error)
func (*SystemServiceServer) UpdateCasbinPolicy ¶
func (s *SystemServiceServer) UpdateCasbinPolicy(ctx context.Context, in *pb.UpdateCasbinPolicyRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateMenu ¶
func (s *SystemServiceServer) UpdateMenu(ctx context.Context, in *pb.UpdateMenuRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateRole ¶
func (s *SystemServiceServer) UpdateRole(ctx context.Context, in *pb.UpdateRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateRoleMenus ¶
func (s *SystemServiceServer) UpdateRoleMenus(ctx context.Context, in *pb.UpdateRoleMenusRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUser ¶
func (s *SystemServiceServer) UpdateUser(ctx context.Context, in *pb.UpdateUserRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUserCurrentRole ¶
func (s *SystemServiceServer) UpdateUserCurrentRole(ctx context.Context, in *pb.UpdateUserCurrentRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUserMenuParams ¶
func (s *SystemServiceServer) UpdateUserMenuParams(ctx context.Context, in *pb.UpdateUserMenuParamsRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUserPageSet ¶
func (s *SystemServiceServer) UpdateUserPageSet(ctx context.Context, in *pb.UpdateUserPageSetRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUserPassword ¶
func (s *SystemServiceServer) UpdateUserPassword(ctx context.Context, in *pb.UpdateUserPasswordRequest) (*pb.Empty, error)
func (*SystemServiceServer) UpdateUserRole ¶
func (s *SystemServiceServer) UpdateUserRole(ctx context.Context, in *pb.UpdateUserRoleRequest) (*pb.Empty, error)
func (*SystemServiceServer) UserAllMenuParams ¶
func (s *SystemServiceServer) UserAllMenuParams(ctx context.Context, in *pb.Empty) (*pb.UserMenuParamsResponse, error)
func (*SystemServiceServer) UserDetail ¶
user
func (*SystemServiceServer) UserDetailByName ¶
func (*SystemServiceServer) UserMenuParamsByUserID ¶
func (s *SystemServiceServer) UserMenuParamsByUserID(ctx context.Context, in *pb.UserID) (*pb.UserMenuParamsResponse, error)
func (*SystemServiceServer) UserPageSet ¶
func (s *SystemServiceServer) UserPageSet(ctx context.Context, in *pb.UserID) (*pb.UserPageSetResponse, error)
func (*SystemServiceServer) UserPaging ¶
func (s *SystemServiceServer) UserPaging(ctx context.Context, in *pb.UserPagingRequest) (*pb.UserPagingResponse, error)
func (*SystemServiceServer) UserRoleByUserID ¶
func (s *SystemServiceServer) UserRoleByUserID(ctx context.Context, in *pb.UserID) (*pb.UserRoleResponse, error)
Click to show internal directories.
Click to hide internal directories.