Documentation
¶
Index ¶
- type Service
- func (s *Service) AddDepartment(ctx context.Context, in *v1.AddDepartmentRequest) (*emptypb.Empty, error)
- func (s *Service) AddDict(ctx context.Context, in *v1.AddDictRequest) (*emptypb.Empty, error)
- func (s *Service) AddDictValue(ctx context.Context, in *v1.AddDictValueRequest) (*emptypb.Empty, error)
- func (s *Service) AddJob(ctx context.Context, in *v1.AddJobRequest) (*emptypb.Empty, error)
- func (s *Service) AddMenu(ctx context.Context, in *v1.AddMenuRequest) (*emptypb.Empty, error)
- func (s *Service) AddRole(ctx context.Context, in *v1.AddRoleRequest) (*emptypb.Empty, error)
- func (s *Service) AddUser(ctx context.Context, in *v1.AddUserRequest) (*emptypb.Empty, error)
- func (s *Service) Auth(ctx context.Context, in *v1.AuthRequest) (*emptypb.Empty, error)
- func (s *Service) ChangeUserPassword(ctx context.Context, in *v1.ChangeUserPasswordRequest) (*emptypb.Empty, error)
- func (s *Service) ChangeUserPasswordCaptcha(ctx context.Context, in *emptypb.Empty) (*v1.ChangeUserPasswordCaptchaReply, error)
- func (s *Service) CurrentRoleMenuTree(ctx context.Context, in *emptypb.Empty) (*v1.CurrentRoleMenuTreeReply, error)
- func (s *Service) CurrentUser(ctx context.Context, in *emptypb.Empty) (*v1.GetUserReply, error)
- func (s *Service) CurrentUserRoles(ctx context.Context, in *emptypb.Empty) (*v1.GetUserRolesReply, error)
- func (s *Service) DeleteDepartment(ctx context.Context, in *v1.DeleteDepartmentRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteDict(ctx context.Context, in *v1.DeleteDictRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteDictValue(ctx context.Context, in *v1.DeleteDictValueRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteJob(ctx context.Context, in *v1.DeleteJobRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteMenu(ctx context.Context, in *v1.DeleteMenuRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteRole(ctx context.Context, in *v1.DeleteRoleRequest) (*emptypb.Empty, error)
- func (s *Service) DeleteUser(ctx context.Context, in *v1.DeleteUserRequest) (*emptypb.Empty, error)
- func (s *Service) DisableUser(ctx context.Context, in *v1.DisableUserRequest) (*emptypb.Empty, error)
- func (s *Service) EnableUser(ctx context.Context, in *v1.EnableUserRequest) (*emptypb.Empty, error)
- func (s *Service) GetDepartment(ctx context.Context, in *v1.GetDepartmentRequest) (*v1.GetDepartmentReply, error)
- func (s *Service) GetDepartmentTree(ctx context.Context, in *emptypb.Empty) (*v1.GetDepartmentTreeReply, error)
- func (s *Service) GetJob(ctx context.Context, in *v1.GetJobRequest) (*v1.GetJobReply, error)
- func (s *Service) GetMenuTree(ctx context.Context, in *emptypb.Empty) (*v1.GetMenuTreeReply, error)
- func (s *Service) GetRole(ctx context.Context, in *v1.GetRoleRequest) (*v1.GetRoleReply, error)
- func (s *Service) GetRoleMenuIds(ctx context.Context, in *v1.GetRoleMenuIdsRequest) (*v1.GetRoleMenuIdsReply, error)
- func (s *Service) GetRoleTree(ctx context.Context, in *emptypb.Empty) (*v1.GetRoleTreeReply, error)
- func (s *Service) GetSetting(ctx context.Context, in *emptypb.Empty) (*v1.GetSettingReply, error)
- func (s *Service) GetUser(ctx context.Context, in *v1.GetUserRequest) (*v1.GetUserReply, error)
- func (s *Service) GetUserJob(ctx context.Context, in *v1.GetUserJobRequest) (*v1.GetUserJobReply, error)
- func (s *Service) GetUserRoles(ctx context.Context, in *v1.GetUserRolesRequest) (*v1.GetUserRolesReply, error)
- func (s *Service) Login(ctx context.Context, in *v1.LoginRequest) (*v1.LoginReply, error)
- func (s *Service) LoginCaptcha(ctx context.Context, in *emptypb.Empty) (*v1.LoginCaptchaReply, error)
- func (s *Service) Logout(ctx context.Context, in *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) OfflineUser(ctx context.Context, in *v1.OfflineUserRequest) (*emptypb.Empty, error)
- func (s *Service) PageDict(ctx context.Context, in *v1.PageDictRequest) (*v1.PageDictReply, error)
- func (s *Service) PageDictValue(ctx context.Context, in *v1.PageDictValueRequest) (*v1.PageDictValueReply, error)
- func (s *Service) PageJob(ctx context.Context, in *v1.PageJobRequest) (*v1.PageJobReply, error)
- func (s *Service) PageUser(ctx context.Context, in *v1.PageUserRequest) (*v1.PageUserReply, error)
- func (s *Service) ParseToken(ctx context.Context, in *emptypb.Empty) (*v1.ParseTokenReply, error)
- func (s *Service) RefreshToken(ctx context.Context, in *emptypb.Empty) (*v1.RefreshTokenReply, error)
- func (s *Service) ResetUserPassword(ctx context.Context, in *v1.ResetUserPasswordRequest) (*emptypb.Empty, error)
- func (s *Service) SwitchCurrentUserRole(ctx context.Context, in *v1.SwitchCurrentUserRoleRequest) (*v1.SwitchCurrentUserRoleReply, error)
- func (s *Service) UpdateDepartment(ctx context.Context, in *v1.UpdateDepartmentRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateDict(ctx context.Context, in *v1.UpdateDictRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateDictValue(ctx context.Context, in *v1.UpdateDictValueRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateJob(ctx context.Context, in *v1.UpdateJobRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateMenu(ctx context.Context, in *v1.UpdateMenuRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateRole(ctx context.Context, in *v1.UpdateRoleRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateRoleMenus(ctx context.Context, in *v1.UpdateRoleMenuRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateUser(ctx context.Context, in *v1.UpdateUserRequest) (*emptypb.Empty, error)
- func (s *Service) UpdateUserBasic(ctx context.Context, in *v1.UpdateUserBasicRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
v1.UnimplementedServiceServer
// contains filtered or unexported fields
}
func (*Service) AddDepartment ¶
func (*Service) AddDictValue ¶
func (*Service) ChangeUserPassword ¶
func (*Service) ChangeUserPasswordCaptcha ¶
func (*Service) CurrentRoleMenuTree ¶
func (*Service) CurrentUser ¶
func (*Service) CurrentUserRoles ¶
func (*Service) DeleteDepartment ¶
func (*Service) DeleteDict ¶
func (*Service) DeleteDictValue ¶
func (*Service) DeleteMenu ¶
func (*Service) DeleteRole ¶
func (*Service) DeleteUser ¶
func (*Service) DisableUser ¶
func (*Service) EnableUser ¶
func (*Service) GetDepartment ¶
func (s *Service) GetDepartment(ctx context.Context, in *v1.GetDepartmentRequest) (*v1.GetDepartmentReply, error)
func (*Service) GetDepartmentTree ¶
func (*Service) GetJob ¶
func (s *Service) GetJob(ctx context.Context, in *v1.GetJobRequest) (*v1.GetJobReply, error)
func (*Service) GetMenuTree ¶
func (*Service) GetRole ¶
func (s *Service) GetRole(ctx context.Context, in *v1.GetRoleRequest) (*v1.GetRoleReply, error)
func (*Service) GetRoleMenuIds ¶
func (s *Service) GetRoleMenuIds(ctx context.Context, in *v1.GetRoleMenuIdsRequest) (*v1.GetRoleMenuIdsReply, error)
func (*Service) GetRoleTree ¶
func (*Service) GetSetting ¶
func (*Service) GetUser ¶
func (s *Service) GetUser(ctx context.Context, in *v1.GetUserRequest) (*v1.GetUserReply, error)
func (*Service) GetUserJob ¶
func (s *Service) GetUserJob(ctx context.Context, in *v1.GetUserJobRequest) (*v1.GetUserJobReply, error)
func (*Service) GetUserRoles ¶
func (s *Service) GetUserRoles(ctx context.Context, in *v1.GetUserRolesRequest) (*v1.GetUserRolesReply, error)
func (*Service) Login ¶
func (s *Service) Login(ctx context.Context, in *v1.LoginRequest) (*v1.LoginReply, error)
func (*Service) LoginCaptcha ¶
func (*Service) OfflineUser ¶
func (*Service) PageDict ¶
func (s *Service) PageDict(ctx context.Context, in *v1.PageDictRequest) (*v1.PageDictReply, error)
func (*Service) PageDictValue ¶
func (s *Service) PageDictValue(ctx context.Context, in *v1.PageDictValueRequest) (*v1.PageDictValueReply, error)
func (*Service) PageJob ¶
func (s *Service) PageJob(ctx context.Context, in *v1.PageJobRequest) (*v1.PageJobReply, error)
func (*Service) PageUser ¶
func (s *Service) PageUser(ctx context.Context, in *v1.PageUserRequest) (*v1.PageUserReply, error)
func (*Service) ParseToken ¶
func (*Service) RefreshToken ¶
func (*Service) ResetUserPassword ¶
func (*Service) SwitchCurrentUserRole ¶
func (s *Service) SwitchCurrentUserRole(ctx context.Context, in *v1.SwitchCurrentUserRoleRequest) (*v1.SwitchCurrentUserRoleReply, error)
func (*Service) UpdateDepartment ¶
func (*Service) UpdateDict ¶
func (*Service) UpdateDictValue ¶
func (*Service) UpdateMenu ¶
func (*Service) UpdateRole ¶
func (*Service) UpdateRoleMenus ¶
func (*Service) UpdateUser ¶
func (*Service) UpdateUserBasic ¶
Click to show internal directories.
Click to hide internal directories.