Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type CreateUserReply
- func (*CreateUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserReply) GetId() uint32
- func (*CreateUserReply) ProtoMessage()
- func (x *CreateUserReply) ProtoReflect() protoreflect.Message
- func (x *CreateUserReply) Reset()
- func (x *CreateUserReply) String() string
- func (m *CreateUserReply) Validate() error
- func (m *CreateUserReply) ValidateAll() error
- type CreateUserReplyMultiError
- type CreateUserReplyValidationError
- func (e CreateUserReplyValidationError) Cause() error
- func (e CreateUserReplyValidationError) Error() string
- func (e CreateUserReplyValidationError) ErrorName() string
- func (e CreateUserReplyValidationError) Field() string
- func (e CreateUserReplyValidationError) Key() bool
- func (e CreateUserReplyValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetDepartmentId() uint32
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetGender() string
- func (x *CreateUserRequest) GetJobIds() []uint32
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetPhone() string
- func (x *CreateUserRequest) GetRoleIds() []uint32
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type DeleteUserReply
- func (*DeleteUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReply) GetTotal() uint32
- func (*DeleteUserReply) ProtoMessage()
- func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReply) Reset()
- func (x *DeleteUserReply) String() string
- func (m *DeleteUserReply) Validate() error
- func (m *DeleteUserReply) ValidateAll() error
- type DeleteUserReplyMultiError
- type DeleteUserReplyValidationError
- func (e DeleteUserReplyValidationError) Cause() error
- func (e DeleteUserReplyValidationError) Error() string
- func (e DeleteUserReplyValidationError) ErrorName() string
- func (e DeleteUserReplyValidationError) Field() string
- func (e DeleteUserReplyValidationError) Key() bool
- func (e DeleteUserReplyValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetIds() []uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type GetUserLoginCaptchaReply
- func (*GetUserLoginCaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserLoginCaptchaReply) GetCaptcha() string
- func (x *GetUserLoginCaptchaReply) GetExpire() uint32
- func (x *GetUserLoginCaptchaReply) GetUuid() string
- func (*GetUserLoginCaptchaReply) ProtoMessage()
- func (x *GetUserLoginCaptchaReply) ProtoReflect() protoreflect.Message
- func (x *GetUserLoginCaptchaReply) Reset()
- func (x *GetUserLoginCaptchaReply) String() string
- func (m *GetUserLoginCaptchaReply) Validate() error
- func (m *GetUserLoginCaptchaReply) ValidateAll() error
- type GetUserLoginCaptchaReplyMultiError
- type GetUserLoginCaptchaReplyValidationError
- func (e GetUserLoginCaptchaReplyValidationError) Cause() error
- func (e GetUserLoginCaptchaReplyValidationError) Error() string
- func (e GetUserLoginCaptchaReplyValidationError) ErrorName() string
- func (e GetUserLoginCaptchaReplyValidationError) Field() string
- func (e GetUserLoginCaptchaReplyValidationError) Key() bool
- func (e GetUserLoginCaptchaReplyValidationError) Reason() string
- type GetUserReply
- func (*GetUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply) GetAvatar() string
- func (x *GetUserReply) GetCreatedAt() uint32
- func (x *GetUserReply) GetDepartment() *GetUserReply_Department
- func (x *GetUserReply) GetDepartmentId() uint32
- func (x *GetUserReply) GetEmail() string
- func (x *GetUserReply) GetGender() string
- func (x *GetUserReply) GetId() uint32
- func (x *GetUserReply) GetJobs() []*GetUserReply_Job
- func (x *GetUserReply) GetLoggedAt() uint32
- func (x *GetUserReply) GetName() string
- func (x *GetUserReply) GetNickname() string
- func (x *GetUserReply) GetPhone() string
- func (x *GetUserReply) GetRole() *GetUserReply_Role
- func (x *GetUserReply) GetRoleId() uint32
- func (x *GetUserReply) GetRoles() []*GetUserReply_Role
- func (x *GetUserReply) GetSetting() string
- func (x *GetUserReply) GetStatus() bool
- func (x *GetUserReply) GetUpdatedAt() uint32
- func (*GetUserReply) ProtoMessage()
- func (x *GetUserReply) ProtoReflect() protoreflect.Message
- func (x *GetUserReply) Reset()
- func (x *GetUserReply) String() string
- func (m *GetUserReply) Validate() error
- func (m *GetUserReply) ValidateAll() error
- type GetUserReplyMultiError
- type GetUserReplyValidationError
- func (e GetUserReplyValidationError) Cause() error
- func (e GetUserReplyValidationError) Error() string
- func (e GetUserReplyValidationError) ErrorName() string
- func (e GetUserReplyValidationError) Field() string
- func (e GetUserReplyValidationError) Key() bool
- func (e GetUserReplyValidationError) Reason() string
- type GetUserReply_Department
- func (*GetUserReply_Department) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply_Department) GetId() uint32
- func (x *GetUserReply_Department) GetKeyword() string
- func (x *GetUserReply_Department) GetName() string
- func (*GetUserReply_Department) ProtoMessage()
- func (x *GetUserReply_Department) ProtoReflect() protoreflect.Message
- func (x *GetUserReply_Department) Reset()
- func (x *GetUserReply_Department) String() string
- func (m *GetUserReply_Department) Validate() error
- func (m *GetUserReply_Department) ValidateAll() error
- type GetUserReply_DepartmentMultiError
- type GetUserReply_DepartmentValidationError
- func (e GetUserReply_DepartmentValidationError) Cause() error
- func (e GetUserReply_DepartmentValidationError) Error() string
- func (e GetUserReply_DepartmentValidationError) ErrorName() string
- func (e GetUserReply_DepartmentValidationError) Field() string
- func (e GetUserReply_DepartmentValidationError) Key() bool
- func (e GetUserReply_DepartmentValidationError) Reason() string
- type GetUserReply_Job
- func (*GetUserReply_Job) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply_Job) GetId() uint32
- func (x *GetUserReply_Job) GetKeyword() string
- func (x *GetUserReply_Job) GetName() string
- func (*GetUserReply_Job) ProtoMessage()
- func (x *GetUserReply_Job) ProtoReflect() protoreflect.Message
- func (x *GetUserReply_Job) Reset()
- func (x *GetUserReply_Job) String() string
- func (m *GetUserReply_Job) Validate() error
- func (m *GetUserReply_Job) ValidateAll() error
- type GetUserReply_JobMultiError
- type GetUserReply_JobValidationError
- func (e GetUserReply_JobValidationError) Cause() error
- func (e GetUserReply_JobValidationError) Error() string
- func (e GetUserReply_JobValidationError) ErrorName() string
- func (e GetUserReply_JobValidationError) Field() string
- func (e GetUserReply_JobValidationError) Key() bool
- func (e GetUserReply_JobValidationError) Reason() string
- type GetUserReply_Role
- func (*GetUserReply_Role) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply_Role) GetId() uint32
- func (x *GetUserReply_Role) GetKeyword() string
- func (x *GetUserReply_Role) GetName() string
- func (*GetUserReply_Role) ProtoMessage()
- func (x *GetUserReply_Role) ProtoReflect() protoreflect.Message
- func (x *GetUserReply_Role) Reset()
- func (x *GetUserReply_Role) String() string
- func (m *GetUserReply_Role) Validate() error
- func (m *GetUserReply_Role) ValidateAll() error
- type GetUserReply_RoleMultiError
- type GetUserReply_RoleValidationError
- func (e GetUserReply_RoleValidationError) Cause() error
- func (e GetUserReply_RoleValidationError) Error() string
- func (e GetUserReply_RoleValidationError) ErrorName() string
- func (e GetUserReply_RoleValidationError) Field() string
- func (e GetUserReply_RoleValidationError) Key() bool
- func (e GetUserReply_RoleValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetEmail() string
- func (x *GetUserRequest) GetId() uint32
- func (x *GetUserRequest) GetPhone() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type ListUserReply
- func (*ListUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply) GetList() []*ListUserReply_User
- func (x *ListUserReply) GetTotal() uint32
- func (*ListUserReply) ProtoMessage()
- func (x *ListUserReply) ProtoReflect() protoreflect.Message
- func (x *ListUserReply) Reset()
- func (x *ListUserReply) String() string
- func (m *ListUserReply) Validate() error
- func (m *ListUserReply) ValidateAll() error
- type ListUserReplyMultiError
- type ListUserReplyValidationError
- func (e ListUserReplyValidationError) Cause() error
- func (e ListUserReplyValidationError) Error() string
- func (e ListUserReplyValidationError) ErrorName() string
- func (e ListUserReplyValidationError) Field() string
- func (e ListUserReplyValidationError) Key() bool
- func (e ListUserReplyValidationError) Reason() string
- type ListUserReply_Department
- func (*ListUserReply_Department) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply_Department) GetId() uint32
- func (x *ListUserReply_Department) GetKeyword() string
- func (x *ListUserReply_Department) GetName() string
- func (*ListUserReply_Department) ProtoMessage()
- func (x *ListUserReply_Department) ProtoReflect() protoreflect.Message
- func (x *ListUserReply_Department) Reset()
- func (x *ListUserReply_Department) String() string
- func (m *ListUserReply_Department) Validate() error
- func (m *ListUserReply_Department) ValidateAll() error
- type ListUserReply_DepartmentMultiError
- type ListUserReply_DepartmentValidationError
- func (e ListUserReply_DepartmentValidationError) Cause() error
- func (e ListUserReply_DepartmentValidationError) Error() string
- func (e ListUserReply_DepartmentValidationError) ErrorName() string
- func (e ListUserReply_DepartmentValidationError) Field() string
- func (e ListUserReply_DepartmentValidationError) Key() bool
- func (e ListUserReply_DepartmentValidationError) Reason() string
- type ListUserReply_Role
- func (*ListUserReply_Role) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply_Role) GetId() uint32
- func (x *ListUserReply_Role) GetKeyword() string
- func (x *ListUserReply_Role) GetName() string
- func (*ListUserReply_Role) ProtoMessage()
- func (x *ListUserReply_Role) ProtoReflect() protoreflect.Message
- func (x *ListUserReply_Role) Reset()
- func (x *ListUserReply_Role) String() string
- func (m *ListUserReply_Role) Validate() error
- func (m *ListUserReply_Role) ValidateAll() error
- type ListUserReply_RoleMultiError
- type ListUserReply_RoleValidationError
- func (e ListUserReply_RoleValidationError) Cause() error
- func (e ListUserReply_RoleValidationError) Error() string
- func (e ListUserReply_RoleValidationError) ErrorName() string
- func (e ListUserReply_RoleValidationError) Field() string
- func (e ListUserReply_RoleValidationError) Key() bool
- func (e ListUserReply_RoleValidationError) Reason() string
- type ListUserReply_User
- func (*ListUserReply_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply_User) GetAvatar() string
- func (x *ListUserReply_User) GetCreatedAt() uint32
- func (x *ListUserReply_User) GetDepartment() *ListUserReply_Department
- func (x *ListUserReply_User) GetEmail() string
- func (x *ListUserReply_User) GetGender() string
- func (x *ListUserReply_User) GetId() uint32
- func (x *ListUserReply_User) GetLoggedAt() uint32
- func (x *ListUserReply_User) GetName() string
- func (x *ListUserReply_User) GetNickname() string
- func (x *ListUserReply_User) GetPhone() string
- func (x *ListUserReply_User) GetRole() *ListUserReply_Role
- func (x *ListUserReply_User) GetStatus() bool
- func (x *ListUserReply_User) GetUpdatedAt() uint32
- func (*ListUserReply_User) ProtoMessage()
- func (x *ListUserReply_User) ProtoReflect() protoreflect.Message
- func (x *ListUserReply_User) Reset()
- func (x *ListUserReply_User) String() string
- func (m *ListUserReply_User) Validate() error
- func (m *ListUserReply_User) ValidateAll() error
- type ListUserReply_UserMultiError
- type ListUserReply_UserValidationError
- func (e ListUserReply_UserValidationError) Cause() error
- func (e ListUserReply_UserValidationError) Error() string
- func (e ListUserReply_UserValidationError) ErrorName() string
- func (e ListUserReply_UserValidationError) Field() string
- func (e ListUserReply_UserValidationError) Key() bool
- func (e ListUserReply_UserValidationError) Reason() string
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetCreatedAts() []uint32
- func (x *ListUserRequest) GetDepartmentId() uint32
- func (x *ListUserRequest) GetEmail() string
- func (x *ListUserRequest) GetLoggedAts() []uint32
- func (x *ListUserRequest) GetName() string
- func (x *ListUserRequest) GetOrder() string
- func (x *ListUserRequest) GetOrderBy() string
- func (x *ListUserRequest) GetPage() uint32
- func (x *ListUserRequest) GetPageSize() uint32
- func (x *ListUserRequest) GetPhone() string
- func (x *ListUserRequest) GetRoleId() uint32
- func (x *ListUserRequest) GetStatus() bool
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- func (m *ListUserRequest) Validate() error
- func (m *ListUserRequest) ValidateAll() error
- type ListUserRequestMultiError
- type ListUserRequestValidationError
- func (e ListUserRequestValidationError) Cause() error
- func (e ListUserRequestValidationError) Error() string
- func (e ListUserRequestValidationError) ErrorName() string
- func (e ListUserRequestValidationError) Field() string
- func (e ListUserRequestValidationError) Key() bool
- func (e ListUserRequestValidationError) Reason() string
- type ResetUserPasswordReply
- func (*ResetUserPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (*ResetUserPasswordReply) ProtoMessage()
- func (x *ResetUserPasswordReply) ProtoReflect() protoreflect.Message
- func (x *ResetUserPasswordReply) Reset()
- func (x *ResetUserPasswordReply) String() string
- func (m *ResetUserPasswordReply) Validate() error
- func (m *ResetUserPasswordReply) ValidateAll() error
- type ResetUserPasswordReplyMultiError
- type ResetUserPasswordReplyValidationError
- func (e ResetUserPasswordReplyValidationError) Cause() error
- func (e ResetUserPasswordReplyValidationError) Error() string
- func (e ResetUserPasswordReplyValidationError) ErrorName() string
- func (e ResetUserPasswordReplyValidationError) Field() string
- func (e ResetUserPasswordReplyValidationError) Key() bool
- func (e ResetUserPasswordReplyValidationError) Reason() string
- type ResetUserPasswordRequest
- func (*ResetUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetUserPasswordRequest) GetId() uint32
- func (*ResetUserPasswordRequest) ProtoMessage()
- func (x *ResetUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetUserPasswordRequest) Reset()
- func (x *ResetUserPasswordRequest) String() string
- func (m *ResetUserPasswordRequest) Validate() error
- func (m *ResetUserPasswordRequest) ValidateAll() error
- type ResetUserPasswordRequestMultiError
- type ResetUserPasswordRequestValidationError
- func (e ResetUserPasswordRequestValidationError) Cause() error
- func (e ResetUserPasswordRequestValidationError) Error() string
- func (e ResetUserPasswordRequestValidationError) ErrorName() string
- func (e ResetUserPasswordRequestValidationError) Field() string
- func (e ResetUserPasswordRequestValidationError) Key() bool
- func (e ResetUserPasswordRequestValidationError) Reason() string
- type SendCurrentUserCaptchaReply
- func (*SendCurrentUserCaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *SendCurrentUserCaptchaReply) GetCaptcha() string
- func (x *SendCurrentUserCaptchaReply) GetExpire() uint32
- func (x *SendCurrentUserCaptchaReply) GetUuid() string
- func (*SendCurrentUserCaptchaReply) ProtoMessage()
- func (x *SendCurrentUserCaptchaReply) ProtoReflect() protoreflect.Message
- func (x *SendCurrentUserCaptchaReply) Reset()
- func (x *SendCurrentUserCaptchaReply) String() string
- func (m *SendCurrentUserCaptchaReply) Validate() error
- func (m *SendCurrentUserCaptchaReply) ValidateAll() error
- type SendCurrentUserCaptchaReplyMultiError
- type SendCurrentUserCaptchaReplyValidationError
- func (e SendCurrentUserCaptchaReplyValidationError) Cause() error
- func (e SendCurrentUserCaptchaReplyValidationError) Error() string
- func (e SendCurrentUserCaptchaReplyValidationError) ErrorName() string
- func (e SendCurrentUserCaptchaReplyValidationError) Field() string
- func (e SendCurrentUserCaptchaReplyValidationError) Key() bool
- func (e SendCurrentUserCaptchaReplyValidationError) Reason() string
- type SendCurrentUserCaptchaRequest
- func (*SendCurrentUserCaptchaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCurrentUserCaptchaRequest) GetType() string
- func (*SendCurrentUserCaptchaRequest) ProtoMessage()
- func (x *SendCurrentUserCaptchaRequest) ProtoReflect() protoreflect.Message
- func (x *SendCurrentUserCaptchaRequest) Reset()
- func (x *SendCurrentUserCaptchaRequest) String() string
- func (m *SendCurrentUserCaptchaRequest) Validate() error
- func (m *SendCurrentUserCaptchaRequest) ValidateAll() error
- type SendCurrentUserCaptchaRequestMultiError
- type SendCurrentUserCaptchaRequestValidationError
- func (e SendCurrentUserCaptchaRequestValidationError) Cause() error
- func (e SendCurrentUserCaptchaRequestValidationError) Error() string
- func (e SendCurrentUserCaptchaRequestValidationError) ErrorName() string
- func (e SendCurrentUserCaptchaRequestValidationError) Field() string
- func (e SendCurrentUserCaptchaRequestValidationError) Key() bool
- func (e SendCurrentUserCaptchaRequestValidationError) Reason() string
- type UnimplementedUserServer
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
- func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
- func (UnimplementedUserServer) GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
- func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
- func (UnimplementedUserServer) GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error)
- func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
- func (UnimplementedUserServer) ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error)
- func (UnimplementedUserServer) SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error)
- func (UnimplementedUserServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
- func (UnimplementedUserServer) UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error)
- func (UnimplementedUserServer) UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error)
- func (UnimplementedUserServer) UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error)
- func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
- func (UnimplementedUserServer) UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
- func (UnimplementedUserServer) UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
- func (UnimplementedUserServer) UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedUserServer) UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error)
- type UnsafeUserServer
- type UpdateCurrentUserPasswordReply
- func (*UpdateCurrentUserPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCurrentUserPasswordReply) ProtoMessage()
- func (x *UpdateCurrentUserPasswordReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserPasswordReply) Reset()
- func (x *UpdateCurrentUserPasswordReply) String() string
- func (m *UpdateCurrentUserPasswordReply) Validate() error
- func (m *UpdateCurrentUserPasswordReply) ValidateAll() error
- type UpdateCurrentUserPasswordReplyMultiError
- type UpdateCurrentUserPasswordReplyValidationError
- func (e UpdateCurrentUserPasswordReplyValidationError) Cause() error
- func (e UpdateCurrentUserPasswordReplyValidationError) Error() string
- func (e UpdateCurrentUserPasswordReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserPasswordReplyValidationError) Field() string
- func (e UpdateCurrentUserPasswordReplyValidationError) Key() bool
- func (e UpdateCurrentUserPasswordReplyValidationError) Reason() string
- type UpdateCurrentUserPasswordRequest
- func (*UpdateCurrentUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserPasswordRequest) GetCaptcha() string
- func (x *UpdateCurrentUserPasswordRequest) GetCaptchaId() string
- func (x *UpdateCurrentUserPasswordRequest) GetOldPassword() string
- func (x *UpdateCurrentUserPasswordRequest) GetPassword() string
- func (*UpdateCurrentUserPasswordRequest) ProtoMessage()
- func (x *UpdateCurrentUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserPasswordRequest) Reset()
- func (x *UpdateCurrentUserPasswordRequest) String() string
- func (m *UpdateCurrentUserPasswordRequest) Validate() error
- func (m *UpdateCurrentUserPasswordRequest) ValidateAll() error
- type UpdateCurrentUserPasswordRequestMultiError
- type UpdateCurrentUserPasswordRequestValidationError
- func (e UpdateCurrentUserPasswordRequestValidationError) Cause() error
- func (e UpdateCurrentUserPasswordRequestValidationError) Error() string
- func (e UpdateCurrentUserPasswordRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserPasswordRequestValidationError) Field() string
- func (e UpdateCurrentUserPasswordRequestValidationError) Key() bool
- func (e UpdateCurrentUserPasswordRequestValidationError) Reason() string
- type UpdateCurrentUserReply
- func (*UpdateCurrentUserReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCurrentUserReply) ProtoMessage()
- func (x *UpdateCurrentUserReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserReply) Reset()
- func (x *UpdateCurrentUserReply) String() string
- func (m *UpdateCurrentUserReply) Validate() error
- func (m *UpdateCurrentUserReply) ValidateAll() error
- type UpdateCurrentUserReplyMultiError
- type UpdateCurrentUserReplyValidationError
- func (e UpdateCurrentUserReplyValidationError) Cause() error
- func (e UpdateCurrentUserReplyValidationError) Error() string
- func (e UpdateCurrentUserReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserReplyValidationError) Field() string
- func (e UpdateCurrentUserReplyValidationError) Key() bool
- func (e UpdateCurrentUserReplyValidationError) Reason() string
- type UpdateCurrentUserRequest
- func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserRequest) GetAvatar() string
- func (x *UpdateCurrentUserRequest) GetGender() string
- func (x *UpdateCurrentUserRequest) GetNickname() string
- func (*UpdateCurrentUserRequest) ProtoMessage()
- func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserRequest) Reset()
- func (x *UpdateCurrentUserRequest) String() string
- func (m *UpdateCurrentUserRequest) Validate() error
- func (m *UpdateCurrentUserRequest) ValidateAll() error
- type UpdateCurrentUserRequestMultiError
- type UpdateCurrentUserRequestValidationError
- func (e UpdateCurrentUserRequestValidationError) Cause() error
- func (e UpdateCurrentUserRequestValidationError) Error() string
- func (e UpdateCurrentUserRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserRequestValidationError) Field() string
- func (e UpdateCurrentUserRequestValidationError) Key() bool
- func (e UpdateCurrentUserRequestValidationError) Reason() string
- type UpdateCurrentUserRoleReply
- func (*UpdateCurrentUserRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserRoleReply) GetToken() string
- func (*UpdateCurrentUserRoleReply) ProtoMessage()
- func (x *UpdateCurrentUserRoleReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserRoleReply) Reset()
- func (x *UpdateCurrentUserRoleReply) String() string
- func (m *UpdateCurrentUserRoleReply) Validate() error
- func (m *UpdateCurrentUserRoleReply) ValidateAll() error
- type UpdateCurrentUserRoleReplyMultiError
- type UpdateCurrentUserRoleReplyValidationError
- func (e UpdateCurrentUserRoleReplyValidationError) Cause() error
- func (e UpdateCurrentUserRoleReplyValidationError) Error() string
- func (e UpdateCurrentUserRoleReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserRoleReplyValidationError) Field() string
- func (e UpdateCurrentUserRoleReplyValidationError) Key() bool
- func (e UpdateCurrentUserRoleReplyValidationError) Reason() string
- type UpdateCurrentUserRoleRequest
- func (*UpdateCurrentUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserRoleRequest) GetRoleId() uint32
- func (*UpdateCurrentUserRoleRequest) ProtoMessage()
- func (x *UpdateCurrentUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserRoleRequest) Reset()
- func (x *UpdateCurrentUserRoleRequest) String() string
- func (m *UpdateCurrentUserRoleRequest) Validate() error
- func (m *UpdateCurrentUserRoleRequest) ValidateAll() error
- type UpdateCurrentUserRoleRequestMultiError
- type UpdateCurrentUserRoleRequestValidationError
- func (e UpdateCurrentUserRoleRequestValidationError) Cause() error
- func (e UpdateCurrentUserRoleRequestValidationError) Error() string
- func (e UpdateCurrentUserRoleRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserRoleRequestValidationError) Field() string
- func (e UpdateCurrentUserRoleRequestValidationError) Key() bool
- func (e UpdateCurrentUserRoleRequestValidationError) Reason() string
- type UpdateCurrentUserSettingReply
- func (*UpdateCurrentUserSettingReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCurrentUserSettingReply) ProtoMessage()
- func (x *UpdateCurrentUserSettingReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserSettingReply) Reset()
- func (x *UpdateCurrentUserSettingReply) String() string
- func (m *UpdateCurrentUserSettingReply) Validate() error
- func (m *UpdateCurrentUserSettingReply) ValidateAll() error
- type UpdateCurrentUserSettingReplyMultiError
- type UpdateCurrentUserSettingReplyValidationError
- func (e UpdateCurrentUserSettingReplyValidationError) Cause() error
- func (e UpdateCurrentUserSettingReplyValidationError) Error() string
- func (e UpdateCurrentUserSettingReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserSettingReplyValidationError) Field() string
- func (e UpdateCurrentUserSettingReplyValidationError) Key() bool
- func (e UpdateCurrentUserSettingReplyValidationError) Reason() string
- type UpdateCurrentUserSettingRequest
- func (*UpdateCurrentUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserSettingRequest) GetSetting() string
- func (*UpdateCurrentUserSettingRequest) ProtoMessage()
- func (x *UpdateCurrentUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserSettingRequest) Reset()
- func (x *UpdateCurrentUserSettingRequest) String() string
- func (m *UpdateCurrentUserSettingRequest) Validate() error
- func (m *UpdateCurrentUserSettingRequest) ValidateAll() error
- type UpdateCurrentUserSettingRequestMultiError
- type UpdateCurrentUserSettingRequestValidationError
- func (e UpdateCurrentUserSettingRequestValidationError) Cause() error
- func (e UpdateCurrentUserSettingRequestValidationError) Error() string
- func (e UpdateCurrentUserSettingRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserSettingRequestValidationError) Field() string
- func (e UpdateCurrentUserSettingRequestValidationError) Key() bool
- func (e UpdateCurrentUserSettingRequestValidationError) Reason() string
- type UpdateUserReply
- func (*UpdateUserReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserReply) ProtoMessage()
- func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReply) Reset()
- func (x *UpdateUserReply) String() string
- func (m *UpdateUserReply) Validate() error
- func (m *UpdateUserReply) ValidateAll() error
- type UpdateUserReplyMultiError
- type UpdateUserReplyValidationError
- func (e UpdateUserReplyValidationError) Cause() error
- func (e UpdateUserReplyValidationError) Error() string
- func (e UpdateUserReplyValidationError) ErrorName() string
- func (e UpdateUserReplyValidationError) Field() string
- func (e UpdateUserReplyValidationError) Key() bool
- func (e UpdateUserReplyValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetDepartmentId() uint32
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetGender() string
- func (x *UpdateUserRequest) GetId() uint32
- func (x *UpdateUserRequest) GetJobIds() []uint32
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetRoleIds() []uint32
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserStatusReply
- func (*UpdateUserStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserStatusReply) ProtoMessage()
- func (x *UpdateUserStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserStatusReply) Reset()
- func (x *UpdateUserStatusReply) String() string
- func (m *UpdateUserStatusReply) Validate() error
- func (m *UpdateUserStatusReply) ValidateAll() error
- type UpdateUserStatusReplyMultiError
- type UpdateUserStatusReplyValidationError
- func (e UpdateUserStatusReplyValidationError) Cause() error
- func (e UpdateUserStatusReplyValidationError) Error() string
- func (e UpdateUserStatusReplyValidationError) ErrorName() string
- func (e UpdateUserStatusReplyValidationError) Field() string
- func (e UpdateUserStatusReplyValidationError) Key() bool
- func (e UpdateUserStatusReplyValidationError) Reason() string
- type UpdateUserStatusRequest
- func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserStatusRequest) GetId() uint32
- func (x *UpdateUserStatusRequest) GetStatus() bool
- func (*UpdateUserStatusRequest) ProtoMessage()
- func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserStatusRequest) Reset()
- func (x *UpdateUserStatusRequest) String() string
- func (m *UpdateUserStatusRequest) Validate() error
- func (m *UpdateUserStatusRequest) ValidateAll() error
- type UpdateUserStatusRequestMultiError
- type UpdateUserStatusRequestValidationError
- func (e UpdateUserStatusRequestValidationError) Cause() error
- func (e UpdateUserStatusRequestValidationError) Error() string
- func (e UpdateUserStatusRequestValidationError) ErrorName() string
- func (e UpdateUserStatusRequestValidationError) Field() string
- func (e UpdateUserStatusRequestValidationError) Key() bool
- func (e UpdateUserStatusRequestValidationError) Reason() string
- type UserClient
- type UserHTTPClient
- type UserHTTPClientImpl
- func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
- func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserReply, error)
- func (c *UserHTTPClientImpl) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserReply, error)
- func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
- func (c *UserHTTPClientImpl) GetUserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserLoginCaptchaReply, error)
- func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
- func (c *UserHTTPClientImpl) ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...http.CallOption) (*ResetUserPasswordReply, error)
- func (c *UserHTTPClientImpl) SendCurrentUserCaptcha(ctx context.Context, in *SendCurrentUserCaptchaRequest, ...) (*SendCurrentUserCaptchaReply, error)
- func (c *UserHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*UpdateCurrentUserReply, error)
- func (c *UserHTTPClientImpl) UpdateCurrentUserPassword(ctx context.Context, in *UpdateCurrentUserPasswordRequest, ...) (*UpdateCurrentUserPasswordReply, error)
- func (c *UserHTTPClientImpl) UpdateCurrentUserRole(ctx context.Context, in *UpdateCurrentUserRoleRequest, opts ...http.CallOption) (*UpdateCurrentUserRoleReply, error)
- func (c *UserHTTPClientImpl) UpdateCurrentUserSetting(ctx context.Context, in *UpdateCurrentUserSettingRequest, ...) (*UpdateCurrentUserSettingReply, error)
- func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
- func (c *UserHTTPClientImpl) UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...http.CallOption) (*UpdateUserStatusReply, error)
- func (c *UserHTTPClientImpl) UserLogin(ctx context.Context, in *UserLoginRequest, opts ...http.CallOption) (*UserLoginReply, error)
- func (c *UserHTTPClientImpl) UserLogout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *UserHTTPClientImpl) UserRefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*UserRefreshTokenReply, error)
- type UserHTTPServer
- type UserLoginReply
- func (*UserLoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginReply) GetToken() string
- func (*UserLoginReply) ProtoMessage()
- func (x *UserLoginReply) ProtoReflect() protoreflect.Message
- func (x *UserLoginReply) Reset()
- func (x *UserLoginReply) String() string
- func (m *UserLoginReply) Validate() error
- func (m *UserLoginReply) ValidateAll() error
- type UserLoginReplyMultiError
- type UserLoginReplyValidationError
- func (e UserLoginReplyValidationError) Cause() error
- func (e UserLoginReplyValidationError) Error() string
- func (e UserLoginReplyValidationError) ErrorName() string
- func (e UserLoginReplyValidationError) Field() string
- func (e UserLoginReplyValidationError) Key() bool
- func (e UserLoginReplyValidationError) Reason() string
- type UserLoginRequest
- func (*UserLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginRequest) GetCaptcha() string
- func (x *UserLoginRequest) GetCaptchaId() string
- func (x *UserLoginRequest) GetPassword() string
- func (x *UserLoginRequest) GetUsername() string
- func (*UserLoginRequest) ProtoMessage()
- func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
- func (x *UserLoginRequest) Reset()
- func (x *UserLoginRequest) String() string
- func (m *UserLoginRequest) Validate() error
- func (m *UserLoginRequest) ValidateAll() error
- type UserLoginRequestMultiError
- type UserLoginRequestValidationError
- func (e UserLoginRequestValidationError) Cause() error
- func (e UserLoginRequestValidationError) Error() string
- func (e UserLoginRequestValidationError) ErrorName() string
- func (e UserLoginRequestValidationError) Field() string
- func (e UserLoginRequestValidationError) Key() bool
- func (e UserLoginRequestValidationError) Reason() string
- type UserRefreshTokenReply
- func (*UserRefreshTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserRefreshTokenReply) GetToken() string
- func (*UserRefreshTokenReply) ProtoMessage()
- func (x *UserRefreshTokenReply) ProtoReflect() protoreflect.Message
- func (x *UserRefreshTokenReply) Reset()
- func (x *UserRefreshTokenReply) String() string
- func (m *UserRefreshTokenReply) Validate() error
- func (m *UserRefreshTokenReply) ValidateAll() error
- type UserRefreshTokenReplyMultiError
- type UserRefreshTokenReplyValidationError
- func (e UserRefreshTokenReplyValidationError) Cause() error
- func (e UserRefreshTokenReplyValidationError) Error() string
- func (e UserRefreshTokenReplyValidationError) ErrorName() string
- func (e UserRefreshTokenReplyValidationError) Field() string
- func (e UserRefreshTokenReplyValidationError) Key() bool
- func (e UserRefreshTokenReplyValidationError) Reason() string
- type UserServer
Constants ¶
const ( User_GetUser_FullMethodName = "/manager.api.manager.user.v1.User/GetUser" User_ListUser_FullMethodName = "/manager.api.manager.user.v1.User/ListUser" User_CreateUser_FullMethodName = "/manager.api.manager.user.v1.User/CreateUser" User_UpdateUser_FullMethodName = "/manager.api.manager.user.v1.User/UpdateUser" User_UpdateUserStatus_FullMethodName = "/manager.api.manager.user.v1.User/UpdateUserStatus" User_DeleteUser_FullMethodName = "/manager.api.manager.user.v1.User/DeleteUser" User_GetCurrentUser_FullMethodName = "/manager.api.manager.user.v1.User/GetCurrentUser" User_ResetUserPassword_FullMethodName = "/manager.api.manager.user.v1.User/ResetUserPassword" User_UpdateCurrentUser_FullMethodName = "/manager.api.manager.user.v1.User/UpdateCurrentUser" User_UpdateCurrentUserRole_FullMethodName = "/manager.api.manager.user.v1.User/UpdateCurrentUserRole" User_UpdateCurrentUserPassword_FullMethodName = "/manager.api.manager.user.v1.User/UpdateCurrentUserPassword" User_UpdateCurrentUserSetting_FullMethodName = "/manager.api.manager.user.v1.User/UpdateCurrentUserSetting" User_SendCurrentUserCaptcha_FullMethodName = "/manager.api.manager.user.v1.User/SendCurrentUserCaptcha" User_GetUserLoginCaptcha_FullMethodName = "/manager.api.manager.user.v1.User/GetUserLoginCaptcha" User_UserLogin_FullMethodName = "/manager.api.manager.user.v1.User/UserLogin" User_UserLogout_FullMethodName = "/manager.api.manager.user.v1.User/UserLogout" User_UserRefreshToken_FullMethodName = "/manager.api.manager.user.v1.User/UserRefreshToken" )
const OperationUserCreateUser = "/manager.api.manager.user.v1.User/CreateUser"
const OperationUserDeleteUser = "/manager.api.manager.user.v1.User/DeleteUser"
const OperationUserGetCurrentUser = "/manager.api.manager.user.v1.User/GetCurrentUser"
const OperationUserGetUser = "/manager.api.manager.user.v1.User/GetUser"
const OperationUserGetUserLoginCaptcha = "/manager.api.manager.user.v1.User/GetUserLoginCaptcha"
const OperationUserListUser = "/manager.api.manager.user.v1.User/ListUser"
const OperationUserResetUserPassword = "/manager.api.manager.user.v1.User/ResetUserPassword"
const OperationUserSendCurrentUserCaptcha = "/manager.api.manager.user.v1.User/SendCurrentUserCaptcha"
const OperationUserUpdateCurrentUser = "/manager.api.manager.user.v1.User/UpdateCurrentUser"
const OperationUserUpdateCurrentUserPassword = "/manager.api.manager.user.v1.User/UpdateCurrentUserPassword"
const OperationUserUpdateCurrentUserRole = "/manager.api.manager.user.v1.User/UpdateCurrentUserRole"
const OperationUserUpdateCurrentUserSetting = "/manager.api.manager.user.v1.User/UpdateCurrentUserSetting"
const OperationUserUpdateUser = "/manager.api.manager.user.v1.User/UpdateUser"
const OperationUserUpdateUserStatus = "/manager.api.manager.user.v1.User/UpdateUserStatus"
const OperationUserUserLogin = "/manager.api.manager.user.v1.User/UserLogin"
const OperationUserUserLogout = "/manager.api.manager.user.v1.User/UserLogout"
const OperationUserUserRefreshToken = "/manager.api.manager.user.v1.User/UserRefreshToken"
Variables ¶
var File_api_manager_user_manager_user_proto protoreflect.FileDescriptor
var File_api_manager_user_manager_user_service_proto protoreflect.FileDescriptor
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.manager.user.v1.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUser", Handler: _User_GetUser_Handler, }, { MethodName: "ListUser", Handler: _User_ListUser_Handler, }, { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _User_UpdateUser_Handler, }, { MethodName: "UpdateUserStatus", Handler: _User_UpdateUserStatus_Handler, }, { MethodName: "DeleteUser", Handler: _User_DeleteUser_Handler, }, { MethodName: "GetCurrentUser", Handler: _User_GetCurrentUser_Handler, }, { MethodName: "ResetUserPassword", Handler: _User_ResetUserPassword_Handler, }, { MethodName: "UpdateCurrentUser", Handler: _User_UpdateCurrentUser_Handler, }, { MethodName: "UpdateCurrentUserRole", Handler: _User_UpdateCurrentUserRole_Handler, }, { MethodName: "UpdateCurrentUserPassword", Handler: _User_UpdateCurrentUserPassword_Handler, }, { MethodName: "UpdateCurrentUserSetting", Handler: _User_UpdateCurrentUserSetting_Handler, }, { MethodName: "SendCurrentUserCaptcha", Handler: _User_SendCurrentUserCaptcha_Handler, }, { MethodName: "GetUserLoginCaptcha", Handler: _User_GetUserLoginCaptcha_Handler, }, { MethodName: "UserLogin", Handler: _User_UserLogin_Handler, }, { MethodName: "UserLogout", Handler: _User_UserLogout_Handler, }, { MethodName: "UserRefreshToken", Handler: _User_UserRefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/manager/user/manager_user_service.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserHTTPServer ¶
func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type CreateUserReply ¶
type CreateUserReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserReply) Descriptor
deprecated
func (*CreateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.
func (*CreateUserReply) GetId ¶
func (x *CreateUserReply) GetId() uint32
func (*CreateUserReply) ProtoMessage ¶
func (*CreateUserReply) ProtoMessage()
func (*CreateUserReply) ProtoReflect ¶
func (x *CreateUserReply) ProtoReflect() protoreflect.Message
func (*CreateUserReply) Reset ¶
func (x *CreateUserReply) Reset()
func (*CreateUserReply) String ¶
func (x *CreateUserReply) String() string
func (*CreateUserReply) Validate ¶
func (m *CreateUserReply) Validate() error
Validate checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserReply) ValidateAll ¶
func (m *CreateUserReply) ValidateAll() error
ValidateAll checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserReplyMultiError, or nil if none found.
type CreateUserReplyMultiError ¶
type CreateUserReplyMultiError []error
CreateUserReplyMultiError is an error wrapping multiple validation errors returned by CreateUserReply.ValidateAll() if the designated constraints aren't met.
func (CreateUserReplyMultiError) AllErrors ¶
func (m CreateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserReplyMultiError) Error ¶
func (m CreateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserReplyValidationError ¶
type CreateUserReplyValidationError struct {
// contains filtered or unexported fields
}
CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.
func (CreateUserReplyValidationError) Cause ¶
func (e CreateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateUserReplyValidationError) Error ¶
func (e CreateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserReplyValidationError) ErrorName ¶
func (e CreateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserReplyValidationError) Field ¶
func (e CreateUserReplyValidationError) Field() string
Field function returns field value.
func (CreateUserReplyValidationError) Key ¶
func (e CreateUserReplyValidationError) Key() bool
Key function returns key value.
func (CreateUserReplyValidationError) Reason ¶
func (e CreateUserReplyValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { DepartmentId uint32 `protobuf:"varint,1,opt,name=departmentId,proto3" json:"departmentId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` JobIds []uint32 `protobuf:"varint,6,rep,packed,name=jobIds,proto3" json:"jobIds,omitempty"` RoleIds []uint32 `protobuf:"varint,7,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetDepartmentId ¶
func (x *CreateUserRequest) GetDepartmentId() uint32
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetGender ¶
func (x *CreateUserRequest) GetGender() string
func (*CreateUserRequest) GetJobIds ¶
func (x *CreateUserRequest) GetJobIds() []uint32
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) GetPhone ¶
func (x *CreateUserRequest) GetPhone() string
func (*CreateUserRequest) GetRoleIds ¶
func (x *CreateUserRequest) GetRoleIds() []uint32
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserRequest) ValidateAll ¶
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReply ¶
type DeleteUserReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserReply) Descriptor
deprecated
func (*DeleteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.
func (*DeleteUserReply) GetTotal ¶
func (x *DeleteUserReply) GetTotal() uint32
func (*DeleteUserReply) ProtoMessage ¶
func (*DeleteUserReply) ProtoMessage()
func (*DeleteUserReply) ProtoReflect ¶
func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
func (*DeleteUserReply) Reset ¶
func (x *DeleteUserReply) Reset()
func (*DeleteUserReply) String ¶
func (x *DeleteUserReply) String() string
func (*DeleteUserReply) Validate ¶
func (m *DeleteUserReply) Validate() error
Validate checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserReply) ValidateAll ¶
func (m *DeleteUserReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReplyMultiError, or nil if none found.
type DeleteUserReplyMultiError ¶
type DeleteUserReplyMultiError []error
DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserReplyMultiError) AllErrors ¶
func (m DeleteUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserReplyMultiError) Error ¶
func (m DeleteUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserReplyValidationError ¶
type DeleteUserReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.
func (DeleteUserReplyValidationError) Cause ¶
func (e DeleteUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserReplyValidationError) Error ¶
func (e DeleteUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserReplyValidationError) ErrorName ¶
func (e DeleteUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserReplyValidationError) Field ¶
func (e DeleteUserReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserReplyValidationError) Key ¶
func (e DeleteUserReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserReplyValidationError) Reason ¶
func (e DeleteUserReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct { Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetIds ¶
func (x *DeleteUserRequest) GetIds() []uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserLoginCaptchaReply ¶
type GetUserLoginCaptchaReply struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*GetUserLoginCaptchaReply) Descriptor
deprecated
func (*GetUserLoginCaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLoginCaptchaReply.ProtoReflect.Descriptor instead.
func (*GetUserLoginCaptchaReply) GetCaptcha ¶
func (x *GetUserLoginCaptchaReply) GetCaptcha() string
func (*GetUserLoginCaptchaReply) GetExpire ¶
func (x *GetUserLoginCaptchaReply) GetExpire() uint32
func (*GetUserLoginCaptchaReply) GetUuid ¶
func (x *GetUserLoginCaptchaReply) GetUuid() string
func (*GetUserLoginCaptchaReply) ProtoMessage ¶
func (*GetUserLoginCaptchaReply) ProtoMessage()
func (*GetUserLoginCaptchaReply) ProtoReflect ¶
func (x *GetUserLoginCaptchaReply) ProtoReflect() protoreflect.Message
func (*GetUserLoginCaptchaReply) Reset ¶
func (x *GetUserLoginCaptchaReply) Reset()
func (*GetUserLoginCaptchaReply) String ¶
func (x *GetUserLoginCaptchaReply) String() string
func (*GetUserLoginCaptchaReply) Validate ¶
func (m *GetUserLoginCaptchaReply) Validate() error
Validate checks the field values on GetUserLoginCaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserLoginCaptchaReply) ValidateAll ¶
func (m *GetUserLoginCaptchaReply) ValidateAll() error
ValidateAll checks the field values on GetUserLoginCaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserLoginCaptchaReplyMultiError, or nil if none found.
type GetUserLoginCaptchaReplyMultiError ¶
type GetUserLoginCaptchaReplyMultiError []error
GetUserLoginCaptchaReplyMultiError is an error wrapping multiple validation errors returned by GetUserLoginCaptchaReply.ValidateAll() if the designated constraints aren't met.
func (GetUserLoginCaptchaReplyMultiError) AllErrors ¶
func (m GetUserLoginCaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserLoginCaptchaReplyMultiError) Error ¶
func (m GetUserLoginCaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserLoginCaptchaReplyValidationError ¶
type GetUserLoginCaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserLoginCaptchaReplyValidationError is the validation error returned by GetUserLoginCaptchaReply.Validate if the designated constraints aren't met.
func (GetUserLoginCaptchaReplyValidationError) Cause ¶
func (e GetUserLoginCaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserLoginCaptchaReplyValidationError) Error ¶
func (e GetUserLoginCaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserLoginCaptchaReplyValidationError) ErrorName ¶
func (e GetUserLoginCaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserLoginCaptchaReplyValidationError) Field ¶
func (e GetUserLoginCaptchaReplyValidationError) Field() string
Field function returns field value.
func (GetUserLoginCaptchaReplyValidationError) Key ¶
func (e GetUserLoginCaptchaReplyValidationError) Key() bool
Key function returns key value.
func (GetUserLoginCaptchaReplyValidationError) Reason ¶
func (e GetUserLoginCaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserReply ¶
type GetUserReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DepartmentId uint32 `protobuf:"varint,2,opt,name=departmentId,proto3" json:"departmentId,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=roleId,proto3" json:"roleId,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender string `protobuf:"bytes,6,opt,name=gender,proto3" json:"gender,omitempty"` Avatar *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Phone string `protobuf:"bytes,8,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"` Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"` Setting *string `protobuf:"bytes,11,opt,name=setting,proto3,oneof" json:"setting,omitempty"` LoggedAt uint32 `protobuf:"varint,12,opt,name=loggedAt,proto3" json:"loggedAt,omitempty"` CreatedAt uint32 `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Roles []*GetUserReply_Role `protobuf:"bytes,15,rep,name=roles,proto3" json:"roles,omitempty"` Jobs []*GetUserReply_Job `protobuf:"bytes,16,rep,name=jobs,proto3" json:"jobs,omitempty"` Department *GetUserReply_Department `protobuf:"bytes,17,opt,name=department,proto3,oneof" json:"department,omitempty"` Role *GetUserReply_Role `protobuf:"bytes,18,opt,name=role,proto3,oneof" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply) Descriptor
deprecated
func (*GetUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.
func (*GetUserReply) GetAvatar ¶
func (x *GetUserReply) GetAvatar() string
func (*GetUserReply) GetCreatedAt ¶
func (x *GetUserReply) GetCreatedAt() uint32
func (*GetUserReply) GetDepartment ¶
func (x *GetUserReply) GetDepartment() *GetUserReply_Department
func (*GetUserReply) GetDepartmentId ¶
func (x *GetUserReply) GetDepartmentId() uint32
func (*GetUserReply) GetEmail ¶
func (x *GetUserReply) GetEmail() string
func (*GetUserReply) GetGender ¶
func (x *GetUserReply) GetGender() string
func (*GetUserReply) GetId ¶
func (x *GetUserReply) GetId() uint32
func (*GetUserReply) GetJobs ¶
func (x *GetUserReply) GetJobs() []*GetUserReply_Job
func (*GetUserReply) GetLoggedAt ¶
func (x *GetUserReply) GetLoggedAt() uint32
func (*GetUserReply) GetName ¶
func (x *GetUserReply) GetName() string
func (*GetUserReply) GetNickname ¶
func (x *GetUserReply) GetNickname() string
func (*GetUserReply) GetPhone ¶
func (x *GetUserReply) GetPhone() string
func (*GetUserReply) GetRole ¶
func (x *GetUserReply) GetRole() *GetUserReply_Role
func (*GetUserReply) GetRoleId ¶
func (x *GetUserReply) GetRoleId() uint32
func (*GetUserReply) GetRoles ¶
func (x *GetUserReply) GetRoles() []*GetUserReply_Role
func (*GetUserReply) GetSetting ¶
func (x *GetUserReply) GetSetting() string
func (*GetUserReply) GetStatus ¶
func (x *GetUserReply) GetStatus() bool
func (*GetUserReply) GetUpdatedAt ¶
func (x *GetUserReply) GetUpdatedAt() uint32
func (*GetUserReply) ProtoMessage ¶
func (*GetUserReply) ProtoMessage()
func (*GetUserReply) ProtoReflect ¶
func (x *GetUserReply) ProtoReflect() protoreflect.Message
func (*GetUserReply) Reset ¶
func (x *GetUserReply) Reset()
func (*GetUserReply) String ¶
func (x *GetUserReply) String() string
func (*GetUserReply) Validate ¶
func (m *GetUserReply) Validate() error
Validate checks the field values on GetUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserReply) ValidateAll ¶
func (m *GetUserReply) ValidateAll() error
ValidateAll checks the field values on GetUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReplyMultiError, or nil if none found.
type GetUserReplyMultiError ¶
type GetUserReplyMultiError []error
GetUserReplyMultiError is an error wrapping multiple validation errors returned by GetUserReply.ValidateAll() if the designated constraints aren't met.
func (GetUserReplyMultiError) AllErrors ¶
func (m GetUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReplyMultiError) Error ¶
func (m GetUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReplyValidationError ¶
type GetUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserReplyValidationError is the validation error returned by GetUserReply.Validate if the designated constraints aren't met.
func (GetUserReplyValidationError) Cause ¶
func (e GetUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserReplyValidationError) Error ¶
func (e GetUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReplyValidationError) ErrorName ¶
func (e GetUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReplyValidationError) Field ¶
func (e GetUserReplyValidationError) Field() string
Field function returns field value.
func (GetUserReplyValidationError) Key ¶
func (e GetUserReplyValidationError) Key() bool
Key function returns key value.
func (GetUserReplyValidationError) Reason ¶
func (e GetUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserReply_Department ¶
type GetUserReply_Department struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply_Department) Descriptor
deprecated
func (*GetUserReply_Department) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply_Department.ProtoReflect.Descriptor instead.
func (*GetUserReply_Department) GetId ¶
func (x *GetUserReply_Department) GetId() uint32
func (*GetUserReply_Department) GetKeyword ¶
func (x *GetUserReply_Department) GetKeyword() string
func (*GetUserReply_Department) GetName ¶
func (x *GetUserReply_Department) GetName() string
func (*GetUserReply_Department) ProtoMessage ¶
func (*GetUserReply_Department) ProtoMessage()
func (*GetUserReply_Department) ProtoReflect ¶
func (x *GetUserReply_Department) ProtoReflect() protoreflect.Message
func (*GetUserReply_Department) Reset ¶
func (x *GetUserReply_Department) Reset()
func (*GetUserReply_Department) String ¶
func (x *GetUserReply_Department) String() string
func (*GetUserReply_Department) Validate ¶
func (m *GetUserReply_Department) Validate() error
Validate checks the field values on GetUserReply_Department with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserReply_Department) ValidateAll ¶
func (m *GetUserReply_Department) ValidateAll() error
ValidateAll checks the field values on GetUserReply_Department with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReply_DepartmentMultiError, or nil if none found.
type GetUserReply_DepartmentMultiError ¶
type GetUserReply_DepartmentMultiError []error
GetUserReply_DepartmentMultiError is an error wrapping multiple validation errors returned by GetUserReply_Department.ValidateAll() if the designated constraints aren't met.
func (GetUserReply_DepartmentMultiError) AllErrors ¶
func (m GetUserReply_DepartmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReply_DepartmentMultiError) Error ¶
func (m GetUserReply_DepartmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReply_DepartmentValidationError ¶
type GetUserReply_DepartmentValidationError struct {
// contains filtered or unexported fields
}
GetUserReply_DepartmentValidationError is the validation error returned by GetUserReply_Department.Validate if the designated constraints aren't met.
func (GetUserReply_DepartmentValidationError) Cause ¶
func (e GetUserReply_DepartmentValidationError) Cause() error
Cause function returns cause value.
func (GetUserReply_DepartmentValidationError) Error ¶
func (e GetUserReply_DepartmentValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReply_DepartmentValidationError) ErrorName ¶
func (e GetUserReply_DepartmentValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReply_DepartmentValidationError) Field ¶
func (e GetUserReply_DepartmentValidationError) Field() string
Field function returns field value.
func (GetUserReply_DepartmentValidationError) Key ¶
func (e GetUserReply_DepartmentValidationError) Key() bool
Key function returns key value.
func (GetUserReply_DepartmentValidationError) Reason ¶
func (e GetUserReply_DepartmentValidationError) Reason() string
Reason function returns reason value.
type GetUserReply_Job ¶
type GetUserReply_Job struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply_Job) Descriptor
deprecated
func (*GetUserReply_Job) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply_Job.ProtoReflect.Descriptor instead.
func (*GetUserReply_Job) GetId ¶
func (x *GetUserReply_Job) GetId() uint32
func (*GetUserReply_Job) GetKeyword ¶
func (x *GetUserReply_Job) GetKeyword() string
func (*GetUserReply_Job) GetName ¶
func (x *GetUserReply_Job) GetName() string
func (*GetUserReply_Job) ProtoMessage ¶
func (*GetUserReply_Job) ProtoMessage()
func (*GetUserReply_Job) ProtoReflect ¶
func (x *GetUserReply_Job) ProtoReflect() protoreflect.Message
func (*GetUserReply_Job) Reset ¶
func (x *GetUserReply_Job) Reset()
func (*GetUserReply_Job) String ¶
func (x *GetUserReply_Job) String() string
func (*GetUserReply_Job) Validate ¶
func (m *GetUserReply_Job) Validate() error
Validate checks the field values on GetUserReply_Job with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserReply_Job) ValidateAll ¶
func (m *GetUserReply_Job) ValidateAll() error
ValidateAll checks the field values on GetUserReply_Job with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReply_JobMultiError, or nil if none found.
type GetUserReply_JobMultiError ¶
type GetUserReply_JobMultiError []error
GetUserReply_JobMultiError is an error wrapping multiple validation errors returned by GetUserReply_Job.ValidateAll() if the designated constraints aren't met.
func (GetUserReply_JobMultiError) AllErrors ¶
func (m GetUserReply_JobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReply_JobMultiError) Error ¶
func (m GetUserReply_JobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReply_JobValidationError ¶
type GetUserReply_JobValidationError struct {
// contains filtered or unexported fields
}
GetUserReply_JobValidationError is the validation error returned by GetUserReply_Job.Validate if the designated constraints aren't met.
func (GetUserReply_JobValidationError) Cause ¶
func (e GetUserReply_JobValidationError) Cause() error
Cause function returns cause value.
func (GetUserReply_JobValidationError) Error ¶
func (e GetUserReply_JobValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReply_JobValidationError) ErrorName ¶
func (e GetUserReply_JobValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReply_JobValidationError) Field ¶
func (e GetUserReply_JobValidationError) Field() string
Field function returns field value.
func (GetUserReply_JobValidationError) Key ¶
func (e GetUserReply_JobValidationError) Key() bool
Key function returns key value.
func (GetUserReply_JobValidationError) Reason ¶
func (e GetUserReply_JobValidationError) Reason() string
Reason function returns reason value.
type GetUserReply_Role ¶
type GetUserReply_Role struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply_Role) Descriptor
deprecated
func (*GetUserReply_Role) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply_Role.ProtoReflect.Descriptor instead.
func (*GetUserReply_Role) GetId ¶
func (x *GetUserReply_Role) GetId() uint32
func (*GetUserReply_Role) GetKeyword ¶
func (x *GetUserReply_Role) GetKeyword() string
func (*GetUserReply_Role) GetName ¶
func (x *GetUserReply_Role) GetName() string
func (*GetUserReply_Role) ProtoMessage ¶
func (*GetUserReply_Role) ProtoMessage()
func (*GetUserReply_Role) ProtoReflect ¶
func (x *GetUserReply_Role) ProtoReflect() protoreflect.Message
func (*GetUserReply_Role) Reset ¶
func (x *GetUserReply_Role) Reset()
func (*GetUserReply_Role) String ¶
func (x *GetUserReply_Role) String() string
func (*GetUserReply_Role) Validate ¶
func (m *GetUserReply_Role) Validate() error
Validate checks the field values on GetUserReply_Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserReply_Role) ValidateAll ¶
func (m *GetUserReply_Role) ValidateAll() error
ValidateAll checks the field values on GetUserReply_Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReply_RoleMultiError, or nil if none found.
type GetUserReply_RoleMultiError ¶
type GetUserReply_RoleMultiError []error
GetUserReply_RoleMultiError is an error wrapping multiple validation errors returned by GetUserReply_Role.ValidateAll() if the designated constraints aren't met.
func (GetUserReply_RoleMultiError) AllErrors ¶
func (m GetUserReply_RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReply_RoleMultiError) Error ¶
func (m GetUserReply_RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReply_RoleValidationError ¶
type GetUserReply_RoleValidationError struct {
// contains filtered or unexported fields
}
GetUserReply_RoleValidationError is the validation error returned by GetUserReply_Role.Validate if the designated constraints aren't met.
func (GetUserReply_RoleValidationError) Cause ¶
func (e GetUserReply_RoleValidationError) Cause() error
Cause function returns cause value.
func (GetUserReply_RoleValidationError) Error ¶
func (e GetUserReply_RoleValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReply_RoleValidationError) ErrorName ¶
func (e GetUserReply_RoleValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReply_RoleValidationError) Field ¶
func (e GetUserReply_RoleValidationError) Field() string
Field function returns field value.
func (GetUserReply_RoleValidationError) Key ¶
func (e GetUserReply_RoleValidationError) Key() bool
Key function returns key value.
func (GetUserReply_RoleValidationError) Reason ¶
func (e GetUserReply_RoleValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetEmail ¶
func (x *GetUserRequest) GetEmail() string
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() uint32
func (*GetUserRequest) GetPhone ¶
func (x *GetUserRequest) GetPhone() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserReply ¶
type ListUserReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListUserReply) Descriptor
deprecated
func (*ListUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.
func (*ListUserReply) GetList ¶
func (x *ListUserReply) GetList() []*ListUserReply_User
func (*ListUserReply) GetTotal ¶
func (x *ListUserReply) GetTotal() uint32
func (*ListUserReply) ProtoMessage ¶
func (*ListUserReply) ProtoMessage()
func (*ListUserReply) ProtoReflect ¶
func (x *ListUserReply) ProtoReflect() protoreflect.Message
func (*ListUserReply) Reset ¶
func (x *ListUserReply) Reset()
func (*ListUserReply) String ¶
func (x *ListUserReply) String() string
func (*ListUserReply) Validate ¶
func (m *ListUserReply) Validate() error
Validate checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply) ValidateAll ¶
func (m *ListUserReply) ValidateAll() error
ValidateAll checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReplyMultiError, or nil if none found.
type ListUserReplyMultiError ¶
type ListUserReplyMultiError []error
ListUserReplyMultiError is an error wrapping multiple validation errors returned by ListUserReply.ValidateAll() if the designated constraints aren't met.
func (ListUserReplyMultiError) AllErrors ¶
func (m ListUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReplyMultiError) Error ¶
func (m ListUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReplyValidationError ¶
type ListUserReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserReplyValidationError is the validation error returned by ListUserReply.Validate if the designated constraints aren't met.
func (ListUserReplyValidationError) Cause ¶
func (e ListUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserReplyValidationError) Error ¶
func (e ListUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReplyValidationError) ErrorName ¶
func (e ListUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReplyValidationError) Field ¶
func (e ListUserReplyValidationError) Field() string
Field function returns field value.
func (ListUserReplyValidationError) Key ¶
func (e ListUserReplyValidationError) Key() bool
Key function returns key value.
func (ListUserReplyValidationError) Reason ¶
func (e ListUserReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserReply_Department ¶
type ListUserReply_Department struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*ListUserReply_Department) Descriptor
deprecated
func (*ListUserReply_Department) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply_Department.ProtoReflect.Descriptor instead.
func (*ListUserReply_Department) GetId ¶
func (x *ListUserReply_Department) GetId() uint32
func (*ListUserReply_Department) GetKeyword ¶
func (x *ListUserReply_Department) GetKeyword() string
func (*ListUserReply_Department) GetName ¶
func (x *ListUserReply_Department) GetName() string
func (*ListUserReply_Department) ProtoMessage ¶
func (*ListUserReply_Department) ProtoMessage()
func (*ListUserReply_Department) ProtoReflect ¶
func (x *ListUserReply_Department) ProtoReflect() protoreflect.Message
func (*ListUserReply_Department) Reset ¶
func (x *ListUserReply_Department) Reset()
func (*ListUserReply_Department) String ¶
func (x *ListUserReply_Department) String() string
func (*ListUserReply_Department) Validate ¶
func (m *ListUserReply_Department) Validate() error
Validate checks the field values on ListUserReply_Department with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply_Department) ValidateAll ¶
func (m *ListUserReply_Department) ValidateAll() error
ValidateAll checks the field values on ListUserReply_Department with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReply_DepartmentMultiError, or nil if none found.
type ListUserReply_DepartmentMultiError ¶
type ListUserReply_DepartmentMultiError []error
ListUserReply_DepartmentMultiError is an error wrapping multiple validation errors returned by ListUserReply_Department.ValidateAll() if the designated constraints aren't met.
func (ListUserReply_DepartmentMultiError) AllErrors ¶
func (m ListUserReply_DepartmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReply_DepartmentMultiError) Error ¶
func (m ListUserReply_DepartmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReply_DepartmentValidationError ¶
type ListUserReply_DepartmentValidationError struct {
// contains filtered or unexported fields
}
ListUserReply_DepartmentValidationError is the validation error returned by ListUserReply_Department.Validate if the designated constraints aren't met.
func (ListUserReply_DepartmentValidationError) Cause ¶
func (e ListUserReply_DepartmentValidationError) Cause() error
Cause function returns cause value.
func (ListUserReply_DepartmentValidationError) Error ¶
func (e ListUserReply_DepartmentValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReply_DepartmentValidationError) ErrorName ¶
func (e ListUserReply_DepartmentValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReply_DepartmentValidationError) Field ¶
func (e ListUserReply_DepartmentValidationError) Field() string
Field function returns field value.
func (ListUserReply_DepartmentValidationError) Key ¶
func (e ListUserReply_DepartmentValidationError) Key() bool
Key function returns key value.
func (ListUserReply_DepartmentValidationError) Reason ¶
func (e ListUserReply_DepartmentValidationError) Reason() string
Reason function returns reason value.
type ListUserReply_Role ¶
type ListUserReply_Role struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*ListUserReply_Role) Descriptor
deprecated
func (*ListUserReply_Role) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply_Role.ProtoReflect.Descriptor instead.
func (*ListUserReply_Role) GetId ¶
func (x *ListUserReply_Role) GetId() uint32
func (*ListUserReply_Role) GetKeyword ¶
func (x *ListUserReply_Role) GetKeyword() string
func (*ListUserReply_Role) GetName ¶
func (x *ListUserReply_Role) GetName() string
func (*ListUserReply_Role) ProtoMessage ¶
func (*ListUserReply_Role) ProtoMessage()
func (*ListUserReply_Role) ProtoReflect ¶
func (x *ListUserReply_Role) ProtoReflect() protoreflect.Message
func (*ListUserReply_Role) Reset ¶
func (x *ListUserReply_Role) Reset()
func (*ListUserReply_Role) String ¶
func (x *ListUserReply_Role) String() string
func (*ListUserReply_Role) Validate ¶
func (m *ListUserReply_Role) Validate() error
Validate checks the field values on ListUserReply_Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply_Role) ValidateAll ¶
func (m *ListUserReply_Role) ValidateAll() error
ValidateAll checks the field values on ListUserReply_Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReply_RoleMultiError, or nil if none found.
type ListUserReply_RoleMultiError ¶
type ListUserReply_RoleMultiError []error
ListUserReply_RoleMultiError is an error wrapping multiple validation errors returned by ListUserReply_Role.ValidateAll() if the designated constraints aren't met.
func (ListUserReply_RoleMultiError) AllErrors ¶
func (m ListUserReply_RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReply_RoleMultiError) Error ¶
func (m ListUserReply_RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReply_RoleValidationError ¶
type ListUserReply_RoleValidationError struct {
// contains filtered or unexported fields
}
ListUserReply_RoleValidationError is the validation error returned by ListUserReply_Role.Validate if the designated constraints aren't met.
func (ListUserReply_RoleValidationError) Cause ¶
func (e ListUserReply_RoleValidationError) Cause() error
Cause function returns cause value.
func (ListUserReply_RoleValidationError) Error ¶
func (e ListUserReply_RoleValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReply_RoleValidationError) ErrorName ¶
func (e ListUserReply_RoleValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReply_RoleValidationError) Field ¶
func (e ListUserReply_RoleValidationError) Field() string
Field function returns field value.
func (ListUserReply_RoleValidationError) Key ¶
func (e ListUserReply_RoleValidationError) Key() bool
Key function returns key value.
func (ListUserReply_RoleValidationError) Reason ¶
func (e ListUserReply_RoleValidationError) Reason() string
Reason function returns reason value.
type ListUserReply_User ¶
type ListUserReply_User struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` Avatar *string `protobuf:"bytes,5,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Status *bool `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"` LoggedAt uint32 `protobuf:"varint,9,opt,name=loggedAt,proto3" json:"loggedAt,omitempty"` CreatedAt uint32 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Department *ListUserReply_Department `protobuf:"bytes,17,opt,name=department,proto3,oneof" json:"department,omitempty"` Role *ListUserReply_Role `protobuf:"bytes,18,opt,name=role,proto3,oneof" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListUserReply_User) Descriptor
deprecated
func (*ListUserReply_User) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply_User.ProtoReflect.Descriptor instead.
func (*ListUserReply_User) GetAvatar ¶
func (x *ListUserReply_User) GetAvatar() string
func (*ListUserReply_User) GetCreatedAt ¶
func (x *ListUserReply_User) GetCreatedAt() uint32
func (*ListUserReply_User) GetDepartment ¶
func (x *ListUserReply_User) GetDepartment() *ListUserReply_Department
func (*ListUserReply_User) GetEmail ¶
func (x *ListUserReply_User) GetEmail() string
func (*ListUserReply_User) GetGender ¶
func (x *ListUserReply_User) GetGender() string
func (*ListUserReply_User) GetId ¶
func (x *ListUserReply_User) GetId() uint32
func (*ListUserReply_User) GetLoggedAt ¶
func (x *ListUserReply_User) GetLoggedAt() uint32
func (*ListUserReply_User) GetName ¶
func (x *ListUserReply_User) GetName() string
func (*ListUserReply_User) GetNickname ¶
func (x *ListUserReply_User) GetNickname() string
func (*ListUserReply_User) GetPhone ¶
func (x *ListUserReply_User) GetPhone() string
func (*ListUserReply_User) GetRole ¶
func (x *ListUserReply_User) GetRole() *ListUserReply_Role
func (*ListUserReply_User) GetStatus ¶
func (x *ListUserReply_User) GetStatus() bool
func (*ListUserReply_User) GetUpdatedAt ¶
func (x *ListUserReply_User) GetUpdatedAt() uint32
func (*ListUserReply_User) ProtoMessage ¶
func (*ListUserReply_User) ProtoMessage()
func (*ListUserReply_User) ProtoReflect ¶
func (x *ListUserReply_User) ProtoReflect() protoreflect.Message
func (*ListUserReply_User) Reset ¶
func (x *ListUserReply_User) Reset()
func (*ListUserReply_User) String ¶
func (x *ListUserReply_User) String() string
func (*ListUserReply_User) Validate ¶
func (m *ListUserReply_User) Validate() error
Validate checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply_User) ValidateAll ¶
func (m *ListUserReply_User) ValidateAll() error
ValidateAll checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReply_UserMultiError, or nil if none found.
type ListUserReply_UserMultiError ¶
type ListUserReply_UserMultiError []error
ListUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListUserReply_User.ValidateAll() if the designated constraints aren't met.
func (ListUserReply_UserMultiError) AllErrors ¶
func (m ListUserReply_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReply_UserMultiError) Error ¶
func (m ListUserReply_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReply_UserValidationError ¶
type ListUserReply_UserValidationError struct {
// contains filtered or unexported fields
}
ListUserReply_UserValidationError is the validation error returned by ListUserReply_User.Validate if the designated constraints aren't met.
func (ListUserReply_UserValidationError) Cause ¶
func (e ListUserReply_UserValidationError) Cause() error
Cause function returns cause value.
func (ListUserReply_UserValidationError) Error ¶
func (e ListUserReply_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReply_UserValidationError) ErrorName ¶
func (e ListUserReply_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReply_UserValidationError) Field ¶
func (e ListUserReply_UserValidationError) Field() string
Field function returns field value.
func (ListUserReply_UserValidationError) Key ¶
func (e ListUserReply_UserValidationError) Key() bool
Key function returns key value.
func (ListUserReply_UserValidationError) Reason ¶
func (e ListUserReply_UserValidationError) Reason() string
Reason function returns reason value.
type ListUserRequest ¶
type ListUserRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` DepartmentId *uint32 `protobuf:"varint,5,opt,name=departmentId,proto3,oneof" json:"departmentId,omitempty"` RoleId *uint32 `protobuf:"varint,6,opt,name=roleId,proto3,oneof" json:"roleId,omitempty"` Name *string `protobuf:"bytes,7,opt,name=name,proto3,oneof" json:"name,omitempty"` Phone *string `protobuf:"bytes,8,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,9,opt,name=email,proto3,oneof" json:"email,omitempty"` Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"` LoggedAts []uint32 `protobuf:"varint,11,rep,packed,name=loggedAts,proto3" json:"loggedAts,omitempty"` CreatedAts []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"` // contains filtered or unexported fields }
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetCreatedAts ¶
func (x *ListUserRequest) GetCreatedAts() []uint32
func (*ListUserRequest) GetDepartmentId ¶
func (x *ListUserRequest) GetDepartmentId() uint32
func (*ListUserRequest) GetEmail ¶
func (x *ListUserRequest) GetEmail() string
func (*ListUserRequest) GetLoggedAts ¶
func (x *ListUserRequest) GetLoggedAts() []uint32
func (*ListUserRequest) GetName ¶
func (x *ListUserRequest) GetName() string
func (*ListUserRequest) GetOrder ¶
func (x *ListUserRequest) GetOrder() string
func (*ListUserRequest) GetOrderBy ¶
func (x *ListUserRequest) GetOrderBy() string
func (*ListUserRequest) GetPage ¶
func (x *ListUserRequest) GetPage() uint32
func (*ListUserRequest) GetPageSize ¶
func (x *ListUserRequest) GetPageSize() uint32
func (*ListUserRequest) GetPhone ¶
func (x *ListUserRequest) GetPhone() string
func (*ListUserRequest) GetRoleId ¶
func (x *ListUserRequest) GetRoleId() uint32
func (*ListUserRequest) GetStatus ¶
func (x *ListUserRequest) GetStatus() bool
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
func (*ListUserRequest) Validate ¶
func (m *ListUserRequest) Validate() error
Validate checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserRequest) ValidateAll ¶
func (m *ListUserRequest) ValidateAll() error
ValidateAll checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserRequestMultiError, or nil if none found.
type ListUserRequestMultiError ¶
type ListUserRequestMultiError []error
ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserRequestMultiError) AllErrors ¶
func (m ListUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRequestMultiError) Error ¶
func (m ListUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRequestValidationError ¶
type ListUserRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.
func (ListUserRequestValidationError) Cause ¶
func (e ListUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserRequestValidationError) Error ¶
func (e ListUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRequestValidationError) ErrorName ¶
func (e ListUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRequestValidationError) Field ¶
func (e ListUserRequestValidationError) Field() string
Field function returns field value.
func (ListUserRequestValidationError) Key ¶
func (e ListUserRequestValidationError) Key() bool
Key function returns key value.
func (ListUserRequestValidationError) Reason ¶
func (e ListUserRequestValidationError) Reason() string
Reason function returns reason value.
type ResetUserPasswordReply ¶
type ResetUserPasswordReply struct {
// contains filtered or unexported fields
}
func (*ResetUserPasswordReply) Descriptor
deprecated
func (*ResetUserPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use ResetUserPasswordReply.ProtoReflect.Descriptor instead.
func (*ResetUserPasswordReply) ProtoMessage ¶
func (*ResetUserPasswordReply) ProtoMessage()
func (*ResetUserPasswordReply) ProtoReflect ¶
func (x *ResetUserPasswordReply) ProtoReflect() protoreflect.Message
func (*ResetUserPasswordReply) Reset ¶
func (x *ResetUserPasswordReply) Reset()
func (*ResetUserPasswordReply) String ¶
func (x *ResetUserPasswordReply) String() string
func (*ResetUserPasswordReply) Validate ¶
func (m *ResetUserPasswordReply) Validate() error
Validate checks the field values on ResetUserPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResetUserPasswordReply) ValidateAll ¶
func (m *ResetUserPasswordReply) ValidateAll() error
ValidateAll checks the field values on ResetUserPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetUserPasswordReplyMultiError, or nil if none found.
type ResetUserPasswordReplyMultiError ¶
type ResetUserPasswordReplyMultiError []error
ResetUserPasswordReplyMultiError is an error wrapping multiple validation errors returned by ResetUserPasswordReply.ValidateAll() if the designated constraints aren't met.
func (ResetUserPasswordReplyMultiError) AllErrors ¶
func (m ResetUserPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetUserPasswordReplyMultiError) Error ¶
func (m ResetUserPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetUserPasswordReplyValidationError ¶
type ResetUserPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
ResetUserPasswordReplyValidationError is the validation error returned by ResetUserPasswordReply.Validate if the designated constraints aren't met.
func (ResetUserPasswordReplyValidationError) Cause ¶
func (e ResetUserPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (ResetUserPasswordReplyValidationError) Error ¶
func (e ResetUserPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ResetUserPasswordReplyValidationError) ErrorName ¶
func (e ResetUserPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ResetUserPasswordReplyValidationError) Field ¶
func (e ResetUserPasswordReplyValidationError) Field() string
Field function returns field value.
func (ResetUserPasswordReplyValidationError) Key ¶
func (e ResetUserPasswordReplyValidationError) Key() bool
Key function returns key value.
func (ResetUserPasswordReplyValidationError) Reason ¶
func (e ResetUserPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type ResetUserPasswordRequest ¶
type ResetUserPasswordRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResetUserPasswordRequest) Descriptor
deprecated
func (*ResetUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetUserPasswordRequest) GetId ¶
func (x *ResetUserPasswordRequest) GetId() uint32
func (*ResetUserPasswordRequest) ProtoMessage ¶
func (*ResetUserPasswordRequest) ProtoMessage()
func (*ResetUserPasswordRequest) ProtoReflect ¶
func (x *ResetUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetUserPasswordRequest) Reset ¶
func (x *ResetUserPasswordRequest) Reset()
func (*ResetUserPasswordRequest) String ¶
func (x *ResetUserPasswordRequest) String() string
func (*ResetUserPasswordRequest) Validate ¶
func (m *ResetUserPasswordRequest) Validate() error
Validate checks the field values on ResetUserPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResetUserPasswordRequest) ValidateAll ¶
func (m *ResetUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ResetUserPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetUserPasswordRequestMultiError, or nil if none found.
type ResetUserPasswordRequestMultiError ¶
type ResetUserPasswordRequestMultiError []error
ResetUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by ResetUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ResetUserPasswordRequestMultiError) AllErrors ¶
func (m ResetUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetUserPasswordRequestMultiError) Error ¶
func (m ResetUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetUserPasswordRequestValidationError ¶
type ResetUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ResetUserPasswordRequestValidationError is the validation error returned by ResetUserPasswordRequest.Validate if the designated constraints aren't met.
func (ResetUserPasswordRequestValidationError) Cause ¶
func (e ResetUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetUserPasswordRequestValidationError) Error ¶
func (e ResetUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetUserPasswordRequestValidationError) ErrorName ¶
func (e ResetUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetUserPasswordRequestValidationError) Field ¶
func (e ResetUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (ResetUserPasswordRequestValidationError) Key ¶
func (e ResetUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ResetUserPasswordRequestValidationError) Reason ¶
func (e ResetUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type SendCurrentUserCaptchaReply ¶
type SendCurrentUserCaptchaReply struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*SendCurrentUserCaptchaReply) Descriptor
deprecated
func (*SendCurrentUserCaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use SendCurrentUserCaptchaReply.ProtoReflect.Descriptor instead.
func (*SendCurrentUserCaptchaReply) GetCaptcha ¶
func (x *SendCurrentUserCaptchaReply) GetCaptcha() string
func (*SendCurrentUserCaptchaReply) GetExpire ¶
func (x *SendCurrentUserCaptchaReply) GetExpire() uint32
func (*SendCurrentUserCaptchaReply) GetUuid ¶
func (x *SendCurrentUserCaptchaReply) GetUuid() string
func (*SendCurrentUserCaptchaReply) ProtoMessage ¶
func (*SendCurrentUserCaptchaReply) ProtoMessage()
func (*SendCurrentUserCaptchaReply) ProtoReflect ¶
func (x *SendCurrentUserCaptchaReply) ProtoReflect() protoreflect.Message
func (*SendCurrentUserCaptchaReply) Reset ¶
func (x *SendCurrentUserCaptchaReply) Reset()
func (*SendCurrentUserCaptchaReply) String ¶
func (x *SendCurrentUserCaptchaReply) String() string
func (*SendCurrentUserCaptchaReply) Validate ¶
func (m *SendCurrentUserCaptchaReply) Validate() error
Validate checks the field values on SendCurrentUserCaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendCurrentUserCaptchaReply) ValidateAll ¶
func (m *SendCurrentUserCaptchaReply) ValidateAll() error
ValidateAll checks the field values on SendCurrentUserCaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendCurrentUserCaptchaReplyMultiError, or nil if none found.
type SendCurrentUserCaptchaReplyMultiError ¶
type SendCurrentUserCaptchaReplyMultiError []error
SendCurrentUserCaptchaReplyMultiError is an error wrapping multiple validation errors returned by SendCurrentUserCaptchaReply.ValidateAll() if the designated constraints aren't met.
func (SendCurrentUserCaptchaReplyMultiError) AllErrors ¶
func (m SendCurrentUserCaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendCurrentUserCaptchaReplyMultiError) Error ¶
func (m SendCurrentUserCaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendCurrentUserCaptchaReplyValidationError ¶
type SendCurrentUserCaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
SendCurrentUserCaptchaReplyValidationError is the validation error returned by SendCurrentUserCaptchaReply.Validate if the designated constraints aren't met.
func (SendCurrentUserCaptchaReplyValidationError) Cause ¶
func (e SendCurrentUserCaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (SendCurrentUserCaptchaReplyValidationError) Error ¶
func (e SendCurrentUserCaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SendCurrentUserCaptchaReplyValidationError) ErrorName ¶
func (e SendCurrentUserCaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SendCurrentUserCaptchaReplyValidationError) Field ¶
func (e SendCurrentUserCaptchaReplyValidationError) Field() string
Field function returns field value.
func (SendCurrentUserCaptchaReplyValidationError) Key ¶
func (e SendCurrentUserCaptchaReplyValidationError) Key() bool
Key function returns key value.
func (SendCurrentUserCaptchaReplyValidationError) Reason ¶
func (e SendCurrentUserCaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type SendCurrentUserCaptchaRequest ¶
type SendCurrentUserCaptchaRequest struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*SendCurrentUserCaptchaRequest) Descriptor
deprecated
func (*SendCurrentUserCaptchaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendCurrentUserCaptchaRequest.ProtoReflect.Descriptor instead.
func (*SendCurrentUserCaptchaRequest) GetType ¶
func (x *SendCurrentUserCaptchaRequest) GetType() string
func (*SendCurrentUserCaptchaRequest) ProtoMessage ¶
func (*SendCurrentUserCaptchaRequest) ProtoMessage()
func (*SendCurrentUserCaptchaRequest) ProtoReflect ¶
func (x *SendCurrentUserCaptchaRequest) ProtoReflect() protoreflect.Message
func (*SendCurrentUserCaptchaRequest) Reset ¶
func (x *SendCurrentUserCaptchaRequest) Reset()
func (*SendCurrentUserCaptchaRequest) String ¶
func (x *SendCurrentUserCaptchaRequest) String() string
func (*SendCurrentUserCaptchaRequest) Validate ¶
func (m *SendCurrentUserCaptchaRequest) Validate() error
Validate checks the field values on SendCurrentUserCaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendCurrentUserCaptchaRequest) ValidateAll ¶
func (m *SendCurrentUserCaptchaRequest) ValidateAll() error
ValidateAll checks the field values on SendCurrentUserCaptchaRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendCurrentUserCaptchaRequestMultiError, or nil if none found.
type SendCurrentUserCaptchaRequestMultiError ¶
type SendCurrentUserCaptchaRequestMultiError []error
SendCurrentUserCaptchaRequestMultiError is an error wrapping multiple validation errors returned by SendCurrentUserCaptchaRequest.ValidateAll() if the designated constraints aren't met.
func (SendCurrentUserCaptchaRequestMultiError) AllErrors ¶
func (m SendCurrentUserCaptchaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendCurrentUserCaptchaRequestMultiError) Error ¶
func (m SendCurrentUserCaptchaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendCurrentUserCaptchaRequestValidationError ¶
type SendCurrentUserCaptchaRequestValidationError struct {
// contains filtered or unexported fields
}
SendCurrentUserCaptchaRequestValidationError is the validation error returned by SendCurrentUserCaptchaRequest.Validate if the designated constraints aren't met.
func (SendCurrentUserCaptchaRequestValidationError) Cause ¶
func (e SendCurrentUserCaptchaRequestValidationError) Cause() error
Cause function returns cause value.
func (SendCurrentUserCaptchaRequestValidationError) Error ¶
func (e SendCurrentUserCaptchaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendCurrentUserCaptchaRequestValidationError) ErrorName ¶
func (e SendCurrentUserCaptchaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendCurrentUserCaptchaRequestValidationError) Field ¶
func (e SendCurrentUserCaptchaRequestValidationError) Field() string
Field function returns field value.
func (SendCurrentUserCaptchaRequestValidationError) Key ¶
func (e SendCurrentUserCaptchaRequestValidationError) Key() bool
Key function returns key value.
func (SendCurrentUserCaptchaRequestValidationError) Reason ¶
func (e SendCurrentUserCaptchaRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) CreateUser ¶
func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
func (UnimplementedUserServer) DeleteUser ¶
func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
func (UnimplementedUserServer) GetCurrentUser ¶
func (UnimplementedUserServer) GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
func (UnimplementedUserServer) GetUser ¶
func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
func (UnimplementedUserServer) GetUserLoginCaptcha ¶
func (UnimplementedUserServer) GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error)
func (UnimplementedUserServer) ListUser ¶
func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
func (UnimplementedUserServer) ResetUserPassword ¶
func (UnimplementedUserServer) ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error)
func (UnimplementedUserServer) SendCurrentUserCaptcha ¶
func (UnimplementedUserServer) SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error)
func (UnimplementedUserServer) UpdateCurrentUser ¶
func (UnimplementedUserServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
func (UnimplementedUserServer) UpdateCurrentUserPassword ¶
func (UnimplementedUserServer) UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error)
func (UnimplementedUserServer) UpdateCurrentUserRole ¶
func (UnimplementedUserServer) UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error)
func (UnimplementedUserServer) UpdateCurrentUserSetting ¶
func (UnimplementedUserServer) UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error)
func (UnimplementedUserServer) UpdateUser ¶
func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
func (UnimplementedUserServer) UpdateUserStatus ¶
func (UnimplementedUserServer) UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
func (UnimplementedUserServer) UserLogin ¶
func (UnimplementedUserServer) UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
func (UnimplementedUserServer) UserLogout ¶
func (UnimplementedUserServer) UserRefreshToken ¶
func (UnimplementedUserServer) UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error)
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UpdateCurrentUserPasswordReply ¶
type UpdateCurrentUserPasswordReply struct {
// contains filtered or unexported fields
}
func (*UpdateCurrentUserPasswordReply) Descriptor
deprecated
func (*UpdateCurrentUserPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserPasswordReply.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserPasswordReply) ProtoMessage ¶
func (*UpdateCurrentUserPasswordReply) ProtoMessage()
func (*UpdateCurrentUserPasswordReply) ProtoReflect ¶
func (x *UpdateCurrentUserPasswordReply) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserPasswordReply) Reset ¶
func (x *UpdateCurrentUserPasswordReply) Reset()
func (*UpdateCurrentUserPasswordReply) String ¶
func (x *UpdateCurrentUserPasswordReply) String() string
func (*UpdateCurrentUserPasswordReply) Validate ¶
func (m *UpdateCurrentUserPasswordReply) Validate() error
Validate checks the field values on UpdateCurrentUserPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserPasswordReply) ValidateAll ¶
func (m *UpdateCurrentUserPasswordReply) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserPasswordReplyMultiError, or nil if none found.
type UpdateCurrentUserPasswordReplyMultiError ¶
type UpdateCurrentUserPasswordReplyMultiError []error
UpdateCurrentUserPasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserPasswordReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserPasswordReplyMultiError) AllErrors ¶
func (m UpdateCurrentUserPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserPasswordReplyMultiError) Error ¶
func (m UpdateCurrentUserPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserPasswordReplyValidationError ¶
type UpdateCurrentUserPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserPasswordReplyValidationError is the validation error returned by UpdateCurrentUserPasswordReply.Validate if the designated constraints aren't met.
func (UpdateCurrentUserPasswordReplyValidationError) Cause ¶
func (e UpdateCurrentUserPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserPasswordReplyValidationError) Error ¶
func (e UpdateCurrentUserPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserPasswordReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserPasswordReplyValidationError) Field ¶
func (e UpdateCurrentUserPasswordReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserPasswordReplyValidationError) Key ¶
func (e UpdateCurrentUserPasswordReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserPasswordReplyValidationError) Reason ¶
func (e UpdateCurrentUserPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserPasswordRequest ¶
type UpdateCurrentUserPasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` OldPassword *string `protobuf:"bytes,2,opt,name=oldPassword,proto3,oneof" json:"oldPassword,omitempty"` CaptchaId *string `protobuf:"bytes,3,opt,name=captchaId,proto3,oneof" json:"captchaId,omitempty"` Captcha *string `protobuf:"bytes,4,opt,name=captcha,proto3,oneof" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*UpdateCurrentUserPasswordRequest) Descriptor
deprecated
func (*UpdateCurrentUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserPasswordRequest) GetCaptcha ¶
func (x *UpdateCurrentUserPasswordRequest) GetCaptcha() string
func (*UpdateCurrentUserPasswordRequest) GetCaptchaId ¶
func (x *UpdateCurrentUserPasswordRequest) GetCaptchaId() string
func (*UpdateCurrentUserPasswordRequest) GetOldPassword ¶
func (x *UpdateCurrentUserPasswordRequest) GetOldPassword() string
func (*UpdateCurrentUserPasswordRequest) GetPassword ¶
func (x *UpdateCurrentUserPasswordRequest) GetPassword() string
func (*UpdateCurrentUserPasswordRequest) ProtoMessage ¶
func (*UpdateCurrentUserPasswordRequest) ProtoMessage()
func (*UpdateCurrentUserPasswordRequest) ProtoReflect ¶
func (x *UpdateCurrentUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserPasswordRequest) Reset ¶
func (x *UpdateCurrentUserPasswordRequest) Reset()
func (*UpdateCurrentUserPasswordRequest) String ¶
func (x *UpdateCurrentUserPasswordRequest) String() string
func (*UpdateCurrentUserPasswordRequest) Validate ¶
func (m *UpdateCurrentUserPasswordRequest) Validate() error
Validate checks the field values on UpdateCurrentUserPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserPasswordRequest) ValidateAll ¶
func (m *UpdateCurrentUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserPasswordRequestMultiError, or nil if none found.
type UpdateCurrentUserPasswordRequestMultiError ¶
type UpdateCurrentUserPasswordRequestMultiError []error
UpdateCurrentUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserPasswordRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserPasswordRequestMultiError) Error ¶
func (m UpdateCurrentUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserPasswordRequestValidationError ¶
type UpdateCurrentUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserPasswordRequestValidationError is the validation error returned by UpdateCurrentUserPasswordRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserPasswordRequestValidationError) Cause ¶
func (e UpdateCurrentUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserPasswordRequestValidationError) Error ¶
func (e UpdateCurrentUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserPasswordRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserPasswordRequestValidationError) Field ¶
func (e UpdateCurrentUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserPasswordRequestValidationError) Key ¶
func (e UpdateCurrentUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserPasswordRequestValidationError) Reason ¶
func (e UpdateCurrentUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserReply ¶
type UpdateCurrentUserReply struct {
// contains filtered or unexported fields
}
func (*UpdateCurrentUserReply) Descriptor
deprecated
func (*UpdateCurrentUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserReply.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserReply) ProtoMessage ¶
func (*UpdateCurrentUserReply) ProtoMessage()
func (*UpdateCurrentUserReply) ProtoReflect ¶
func (x *UpdateCurrentUserReply) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserReply) Reset ¶
func (x *UpdateCurrentUserReply) Reset()
func (*UpdateCurrentUserReply) String ¶
func (x *UpdateCurrentUserReply) String() string
func (*UpdateCurrentUserReply) Validate ¶
func (m *UpdateCurrentUserReply) Validate() error
Validate checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserReply) ValidateAll ¶
func (m *UpdateCurrentUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserReplyMultiError, or nil if none found.
type UpdateCurrentUserReplyMultiError ¶
type UpdateCurrentUserReplyMultiError []error
UpdateCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserReplyMultiError) AllErrors ¶
func (m UpdateCurrentUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserReplyMultiError) Error ¶
func (m UpdateCurrentUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserReplyValidationError ¶
type UpdateCurrentUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserReplyValidationError is the validation error returned by UpdateCurrentUserReply.Validate if the designated constraints aren't met.
func (UpdateCurrentUserReplyValidationError) Cause ¶
func (e UpdateCurrentUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserReplyValidationError) Error ¶
func (e UpdateCurrentUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserReplyValidationError) Field ¶
func (e UpdateCurrentUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserReplyValidationError) Key ¶
func (e UpdateCurrentUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserReplyValidationError) Reason ¶
func (e UpdateCurrentUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserRequest ¶
type UpdateCurrentUserRequest struct { Avatar *string `protobuf:"bytes,1,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*UpdateCurrentUserRequest) Descriptor
deprecated
func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserRequest) GetAvatar ¶
func (x *UpdateCurrentUserRequest) GetAvatar() string
func (*UpdateCurrentUserRequest) GetGender ¶
func (x *UpdateCurrentUserRequest) GetGender() string
func (*UpdateCurrentUserRequest) GetNickname ¶
func (x *UpdateCurrentUserRequest) GetNickname() string
func (*UpdateCurrentUserRequest) ProtoMessage ¶
func (*UpdateCurrentUserRequest) ProtoMessage()
func (*UpdateCurrentUserRequest) ProtoReflect ¶
func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserRequest) Reset ¶
func (x *UpdateCurrentUserRequest) Reset()
func (*UpdateCurrentUserRequest) String ¶
func (x *UpdateCurrentUserRequest) String() string
func (*UpdateCurrentUserRequest) Validate ¶
func (m *UpdateCurrentUserRequest) Validate() error
Validate checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserRequest) ValidateAll ¶
func (m *UpdateCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRequestMultiError, or nil if none found.
type UpdateCurrentUserRequestMultiError ¶
type UpdateCurrentUserRequestMultiError []error
UpdateCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserRequestMultiError) Error ¶
func (m UpdateCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserRequestValidationError ¶
type UpdateCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserRequestValidationError is the validation error returned by UpdateCurrentUserRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserRequestValidationError) Cause ¶
func (e UpdateCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserRequestValidationError) Error ¶
func (e UpdateCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserRequestValidationError) Field ¶
func (e UpdateCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserRequestValidationError) Key ¶
func (e UpdateCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserRequestValidationError) Reason ¶
func (e UpdateCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserRoleReply ¶
type UpdateCurrentUserRoleReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UpdateCurrentUserRoleReply) Descriptor
deprecated
func (*UpdateCurrentUserRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserRoleReply.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserRoleReply) GetToken ¶
func (x *UpdateCurrentUserRoleReply) GetToken() string
func (*UpdateCurrentUserRoleReply) ProtoMessage ¶
func (*UpdateCurrentUserRoleReply) ProtoMessage()
func (*UpdateCurrentUserRoleReply) ProtoReflect ¶
func (x *UpdateCurrentUserRoleReply) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserRoleReply) Reset ¶
func (x *UpdateCurrentUserRoleReply) Reset()
func (*UpdateCurrentUserRoleReply) String ¶
func (x *UpdateCurrentUserRoleReply) String() string
func (*UpdateCurrentUserRoleReply) Validate ¶
func (m *UpdateCurrentUserRoleReply) Validate() error
Validate checks the field values on UpdateCurrentUserRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserRoleReply) ValidateAll ¶
func (m *UpdateCurrentUserRoleReply) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRoleReplyMultiError, or nil if none found.
type UpdateCurrentUserRoleReplyMultiError ¶
type UpdateCurrentUserRoleReplyMultiError []error
UpdateCurrentUserRoleReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRoleReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserRoleReplyMultiError) AllErrors ¶
func (m UpdateCurrentUserRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserRoleReplyMultiError) Error ¶
func (m UpdateCurrentUserRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserRoleReplyValidationError ¶
type UpdateCurrentUserRoleReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserRoleReplyValidationError is the validation error returned by UpdateCurrentUserRoleReply.Validate if the designated constraints aren't met.
func (UpdateCurrentUserRoleReplyValidationError) Cause ¶
func (e UpdateCurrentUserRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserRoleReplyValidationError) Error ¶
func (e UpdateCurrentUserRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserRoleReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserRoleReplyValidationError) Field ¶
func (e UpdateCurrentUserRoleReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserRoleReplyValidationError) Key ¶
func (e UpdateCurrentUserRoleReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserRoleReplyValidationError) Reason ¶
func (e UpdateCurrentUserRoleReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserRoleRequest ¶
type UpdateCurrentUserRoleRequest struct { RoleId uint32 `protobuf:"varint,1,opt,name=roleId,proto3" json:"roleId,omitempty"` // contains filtered or unexported fields }
func (*UpdateCurrentUserRoleRequest) Descriptor
deprecated
func (*UpdateCurrentUserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserRoleRequest) GetRoleId ¶
func (x *UpdateCurrentUserRoleRequest) GetRoleId() uint32
func (*UpdateCurrentUserRoleRequest) ProtoMessage ¶
func (*UpdateCurrentUserRoleRequest) ProtoMessage()
func (*UpdateCurrentUserRoleRequest) ProtoReflect ¶
func (x *UpdateCurrentUserRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserRoleRequest) Reset ¶
func (x *UpdateCurrentUserRoleRequest) Reset()
func (*UpdateCurrentUserRoleRequest) String ¶
func (x *UpdateCurrentUserRoleRequest) String() string
func (*UpdateCurrentUserRoleRequest) Validate ¶
func (m *UpdateCurrentUserRoleRequest) Validate() error
Validate checks the field values on UpdateCurrentUserRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserRoleRequest) ValidateAll ¶
func (m *UpdateCurrentUserRoleRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRoleRequestMultiError, or nil if none found.
type UpdateCurrentUserRoleRequestMultiError ¶
type UpdateCurrentUserRoleRequestMultiError []error
UpdateCurrentUserRoleRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRoleRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserRoleRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserRoleRequestMultiError) Error ¶
func (m UpdateCurrentUserRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserRoleRequestValidationError ¶
type UpdateCurrentUserRoleRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserRoleRequestValidationError is the validation error returned by UpdateCurrentUserRoleRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserRoleRequestValidationError) Cause ¶
func (e UpdateCurrentUserRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserRoleRequestValidationError) Error ¶
func (e UpdateCurrentUserRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserRoleRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserRoleRequestValidationError) Field ¶
func (e UpdateCurrentUserRoleRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserRoleRequestValidationError) Key ¶
func (e UpdateCurrentUserRoleRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserRoleRequestValidationError) Reason ¶
func (e UpdateCurrentUserRoleRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserSettingReply ¶
type UpdateCurrentUserSettingReply struct {
// contains filtered or unexported fields
}
func (*UpdateCurrentUserSettingReply) Descriptor
deprecated
func (*UpdateCurrentUserSettingReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserSettingReply.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserSettingReply) ProtoMessage ¶
func (*UpdateCurrentUserSettingReply) ProtoMessage()
func (*UpdateCurrentUserSettingReply) ProtoReflect ¶
func (x *UpdateCurrentUserSettingReply) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserSettingReply) Reset ¶
func (x *UpdateCurrentUserSettingReply) Reset()
func (*UpdateCurrentUserSettingReply) String ¶
func (x *UpdateCurrentUserSettingReply) String() string
func (*UpdateCurrentUserSettingReply) Validate ¶
func (m *UpdateCurrentUserSettingReply) Validate() error
Validate checks the field values on UpdateCurrentUserSettingReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserSettingReply) ValidateAll ¶
func (m *UpdateCurrentUserSettingReply) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserSettingReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserSettingReplyMultiError, or nil if none found.
type UpdateCurrentUserSettingReplyMultiError ¶
type UpdateCurrentUserSettingReplyMultiError []error
UpdateCurrentUserSettingReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserSettingReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserSettingReplyMultiError) AllErrors ¶
func (m UpdateCurrentUserSettingReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserSettingReplyMultiError) Error ¶
func (m UpdateCurrentUserSettingReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserSettingReplyValidationError ¶
type UpdateCurrentUserSettingReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserSettingReplyValidationError is the validation error returned by UpdateCurrentUserSettingReply.Validate if the designated constraints aren't met.
func (UpdateCurrentUserSettingReplyValidationError) Cause ¶
func (e UpdateCurrentUserSettingReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserSettingReplyValidationError) Error ¶
func (e UpdateCurrentUserSettingReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserSettingReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserSettingReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserSettingReplyValidationError) Field ¶
func (e UpdateCurrentUserSettingReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserSettingReplyValidationError) Key ¶
func (e UpdateCurrentUserSettingReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserSettingReplyValidationError) Reason ¶
func (e UpdateCurrentUserSettingReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserSettingRequest ¶
type UpdateCurrentUserSettingRequest struct { Setting string `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*UpdateCurrentUserSettingRequest) Descriptor
deprecated
func (*UpdateCurrentUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserSettingRequest) GetSetting ¶
func (x *UpdateCurrentUserSettingRequest) GetSetting() string
func (*UpdateCurrentUserSettingRequest) ProtoMessage ¶
func (*UpdateCurrentUserSettingRequest) ProtoMessage()
func (*UpdateCurrentUserSettingRequest) ProtoReflect ¶
func (x *UpdateCurrentUserSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserSettingRequest) Reset ¶
func (x *UpdateCurrentUserSettingRequest) Reset()
func (*UpdateCurrentUserSettingRequest) String ¶
func (x *UpdateCurrentUserSettingRequest) String() string
func (*UpdateCurrentUserSettingRequest) Validate ¶
func (m *UpdateCurrentUserSettingRequest) Validate() error
Validate checks the field values on UpdateCurrentUserSettingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserSettingRequest) ValidateAll ¶
func (m *UpdateCurrentUserSettingRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserSettingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserSettingRequestMultiError, or nil if none found.
type UpdateCurrentUserSettingRequestMultiError ¶
type UpdateCurrentUserSettingRequestMultiError []error
UpdateCurrentUserSettingRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserSettingRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserSettingRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserSettingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserSettingRequestMultiError) Error ¶
func (m UpdateCurrentUserSettingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserSettingRequestValidationError ¶
type UpdateCurrentUserSettingRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserSettingRequestValidationError is the validation error returned by UpdateCurrentUserSettingRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserSettingRequestValidationError) Cause ¶
func (e UpdateCurrentUserSettingRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserSettingRequestValidationError) Error ¶
func (e UpdateCurrentUserSettingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserSettingRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserSettingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserSettingRequestValidationError) Field ¶
func (e UpdateCurrentUserSettingRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserSettingRequestValidationError) Key ¶
func (e UpdateCurrentUserSettingRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserSettingRequestValidationError) Reason ¶
func (e UpdateCurrentUserSettingRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserReply ¶
type UpdateUserReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserReply) Descriptor
deprecated
func (*UpdateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.
func (*UpdateUserReply) ProtoMessage ¶
func (*UpdateUserReply) ProtoMessage()
func (*UpdateUserReply) ProtoReflect ¶
func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
func (*UpdateUserReply) Reset ¶
func (x *UpdateUserReply) Reset()
func (*UpdateUserReply) String ¶
func (x *UpdateUserReply) String() string
func (*UpdateUserReply) Validate ¶
func (m *UpdateUserReply) Validate() error
Validate checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserReply) ValidateAll ¶
func (m *UpdateUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserReplyMultiError, or nil if none found.
type UpdateUserReplyMultiError ¶
type UpdateUserReplyMultiError []error
UpdateUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserReplyMultiError) AllErrors ¶
func (m UpdateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserReplyMultiError) Error ¶
func (m UpdateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserReplyValidationError ¶
type UpdateUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.
func (UpdateUserReplyValidationError) Cause ¶
func (e UpdateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserReplyValidationError) Error ¶
func (e UpdateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserReplyValidationError) ErrorName ¶
func (e UpdateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserReplyValidationError) Field ¶
func (e UpdateUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserReplyValidationError) Key ¶
func (e UpdateUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserReplyValidationError) Reason ¶
func (e UpdateUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DepartmentId uint32 `protobuf:"varint,2,opt,name=departmentId,proto3" json:"departmentId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` JobIds []uint32 `protobuf:"varint,7,rep,packed,name=jobIds,proto3" json:"jobIds,omitempty"` RoleIds []uint32 `protobuf:"varint,8,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetDepartmentId ¶
func (x *UpdateUserRequest) GetDepartmentId() uint32
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetGender ¶
func (x *UpdateUserRequest) GetGender() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint32
func (*UpdateUserRequest) GetJobIds ¶
func (x *UpdateUserRequest) GetJobIds() []uint32
func (*UpdateUserRequest) GetName ¶
func (x *UpdateUserRequest) GetName() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetRoleIds ¶
func (x *UpdateUserRequest) GetRoleIds() []uint32
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserStatusReply ¶
type UpdateUserStatusReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserStatusReply) Descriptor
deprecated
func (*UpdateUserStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserStatusReply.ProtoReflect.Descriptor instead.
func (*UpdateUserStatusReply) ProtoMessage ¶
func (*UpdateUserStatusReply) ProtoMessage()
func (*UpdateUserStatusReply) ProtoReflect ¶
func (x *UpdateUserStatusReply) ProtoReflect() protoreflect.Message
func (*UpdateUserStatusReply) Reset ¶
func (x *UpdateUserStatusReply) Reset()
func (*UpdateUserStatusReply) String ¶
func (x *UpdateUserStatusReply) String() string
func (*UpdateUserStatusReply) Validate ¶
func (m *UpdateUserStatusReply) Validate() error
Validate checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserStatusReply) ValidateAll ¶
func (m *UpdateUserStatusReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusReplyMultiError, or nil if none found.
type UpdateUserStatusReplyMultiError ¶
type UpdateUserStatusReplyMultiError []error
UpdateUserStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserStatusReplyMultiError) AllErrors ¶
func (m UpdateUserStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserStatusReplyMultiError) Error ¶
func (m UpdateUserStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserStatusReplyValidationError ¶
type UpdateUserStatusReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserStatusReplyValidationError is the validation error returned by UpdateUserStatusReply.Validate if the designated constraints aren't met.
func (UpdateUserStatusReplyValidationError) Cause ¶
func (e UpdateUserStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserStatusReplyValidationError) Error ¶
func (e UpdateUserStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserStatusReplyValidationError) ErrorName ¶
func (e UpdateUserStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserStatusReplyValidationError) Field ¶
func (e UpdateUserStatusReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserStatusReplyValidationError) Key ¶
func (e UpdateUserStatusReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserStatusReplyValidationError) Reason ¶
func (e UpdateUserStatusReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserStatusRequest ¶
type UpdateUserStatusRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserStatusRequest) Descriptor
deprecated
func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserStatusRequest) GetId ¶
func (x *UpdateUserStatusRequest) GetId() uint32
func (*UpdateUserStatusRequest) GetStatus ¶
func (x *UpdateUserStatusRequest) GetStatus() bool
func (*UpdateUserStatusRequest) ProtoMessage ¶
func (*UpdateUserStatusRequest) ProtoMessage()
func (*UpdateUserStatusRequest) ProtoReflect ¶
func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserStatusRequest) Reset ¶
func (x *UpdateUserStatusRequest) Reset()
func (*UpdateUserStatusRequest) String ¶
func (x *UpdateUserStatusRequest) String() string
func (*UpdateUserStatusRequest) Validate ¶
func (m *UpdateUserStatusRequest) Validate() error
Validate checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserStatusRequest) ValidateAll ¶
func (m *UpdateUserStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusRequestMultiError, or nil if none found.
type UpdateUserStatusRequestMultiError ¶
type UpdateUserStatusRequestMultiError []error
UpdateUserStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserStatusRequestMultiError) AllErrors ¶
func (m UpdateUserStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserStatusRequestMultiError) Error ¶
func (m UpdateUserStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserStatusRequestValidationError ¶
type UpdateUserStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserStatusRequestValidationError is the validation error returned by UpdateUserStatusRequest.Validate if the designated constraints aren't met.
func (UpdateUserStatusRequestValidationError) Cause ¶
func (e UpdateUserStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserStatusRequestValidationError) Error ¶
func (e UpdateUserStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserStatusRequestValidationError) ErrorName ¶
func (e UpdateUserStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserStatusRequestValidationError) Field ¶
func (e UpdateUserStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserStatusRequestValidationError) Key ¶
func (e UpdateUserStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserStatusRequestValidationError) Reason ¶
func (e UpdateUserStatusRequestValidationError) Reason() string
Reason function returns reason value.
type UserClient ¶
type UserClient interface { // GetUser 获取指定的用户信息 GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error) // ListUser 获取用户信息列表 ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserReply, error) // CreateUser 创建用户信息 CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserReply, error) // UpdateUser 更新用户信息 UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error) // UpdateUserStatus 更新用户信息状态 UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusReply, error) // DeleteUser 删除用户信息 DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserReply, error) // GetCurrentUser 获取当前用户信息 GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserReply, error) // ResetUserPassword 重置用户密码 ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...grpc.CallOption) (*ResetUserPasswordReply, error) // UpdateCurrentUser 更新当前用户信息 UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*UpdateCurrentUserReply, error) // UpdateCurrentUserRole 切换用户当前角色 UpdateCurrentUserRole(ctx context.Context, in *UpdateCurrentUserRoleRequest, opts ...grpc.CallOption) (*UpdateCurrentUserRoleReply, error) // UpdateCurrentUserPassword 用户修改密码 UpdateCurrentUserPassword(ctx context.Context, in *UpdateCurrentUserPasswordRequest, opts ...grpc.CallOption) (*UpdateCurrentUserPasswordReply, error) // UpdateCurrentUserSetting 用户设置保存 UpdateCurrentUserSetting(ctx context.Context, in *UpdateCurrentUserSettingRequest, opts ...grpc.CallOption) (*UpdateCurrentUserSettingReply, error) // SendCurrentUserCaptcha 发送用户验证吗 SendCurrentUserCaptcha(ctx context.Context, in *SendCurrentUserCaptchaRequest, opts ...grpc.CallOption) (*SendCurrentUserCaptchaReply, error) // GetUserLoginCaptcha 获取用户登陆验证吗 GetUserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLoginCaptchaReply, error) // UserLogin 用户登陆 UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginReply, error) // UserLogout 用户退出 UserLogout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // UserRefreshToken 用户刷新token UserRefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserRefreshTokenReply, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserHTTPClient ¶
type UserHTTPClient interface { CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserReply, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *DeleteUserReply, err error) GetCurrentUser(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserReply, err error) GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserReply, err error) GetUserLoginCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserLoginCaptchaReply, err error) ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserReply, err error) ResetUserPassword(ctx context.Context, req *ResetUserPasswordRequest, opts ...http.CallOption) (rsp *ResetUserPasswordReply, err error) SendCurrentUserCaptcha(ctx context.Context, req *SendCurrentUserCaptchaRequest, opts ...http.CallOption) (rsp *SendCurrentUserCaptchaReply, err error) UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserReply, err error) UpdateCurrentUserPassword(ctx context.Context, req *UpdateCurrentUserPasswordRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserPasswordReply, err error) UpdateCurrentUserRole(ctx context.Context, req *UpdateCurrentUserRoleRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserRoleReply, err error) UpdateCurrentUserSetting(ctx context.Context, req *UpdateCurrentUserSettingRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserSettingReply, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error) UpdateUserStatus(ctx context.Context, req *UpdateUserStatusRequest, opts ...http.CallOption) (rsp *UpdateUserStatusReply, err error) UserLogin(ctx context.Context, req *UserLoginRequest, opts ...http.CallOption) (rsp *UserLoginReply, err error) UserLogout(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UserRefreshToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *UserRefreshTokenReply, err error) }
func NewUserHTTPClient ¶
func NewUserHTTPClient(client *http.Client) UserHTTPClient
type UserHTTPClientImpl ¶
type UserHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*UserHTTPClientImpl) CreateUser ¶
func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
func (*UserHTTPClientImpl) DeleteUser ¶
func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserReply, error)
func (*UserHTTPClientImpl) GetCurrentUser ¶
func (c *UserHTTPClientImpl) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserReply, error)
func (*UserHTTPClientImpl) GetUser ¶
func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
func (*UserHTTPClientImpl) GetUserLoginCaptcha ¶
func (c *UserHTTPClientImpl) GetUserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserLoginCaptchaReply, error)
func (*UserHTTPClientImpl) ListUser ¶
func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
func (*UserHTTPClientImpl) ResetUserPassword ¶
func (c *UserHTTPClientImpl) ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...http.CallOption) (*ResetUserPasswordReply, error)
func (*UserHTTPClientImpl) SendCurrentUserCaptcha ¶
func (c *UserHTTPClientImpl) SendCurrentUserCaptcha(ctx context.Context, in *SendCurrentUserCaptchaRequest, opts ...http.CallOption) (*SendCurrentUserCaptchaReply, error)
func (*UserHTTPClientImpl) UpdateCurrentUser ¶
func (c *UserHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*UpdateCurrentUserReply, error)
func (*UserHTTPClientImpl) UpdateCurrentUserPassword ¶
func (c *UserHTTPClientImpl) UpdateCurrentUserPassword(ctx context.Context, in *UpdateCurrentUserPasswordRequest, opts ...http.CallOption) (*UpdateCurrentUserPasswordReply, error)
func (*UserHTTPClientImpl) UpdateCurrentUserRole ¶
func (c *UserHTTPClientImpl) UpdateCurrentUserRole(ctx context.Context, in *UpdateCurrentUserRoleRequest, opts ...http.CallOption) (*UpdateCurrentUserRoleReply, error)
func (*UserHTTPClientImpl) UpdateCurrentUserSetting ¶
func (c *UserHTTPClientImpl) UpdateCurrentUserSetting(ctx context.Context, in *UpdateCurrentUserSettingRequest, opts ...http.CallOption) (*UpdateCurrentUserSettingReply, error)
func (*UserHTTPClientImpl) UpdateUser ¶
func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
func (*UserHTTPClientImpl) UpdateUserStatus ¶
func (c *UserHTTPClientImpl) UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...http.CallOption) (*UpdateUserStatusReply, error)
func (*UserHTTPClientImpl) UserLogin ¶
func (c *UserHTTPClientImpl) UserLogin(ctx context.Context, in *UserLoginRequest, opts ...http.CallOption) (*UserLoginReply, error)
func (*UserHTTPClientImpl) UserLogout ¶
func (c *UserHTTPClientImpl) UserLogout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
func (*UserHTTPClientImpl) UserRefreshToken ¶
func (c *UserHTTPClientImpl) UserRefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*UserRefreshTokenReply, error)
type UserHTTPServer ¶
type UserHTTPServer interface { // CreateUser CreateUser 创建用户信息 CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error) // DeleteUser DeleteUser 删除用户信息 DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error) // GetCurrentUser GetCurrentUser 获取当前用户信息 GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error) // GetUser GetUser 获取指定的用户信息 GetUser(context.Context, *GetUserRequest) (*GetUserReply, error) // GetUserLoginCaptcha GetUserLoginCaptcha 获取用户登陆验证吗 GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error) // ListUser ListUser 获取用户信息列表 ListUser(context.Context, *ListUserRequest) (*ListUserReply, error) // ResetUserPassword ResetUserPassword 重置用户密码 ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error) // SendCurrentUserCaptcha SendCurrentUserCaptcha 发送用户验证吗 SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error) // UpdateCurrentUser UpdateCurrentUser 更新当前用户信息 UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error) // UpdateCurrentUserPassword UpdateCurrentUserPassword 用户修改密码 UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error) // UpdateCurrentUserRole UpdateCurrentUserRole 切换用户当前角色 UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error) // UpdateCurrentUserSetting UpdateCurrentUserSetting 用户设置保存 UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error) // UpdateUser UpdateUser 更新用户信息 UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) // UpdateUserStatus UpdateUserStatus 更新用户信息状态 UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error) // UserLogin UserLogin 用户登陆 UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error) // UserLogout UserLogout 用户退出 UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // UserRefreshToken UserRefreshToken 用户刷新token UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error) }
type UserLoginReply ¶
type UserLoginReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UserLoginReply) Descriptor
deprecated
func (*UserLoginReply) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginReply.ProtoReflect.Descriptor instead.
func (*UserLoginReply) GetToken ¶
func (x *UserLoginReply) GetToken() string
func (*UserLoginReply) ProtoMessage ¶
func (*UserLoginReply) ProtoMessage()
func (*UserLoginReply) ProtoReflect ¶
func (x *UserLoginReply) ProtoReflect() protoreflect.Message
func (*UserLoginReply) Reset ¶
func (x *UserLoginReply) Reset()
func (*UserLoginReply) String ¶
func (x *UserLoginReply) String() string
func (*UserLoginReply) Validate ¶
func (m *UserLoginReply) Validate() error
Validate checks the field values on UserLoginReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserLoginReply) ValidateAll ¶
func (m *UserLoginReply) ValidateAll() error
ValidateAll checks the field values on UserLoginReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserLoginReplyMultiError, or nil if none found.
type UserLoginReplyMultiError ¶
type UserLoginReplyMultiError []error
UserLoginReplyMultiError is an error wrapping multiple validation errors returned by UserLoginReply.ValidateAll() if the designated constraints aren't met.
func (UserLoginReplyMultiError) AllErrors ¶
func (m UserLoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLoginReplyMultiError) Error ¶
func (m UserLoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLoginReplyValidationError ¶
type UserLoginReplyValidationError struct {
// contains filtered or unexported fields
}
UserLoginReplyValidationError is the validation error returned by UserLoginReply.Validate if the designated constraints aren't met.
func (UserLoginReplyValidationError) Cause ¶
func (e UserLoginReplyValidationError) Cause() error
Cause function returns cause value.
func (UserLoginReplyValidationError) Error ¶
func (e UserLoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UserLoginReplyValidationError) ErrorName ¶
func (e UserLoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UserLoginReplyValidationError) Field ¶
func (e UserLoginReplyValidationError) Field() string
Field function returns field value.
func (UserLoginReplyValidationError) Key ¶
func (e UserLoginReplyValidationError) Key() bool
Key function returns key value.
func (UserLoginReplyValidationError) Reason ¶
func (e UserLoginReplyValidationError) Reason() string
Reason function returns reason value.
type UserLoginRequest ¶
type UserLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` CaptchaId string `protobuf:"bytes,3,opt,name=captchaId,proto3" json:"captchaId,omitempty"` Captcha string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*UserLoginRequest) Descriptor
deprecated
func (*UserLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.
func (*UserLoginRequest) GetCaptcha ¶
func (x *UserLoginRequest) GetCaptcha() string
func (*UserLoginRequest) GetCaptchaId ¶
func (x *UserLoginRequest) GetCaptchaId() string
func (*UserLoginRequest) GetPassword ¶
func (x *UserLoginRequest) GetPassword() string
func (*UserLoginRequest) GetUsername ¶
func (x *UserLoginRequest) GetUsername() string
func (*UserLoginRequest) ProtoMessage ¶
func (*UserLoginRequest) ProtoMessage()
func (*UserLoginRequest) ProtoReflect ¶
func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
func (*UserLoginRequest) Reset ¶
func (x *UserLoginRequest) Reset()
func (*UserLoginRequest) String ¶
func (x *UserLoginRequest) String() string
func (*UserLoginRequest) Validate ¶
func (m *UserLoginRequest) Validate() error
Validate checks the field values on UserLoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserLoginRequest) ValidateAll ¶
func (m *UserLoginRequest) ValidateAll() error
ValidateAll checks the field values on UserLoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserLoginRequestMultiError, or nil if none found.
type UserLoginRequestMultiError ¶
type UserLoginRequestMultiError []error
UserLoginRequestMultiError is an error wrapping multiple validation errors returned by UserLoginRequest.ValidateAll() if the designated constraints aren't met.
func (UserLoginRequestMultiError) AllErrors ¶
func (m UserLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLoginRequestMultiError) Error ¶
func (m UserLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLoginRequestValidationError ¶
type UserLoginRequestValidationError struct {
// contains filtered or unexported fields
}
UserLoginRequestValidationError is the validation error returned by UserLoginRequest.Validate if the designated constraints aren't met.
func (UserLoginRequestValidationError) Cause ¶
func (e UserLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (UserLoginRequestValidationError) Error ¶
func (e UserLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserLoginRequestValidationError) ErrorName ¶
func (e UserLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserLoginRequestValidationError) Field ¶
func (e UserLoginRequestValidationError) Field() string
Field function returns field value.
func (UserLoginRequestValidationError) Key ¶
func (e UserLoginRequestValidationError) Key() bool
Key function returns key value.
func (UserLoginRequestValidationError) Reason ¶
func (e UserLoginRequestValidationError) Reason() string
Reason function returns reason value.
type UserRefreshTokenReply ¶
type UserRefreshTokenReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UserRefreshTokenReply) Descriptor
deprecated
func (*UserRefreshTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use UserRefreshTokenReply.ProtoReflect.Descriptor instead.
func (*UserRefreshTokenReply) GetToken ¶
func (x *UserRefreshTokenReply) GetToken() string
func (*UserRefreshTokenReply) ProtoMessage ¶
func (*UserRefreshTokenReply) ProtoMessage()
func (*UserRefreshTokenReply) ProtoReflect ¶
func (x *UserRefreshTokenReply) ProtoReflect() protoreflect.Message
func (*UserRefreshTokenReply) Reset ¶
func (x *UserRefreshTokenReply) Reset()
func (*UserRefreshTokenReply) String ¶
func (x *UserRefreshTokenReply) String() string
func (*UserRefreshTokenReply) Validate ¶
func (m *UserRefreshTokenReply) Validate() error
Validate checks the field values on UserRefreshTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserRefreshTokenReply) ValidateAll ¶
func (m *UserRefreshTokenReply) ValidateAll() error
ValidateAll checks the field values on UserRefreshTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserRefreshTokenReplyMultiError, or nil if none found.
type UserRefreshTokenReplyMultiError ¶
type UserRefreshTokenReplyMultiError []error
UserRefreshTokenReplyMultiError is an error wrapping multiple validation errors returned by UserRefreshTokenReply.ValidateAll() if the designated constraints aren't met.
func (UserRefreshTokenReplyMultiError) AllErrors ¶
func (m UserRefreshTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserRefreshTokenReplyMultiError) Error ¶
func (m UserRefreshTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserRefreshTokenReplyValidationError ¶
type UserRefreshTokenReplyValidationError struct {
// contains filtered or unexported fields
}
UserRefreshTokenReplyValidationError is the validation error returned by UserRefreshTokenReply.Validate if the designated constraints aren't met.
func (UserRefreshTokenReplyValidationError) Cause ¶
func (e UserRefreshTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (UserRefreshTokenReplyValidationError) Error ¶
func (e UserRefreshTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UserRefreshTokenReplyValidationError) ErrorName ¶
func (e UserRefreshTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UserRefreshTokenReplyValidationError) Field ¶
func (e UserRefreshTokenReplyValidationError) Field() string
Field function returns field value.
func (UserRefreshTokenReplyValidationError) Key ¶
func (e UserRefreshTokenReplyValidationError) Key() bool
Key function returns key value.
func (UserRefreshTokenReplyValidationError) Reason ¶
func (e UserRefreshTokenReplyValidationError) Reason() string
Reason function returns reason value.
type UserServer ¶
type UserServer interface { // GetUser 获取指定的用户信息 GetUser(context.Context, *GetUserRequest) (*GetUserReply, error) // ListUser 获取用户信息列表 ListUser(context.Context, *ListUserRequest) (*ListUserReply, error) // CreateUser 创建用户信息 CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error) // UpdateUser 更新用户信息 UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) // UpdateUserStatus 更新用户信息状态 UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error) // DeleteUser 删除用户信息 DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error) // GetCurrentUser 获取当前用户信息 GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error) // ResetUserPassword 重置用户密码 ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error) // UpdateCurrentUser 更新当前用户信息 UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error) // UpdateCurrentUserRole 切换用户当前角色 UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error) // UpdateCurrentUserPassword 用户修改密码 UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error) // UpdateCurrentUserSetting 用户设置保存 UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error) // SendCurrentUserCaptcha 发送用户验证吗 SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error) // GetUserLoginCaptcha 获取用户登陆验证吗 GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error) // UserLogin 用户登陆 UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error) // UserLogout 用户退出 UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // UserRefreshToken 用户刷新token UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility