Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type CreatUserVerifyReqeust
- func (*CreatUserVerifyReqeust) Descriptor() ([]byte, []int)deprecated
- func (x *CreatUserVerifyReqeust) GetUrl() string
- func (x *CreatUserVerifyReqeust) GetUserID() string
- func (*CreatUserVerifyReqeust) ProtoMessage()
- func (x *CreatUserVerifyReqeust) ProtoReflect() protoreflect.Message
- func (x *CreatUserVerifyReqeust) Reset()
- func (x *CreatUserVerifyReqeust) String() string
- func (m *CreatUserVerifyReqeust) Validate() error
- func (m *CreatUserVerifyReqeust) ValidateAll() error
- type CreatUserVerifyReqeustMultiError
- type CreatUserVerifyReqeustValidationError
- func (e CreatUserVerifyReqeustValidationError) Cause() error
- func (e CreatUserVerifyReqeustValidationError) Error() string
- func (e CreatUserVerifyReqeustValidationError) ErrorName() string
- func (e CreatUserVerifyReqeustValidationError) Field() string
- func (e CreatUserVerifyReqeustValidationError) Key() bool
- func (e CreatUserVerifyReqeustValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetAvatarUrl() string
- func (x *CreateUserRequest) GetComment() string
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetOrgID() string
- func (x *CreateUserRequest) GetPhone() string
- func (x *CreateUserRequest) GetRoleID() string
- func (x *CreateUserRequest) GetUserID() string
- func (x *CreateUserRequest) GetUserName() string
- 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 CreateVerifyUrl
- func (*CreateVerifyUrl) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVerifyUrl) GetURL() string
- func (x *CreateVerifyUrl) GetUserID() string
- func (*CreateVerifyUrl) ProtoMessage()
- func (x *CreateVerifyUrl) ProtoReflect() protoreflect.Message
- func (x *CreateVerifyUrl) Reset()
- func (x *CreateVerifyUrl) String() string
- func (m *CreateVerifyUrl) Validate() error
- func (m *CreateVerifyUrl) ValidateAll() error
- type CreateVerifyUrlMultiError
- type CreateVerifyUrlValidationError
- func (e CreateVerifyUrlValidationError) Cause() error
- func (e CreateVerifyUrlValidationError) Error() string
- func (e CreateVerifyUrlValidationError) ErrorName() string
- func (e CreateVerifyUrlValidationError) Field() string
- func (e CreateVerifyUrlValidationError) Key() bool
- func (e CreateVerifyUrlValidationError) Reason() string
- type DeleteUserReply
- func (*DeleteUserReply) Descriptor() ([]byte, []int)deprecated
- 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) GetId() string
- 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 DeleteUserRoleBindRequest
- func (*DeleteUserRoleBindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRoleBindRequest) GetBindIDList() []string
- func (*DeleteUserRoleBindRequest) ProtoMessage()
- func (x *DeleteUserRoleBindRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRoleBindRequest) Reset()
- func (x *DeleteUserRoleBindRequest) String() string
- func (m *DeleteUserRoleBindRequest) Validate() error
- func (m *DeleteUserRoleBindRequest) ValidateAll() error
- type DeleteUserRoleBindRequestMultiError
- type DeleteUserRoleBindRequestValidationError
- func (e DeleteUserRoleBindRequestValidationError) Cause() error
- func (e DeleteUserRoleBindRequestValidationError) Error() string
- func (e DeleteUserRoleBindRequestValidationError) ErrorName() string
- func (e DeleteUserRoleBindRequestValidationError) Field() string
- func (e DeleteUserRoleBindRequestValidationError) Key() bool
- func (e DeleteUserRoleBindRequestValidationError) Reason() string
- type GetUserReply
- func (*GetUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply) GetAvatarUrl() string
- func (x *GetUserReply) GetComment() string
- func (x *GetUserReply) GetEmail() string
- func (x *GetUserReply) GetId() string
- func (x *GetUserReply) GetIsVerify() bool
- func (x *GetUserReply) GetOrg() *GetUserReply_Organizion
- func (x *GetUserReply) GetPhone() string
- func (x *GetUserReply) GetRole() []*GetUserReply_Role
- func (x *GetUserReply) GetUserID() string
- func (x *GetUserReply) GetUserName() string
- 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_Organizion
- func (*GetUserReply_Organizion) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply_Organizion) GetOrgID() string
- func (x *GetUserReply_Organizion) GetOrgName() string
- func (*GetUserReply_Organizion) ProtoMessage()
- func (x *GetUserReply_Organizion) ProtoReflect() protoreflect.Message
- func (x *GetUserReply_Organizion) Reset()
- func (x *GetUserReply_Organizion) String() string
- func (m *GetUserReply_Organizion) Validate() error
- func (m *GetUserReply_Organizion) ValidateAll() error
- type GetUserReply_OrganizionMultiError
- type GetUserReply_OrganizionValidationError
- func (e GetUserReply_OrganizionValidationError) Cause() error
- func (e GetUserReply_OrganizionValidationError) Error() string
- func (e GetUserReply_OrganizionValidationError) ErrorName() string
- func (e GetUserReply_OrganizionValidationError) Field() string
- func (e GetUserReply_OrganizionValidationError) Key() bool
- func (e GetUserReply_OrganizionValidationError) Reason() string
- type GetUserReply_Role
- func (*GetUserReply_Role) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply_Role) GetRoleID() string
- func (x *GetUserReply_Role) GetRoleName() 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) GetId() 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) GetDataList() []*GetUserReply
- func (x *ListUserReply) GetPage() int32
- func (x *ListUserReply) GetPerPage() int32
- func (x *ListUserReply) GetTotal() int32
- 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 ListUserRoleBindReply
- func (*ListUserRoleBindReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRoleBindReply) GetUserRoleBinds() []*ListUserRoleBindReply_UserRoleBindReply
- func (*ListUserRoleBindReply) ProtoMessage()
- func (x *ListUserRoleBindReply) ProtoReflect() protoreflect.Message
- func (x *ListUserRoleBindReply) Reset()
- func (x *ListUserRoleBindReply) String() string
- func (m *ListUserRoleBindReply) Validate() error
- func (m *ListUserRoleBindReply) ValidateAll() error
- type ListUserRoleBindReplyMultiError
- type ListUserRoleBindReplyValidationError
- func (e ListUserRoleBindReplyValidationError) Cause() error
- func (e ListUserRoleBindReplyValidationError) Error() string
- func (e ListUserRoleBindReplyValidationError) ErrorName() string
- func (e ListUserRoleBindReplyValidationError) Field() string
- func (e ListUserRoleBindReplyValidationError) Key() bool
- func (e ListUserRoleBindReplyValidationError) Reason() string
- type ListUserRoleBindReply_UserRoleBindReply
- func (*ListUserRoleBindReply_UserRoleBindReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRoleBindReply_UserRoleBindReply) GetRoleList() []*ListUserRoleBindReply_UserRoleBindReply_RoleReply
- func (x *ListUserRoleBindReply_UserRoleBindReply) GetUserID() string
- func (x *ListUserRoleBindReply_UserRoleBindReply) GetUserName() string
- func (*ListUserRoleBindReply_UserRoleBindReply) ProtoMessage()
- func (x *ListUserRoleBindReply_UserRoleBindReply) ProtoReflect() protoreflect.Message
- func (x *ListUserRoleBindReply_UserRoleBindReply) Reset()
- func (x *ListUserRoleBindReply_UserRoleBindReply) String() string
- func (m *ListUserRoleBindReply_UserRoleBindReply) Validate() error
- func (m *ListUserRoleBindReply_UserRoleBindReply) ValidateAll() error
- type ListUserRoleBindReply_UserRoleBindReplyMultiError
- type ListUserRoleBindReply_UserRoleBindReplyValidationError
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Cause() error
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Error() string
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) ErrorName() string
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Field() string
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Key() bool
- func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Reason() string
- type ListUserRoleBindReply_UserRoleBindReply_RoleReply
- func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetBindID() string
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleID() string
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleName() string
- func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoMessage()
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoReflect() protoreflect.Message
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) Reset()
- func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) String() string
- func (m *ListUserRoleBindReply_UserRoleBindReply_RoleReply) Validate() error
- func (m *ListUserRoleBindReply_UserRoleBindReply_RoleReply) ValidateAll() error
- type ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError
- type ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Cause() error
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Error() string
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) ErrorName() string
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Field() string
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Key() bool
- func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Reason() string
- type ListUserRoleBindRequest
- func (*ListUserRoleBindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRoleBindRequest) GetUserIDList() []string
- func (*ListUserRoleBindRequest) ProtoMessage()
- func (x *ListUserRoleBindRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRoleBindRequest) Reset()
- func (x *ListUserRoleBindRequest) String() string
- func (m *ListUserRoleBindRequest) Validate() error
- func (m *ListUserRoleBindRequest) ValidateAll() error
- type ListUserRoleBindRequestMultiError
- type ListUserRoleBindRequestValidationError
- func (e ListUserRoleBindRequestValidationError) Cause() error
- func (e ListUserRoleBindRequestValidationError) Error() string
- func (e ListUserRoleBindRequestValidationError) ErrorName() string
- func (e ListUserRoleBindRequestValidationError) Field() string
- func (e ListUserRoleBindRequestValidationError) Key() bool
- func (e ListUserRoleBindRequestValidationError) Reason() string
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetToken() string
- func (x *LoginReply) GetUser() *GetUserReply
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUserID() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type PhoneVerifyReply
- func (*PhoneVerifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *PhoneVerifyReply) GetIdCard() string
- func (x *PhoneVerifyReply) GetOrgID() string
- func (x *PhoneVerifyReply) GetOrgName() string
- func (x *PhoneVerifyReply) GetStatus() UserStatus
- func (x *PhoneVerifyReply) GetUserID() string
- func (*PhoneVerifyReply) ProtoMessage()
- func (x *PhoneVerifyReply) ProtoReflect() protoreflect.Message
- func (x *PhoneVerifyReply) Reset()
- func (x *PhoneVerifyReply) String() string
- func (m *PhoneVerifyReply) Validate() error
- func (m *PhoneVerifyReply) ValidateAll() error
- type PhoneVerifyReplyMultiError
- type PhoneVerifyReplyValidationError
- func (e PhoneVerifyReplyValidationError) Cause() error
- func (e PhoneVerifyReplyValidationError) Error() string
- func (e PhoneVerifyReplyValidationError) ErrorName() string
- func (e PhoneVerifyReplyValidationError) Field() string
- func (e PhoneVerifyReplyValidationError) Key() bool
- func (e PhoneVerifyReplyValidationError) Reason() string
- type PhoneVerifyRequest
- func (*PhoneVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PhoneVerifyRequest) GetCode() string
- func (x *PhoneVerifyRequest) GetPhone() string
- func (*PhoneVerifyRequest) ProtoMessage()
- func (x *PhoneVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *PhoneVerifyRequest) Reset()
- func (x *PhoneVerifyRequest) String() string
- func (m *PhoneVerifyRequest) Validate() error
- func (m *PhoneVerifyRequest) ValidateAll() error
- type PhoneVerifyRequestMultiError
- type PhoneVerifyRequestValidationError
- func (e PhoneVerifyRequestValidationError) Cause() error
- func (e PhoneVerifyRequestValidationError) Error() string
- func (e PhoneVerifyRequestValidationError) ErrorName() string
- func (e PhoneVerifyRequestValidationError) Field() string
- func (e PhoneVerifyRequestValidationError) Key() bool
- func (e PhoneVerifyRequestValidationError) Reason() string
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetId() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- func (m *ResetPasswordRequest) Validate() error
- func (m *ResetPasswordRequest) ValidateAll() error
- type ResetPasswordRequestMultiError
- type ResetPasswordRequestValidationError
- func (e ResetPasswordRequestValidationError) Cause() error
- func (e ResetPasswordRequestValidationError) Error() string
- func (e ResetPasswordRequestValidationError) ErrorName() string
- func (e ResetPasswordRequestValidationError) Field() string
- func (e ResetPasswordRequestValidationError) Key() bool
- func (e ResetPasswordRequestValidationError) Reason() string
- type UnimplementedUserServer
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*api.Success, error)
- func (UnimplementedUserServer) CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error)
- func (UnimplementedUserServer) CreateUserRoleBind(context.Context, *UserRoleBindRequest) (*api.Success, error)
- func (UnimplementedUserServer) CreateUserVerify(context.Context, *CreatUserVerifyReqeust) (*api.Success, error)
- func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*api.Success, error)
- func (UnimplementedUserServer) DeleteUserRoleBind(context.Context, *DeleteUserRoleBindRequest) (*api.Success, error)
- func (UnimplementedUserServer) GetUser(context.Context, *api.IDRequest) (*GetUserReply, error)
- func (UnimplementedUserServer) GetUserVerify(context.Context, *api.IDRequest) (*UserVerifyUrl, error)
- func (UnimplementedUserServer) ListUser(context.Context, *api.PageSearch) (*ListUserReply, error)
- func (UnimplementedUserServer) ListUserNavigation(context.Context, *api.IDRequest) (*UserNavigationReply, error)
- func (UnimplementedUserServer) ListUserRoleBind(context.Context, *ListUserRoleBindRequest) (*ListUserRoleBindReply, error)
- func (UnimplementedUserServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedUserServer) PostPhoneSmsVeryfy(context.Context, *PhoneVerifyRequest) (*PhoneVerifyReply, error)
- func (UnimplementedUserServer) ResetPassword(context.Context, *ResetPasswordRequest) (*api.Success, error)
- func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*api.Success, error)
- func (UnimplementedUserServer) UpdateUserVerify(context.Context, *UpdateUserVerifyRequest) (*api.Success, error)
- type UnsafeUserServer
- type UpdatePasswordReply
- func (*UpdatePasswordReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePasswordReply) ProtoMessage()
- func (x *UpdatePasswordReply) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordReply) Reset()
- func (x *UpdatePasswordReply) String() string
- func (m *UpdatePasswordReply) Validate() error
- func (m *UpdatePasswordReply) ValidateAll() error
- type UpdatePasswordReplyMultiError
- type UpdatePasswordReplyValidationError
- func (e UpdatePasswordReplyValidationError) Cause() error
- func (e UpdatePasswordReplyValidationError) Error() string
- func (e UpdatePasswordReplyValidationError) ErrorName() string
- func (e UpdatePasswordReplyValidationError) Field() string
- func (e UpdatePasswordReplyValidationError) Key() bool
- func (e UpdatePasswordReplyValidationError) 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) GetAvatarUrl() string
- func (x *UpdateUserRequest) GetComment() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetId() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetUserID() string
- func (x *UpdateUserRequest) GetUserName() string
- 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 UpdateUserVerifyRequest
- func (*UpdateUserVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserVerifyRequest) GetUserID() string
- func (x *UpdateUserVerifyRequest) GetVerifyStatus() bool
- func (*UpdateUserVerifyRequest) ProtoMessage()
- func (x *UpdateUserVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserVerifyRequest) Reset()
- func (x *UpdateUserVerifyRequest) String() string
- func (m *UpdateUserVerifyRequest) Validate() error
- func (m *UpdateUserVerifyRequest) ValidateAll() error
- type UpdateUserVerifyRequestMultiError
- type UpdateUserVerifyRequestValidationError
- func (e UpdateUserVerifyRequestValidationError) Cause() error
- func (e UpdateUserVerifyRequestValidationError) Error() string
- func (e UpdateUserVerifyRequestValidationError) ErrorName() string
- func (e UpdateUserVerifyRequestValidationError) Field() string
- func (e UpdateUserVerifyRequestValidationError) Key() bool
- func (e UpdateUserVerifyRequestValidationError) Reason() string
- type UserClient
- type UserHTTPClient
- type UserHTTPClientImpl
- func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) CreateUserPhoneRegister(ctx context.Context, in *UserPhoneRegister, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) CreateUserRoleBind(ctx context.Context, in *UserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) CreateUserVerify(ctx context.Context, in *CreatUserVerifyReqeust, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) DeleteUserRoleBind(ctx context.Context, in *DeleteUserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetUserReply, error)
- func (c *UserHTTPClientImpl) GetUserVerify(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserVerifyUrl, error)
- func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *api.PageSearch, opts ...http.CallOption) (*ListUserReply, error)
- func (c *UserHTTPClientImpl) ListUserNavigation(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserNavigationReply, error)
- func (c *UserHTTPClientImpl) ListUserRoleBind(ctx context.Context, in *ListUserRoleBindRequest, opts ...http.CallOption) (*ListUserRoleBindReply, error)
- func (c *UserHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *UserHTTPClientImpl) PostPhoneSmsVeryfy(ctx context.Context, in *PhoneVerifyRequest, opts ...http.CallOption) (*PhoneVerifyReply, error)
- func (c *UserHTTPClientImpl) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *UserHTTPClientImpl) UpdateUserVerify(ctx context.Context, in *UpdateUserVerifyRequest, opts ...http.CallOption) (*api.Success, error)
- type UserHTTPServer
- type UserNavigationReply
- func (*UserNavigationReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserNavigationReply) GetNavigationList() []*UserNavigationReply_NavigationReply
- func (*UserNavigationReply) ProtoMessage()
- func (x *UserNavigationReply) ProtoReflect() protoreflect.Message
- func (x *UserNavigationReply) Reset()
- func (x *UserNavigationReply) String() string
- func (m *UserNavigationReply) Validate() error
- func (m *UserNavigationReply) ValidateAll() error
- type UserNavigationReplyMultiError
- type UserNavigationReplyValidationError
- func (e UserNavigationReplyValidationError) Cause() error
- func (e UserNavigationReplyValidationError) Error() string
- func (e UserNavigationReplyValidationError) ErrorName() string
- func (e UserNavigationReplyValidationError) Field() string
- func (e UserNavigationReplyValidationError) Key() bool
- func (e UserNavigationReplyValidationError) Reason() string
- type UserNavigationReply_NavigationReply
- func (*UserNavigationReply_NavigationReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserNavigationReply_NavigationReply) GetId() string
- func (x *UserNavigationReply_NavigationReply) GetNavigationID() string
- func (x *UserNavigationReply_NavigationReply) GetNavigationName() string
- func (x *UserNavigationReply_NavigationReply) GetStatus() bool
- func (*UserNavigationReply_NavigationReply) ProtoMessage()
- func (x *UserNavigationReply_NavigationReply) ProtoReflect() protoreflect.Message
- func (x *UserNavigationReply_NavigationReply) Reset()
- func (x *UserNavigationReply_NavigationReply) String() string
- func (m *UserNavigationReply_NavigationReply) Validate() error
- func (m *UserNavigationReply_NavigationReply) ValidateAll() error
- type UserNavigationReply_NavigationReplyMultiError
- type UserNavigationReply_NavigationReplyValidationError
- func (e UserNavigationReply_NavigationReplyValidationError) Cause() error
- func (e UserNavigationReply_NavigationReplyValidationError) Error() string
- func (e UserNavigationReply_NavigationReplyValidationError) ErrorName() string
- func (e UserNavigationReply_NavigationReplyValidationError) Field() string
- func (e UserNavigationReply_NavigationReplyValidationError) Key() bool
- func (e UserNavigationReply_NavigationReplyValidationError) Reason() string
- type UserPhoneRegister
- func (*UserPhoneRegister) Descriptor() ([]byte, []int)deprecated
- func (x *UserPhoneRegister) GetCertificateURL() string
- func (x *UserPhoneRegister) GetIdCard() string
- func (x *UserPhoneRegister) GetName() string
- func (x *UserPhoneRegister) GetOrgID() string
- func (x *UserPhoneRegister) GetPhone() string
- func (x *UserPhoneRegister) GetRoleID() string
- func (*UserPhoneRegister) ProtoMessage()
- func (x *UserPhoneRegister) ProtoReflect() protoreflect.Message
- func (x *UserPhoneRegister) Reset()
- func (x *UserPhoneRegister) String() string
- func (m *UserPhoneRegister) Validate() error
- func (m *UserPhoneRegister) ValidateAll() error
- type UserPhoneRegisterMultiError
- type UserPhoneRegisterValidationError
- func (e UserPhoneRegisterValidationError) Cause() error
- func (e UserPhoneRegisterValidationError) Error() string
- func (e UserPhoneRegisterValidationError) ErrorName() string
- func (e UserPhoneRegisterValidationError) Field() string
- func (e UserPhoneRegisterValidationError) Key() bool
- func (e UserPhoneRegisterValidationError) Reason() string
- type UserRoleBindRequest
- func (*UserRoleBindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoleBindRequest) GetRoleIDList() []string
- func (x *UserRoleBindRequest) GetUserID() string
- func (*UserRoleBindRequest) ProtoMessage()
- func (x *UserRoleBindRequest) ProtoReflect() protoreflect.Message
- func (x *UserRoleBindRequest) Reset()
- func (x *UserRoleBindRequest) String() string
- func (m *UserRoleBindRequest) Validate() error
- func (m *UserRoleBindRequest) ValidateAll() error
- type UserRoleBindRequestMultiError
- type UserRoleBindRequestValidationError
- func (e UserRoleBindRequestValidationError) Cause() error
- func (e UserRoleBindRequestValidationError) Error() string
- func (e UserRoleBindRequestValidationError) ErrorName() string
- func (e UserRoleBindRequestValidationError) Field() string
- func (e UserRoleBindRequestValidationError) Key() bool
- func (e UserRoleBindRequestValidationError) Reason() string
- type UserServer
- type UserStatus
- type UserVerifyUrl
- func (*UserVerifyUrl) Descriptor() ([]byte, []int)deprecated
- func (x *UserVerifyUrl) GetURL() string
- func (*UserVerifyUrl) ProtoMessage()
- func (x *UserVerifyUrl) ProtoReflect() protoreflect.Message
- func (x *UserVerifyUrl) Reset()
- func (x *UserVerifyUrl) String() string
- func (m *UserVerifyUrl) Validate() error
- func (m *UserVerifyUrl) ValidateAll() error
- type UserVerifyUrlMultiError
- type UserVerifyUrlValidationError
- func (e UserVerifyUrlValidationError) Cause() error
- func (e UserVerifyUrlValidationError) Error() string
- func (e UserVerifyUrlValidationError) ErrorName() string
- func (e UserVerifyUrlValidationError) Field() string
- func (e UserVerifyUrlValidationError) Key() bool
- func (e UserVerifyUrlValidationError) Reason() string
Constants ¶
const OperationUserCreateUser = "/api.auth.user.User/CreateUser"
const OperationUserCreateUserPhoneRegister = "/api.auth.user.User/CreateUserPhoneRegister"
const OperationUserCreateUserRoleBind = "/api.auth.user.User/CreateUserRoleBind"
const OperationUserCreateUserVerify = "/api.auth.user.User/CreateUserVerify"
const OperationUserDeleteUser = "/api.auth.user.User/DeleteUser"
const OperationUserDeleteUserRoleBind = "/api.auth.user.User/DeleteUserRoleBind"
const OperationUserGetUser = "/api.auth.user.User/GetUser"
const OperationUserGetUserVerify = "/api.auth.user.User/GetUserVerify"
const OperationUserListUser = "/api.auth.user.User/ListUser"
const OperationUserListUserRoleBind = "/api.auth.user.User/ListUserRoleBind"
const OperationUserLogin = "/api.auth.user.User/Login"
const OperationUserPostPhoneSmsVeryfy = "/api.auth.user.User/PostPhoneSmsVeryfy"
const OperationUserResetPassword = "/api.auth.user.User/ResetPassword"
const OperationUserUpdateUser = "/api.auth.user.User/UpdateUser"
const OperationUserUpdateUserVerify = "/api.auth.user.User/UpdateUserVerify"
Variables ¶
var ( UserStatus_name = map[int32]string{ 0: "NotRegister", 1: "NotVerify", 2: "Valid", } UserStatus_value = map[string]int32{ "NotRegister": 0, "NotVerify": 1, "Valid": 2, } )
Enum value maps for UserStatus.
var File_api_auth_user_user_proto protoreflect.FileDescriptor
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.auth.user.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _User_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _User_DeleteUser_Handler, }, { MethodName: "GetUser", Handler: _User_GetUser_Handler, }, { MethodName: "GetUserVerify", Handler: _User_GetUserVerify_Handler, }, { MethodName: "CreateUserVerify", Handler: _User_CreateUserVerify_Handler, }, { MethodName: "UpdateUserVerify", Handler: _User_UpdateUserVerify_Handler, }, { MethodName: "ListUser", Handler: _User_ListUser_Handler, }, { MethodName: "ResetPassword", Handler: _User_ResetPassword_Handler, }, { MethodName: "Login", Handler: _User_Login_Handler, }, { MethodName: "CreateUserRoleBind", Handler: _User_CreateUserRoleBind_Handler, }, { MethodName: "DeleteUserRoleBind", Handler: _User_DeleteUserRoleBind_Handler, }, { MethodName: "ListUserRoleBind", Handler: _User_ListUserRoleBind_Handler, }, { MethodName: "ListUserNavigation", Handler: _User_ListUserNavigation_Handler, }, { MethodName: "CreateUserPhoneRegister", Handler: _User_CreateUserPhoneRegister_Handler, }, { MethodName: "PostPhoneSmsVeryfy", Handler: _User_PostPhoneSmsVeryfy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/auth/user/user.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 CreatUserVerifyReqeust ¶
type CreatUserVerifyReqeust struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*CreatUserVerifyReqeust) Descriptor
deprecated
func (*CreatUserVerifyReqeust) Descriptor() ([]byte, []int)
Deprecated: Use CreatUserVerifyReqeust.ProtoReflect.Descriptor instead.
func (*CreatUserVerifyReqeust) GetUrl ¶
func (x *CreatUserVerifyReqeust) GetUrl() string
func (*CreatUserVerifyReqeust) GetUserID ¶
func (x *CreatUserVerifyReqeust) GetUserID() string
func (*CreatUserVerifyReqeust) ProtoMessage ¶
func (*CreatUserVerifyReqeust) ProtoMessage()
func (*CreatUserVerifyReqeust) ProtoReflect ¶
func (x *CreatUserVerifyReqeust) ProtoReflect() protoreflect.Message
func (*CreatUserVerifyReqeust) Reset ¶
func (x *CreatUserVerifyReqeust) Reset()
func (*CreatUserVerifyReqeust) String ¶
func (x *CreatUserVerifyReqeust) String() string
func (*CreatUserVerifyReqeust) Validate ¶
func (m *CreatUserVerifyReqeust) Validate() error
Validate checks the field values on CreatUserVerifyReqeust 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 (*CreatUserVerifyReqeust) ValidateAll ¶
func (m *CreatUserVerifyReqeust) ValidateAll() error
ValidateAll checks the field values on CreatUserVerifyReqeust 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 CreatUserVerifyReqeustMultiError, or nil if none found.
type CreatUserVerifyReqeustMultiError ¶
type CreatUserVerifyReqeustMultiError []error
CreatUserVerifyReqeustMultiError is an error wrapping multiple validation errors returned by CreatUserVerifyReqeust.ValidateAll() if the designated constraints aren't met.
func (CreatUserVerifyReqeustMultiError) AllErrors ¶
func (m CreatUserVerifyReqeustMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatUserVerifyReqeustMultiError) Error ¶
func (m CreatUserVerifyReqeustMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatUserVerifyReqeustValidationError ¶
type CreatUserVerifyReqeustValidationError struct {
// contains filtered or unexported fields
}
CreatUserVerifyReqeustValidationError is the validation error returned by CreatUserVerifyReqeust.Validate if the designated constraints aren't met.
func (CreatUserVerifyReqeustValidationError) Cause ¶
func (e CreatUserVerifyReqeustValidationError) Cause() error
Cause function returns cause value.
func (CreatUserVerifyReqeustValidationError) Error ¶
func (e CreatUserVerifyReqeustValidationError) Error() string
Error satisfies the builtin error interface
func (CreatUserVerifyReqeustValidationError) ErrorName ¶
func (e CreatUserVerifyReqeustValidationError) ErrorName() string
ErrorName returns error name.
func (CreatUserVerifyReqeustValidationError) Field ¶
func (e CreatUserVerifyReqeustValidationError) Field() string
Field function returns field value.
func (CreatUserVerifyReqeustValidationError) Key ¶
func (e CreatUserVerifyReqeustValidationError) Key() bool
Key function returns key value.
func (CreatUserVerifyReqeustValidationError) Reason ¶
func (e CreatUserVerifyReqeustValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` OrgID string `protobuf:"bytes,8,opt,name=orgID,proto3" json:"orgID,omitempty"` RoleID string `protobuf:"bytes,9,opt,name=roleID,proto3" json:"roleID,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetAvatarUrl ¶
func (x *CreateUserRequest) GetAvatarUrl() string
func (*CreateUserRequest) GetComment ¶
func (x *CreateUserRequest) GetComment() string
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetOrgID ¶
func (x *CreateUserRequest) GetOrgID() string
func (*CreateUserRequest) GetPhone ¶
func (x *CreateUserRequest) GetPhone() string
func (*CreateUserRequest) GetRoleID ¶
func (x *CreateUserRequest) GetRoleID() string
func (*CreateUserRequest) GetUserID ¶
func (x *CreateUserRequest) GetUserID() string
func (*CreateUserRequest) GetUserName ¶
func (x *CreateUserRequest) GetUserName() string
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 CreateVerifyUrl ¶
type CreateVerifyUrl struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*CreateVerifyUrl) Descriptor
deprecated
func (*CreateVerifyUrl) Descriptor() ([]byte, []int)
Deprecated: Use CreateVerifyUrl.ProtoReflect.Descriptor instead.
func (*CreateVerifyUrl) GetURL ¶
func (x *CreateVerifyUrl) GetURL() string
func (*CreateVerifyUrl) GetUserID ¶
func (x *CreateVerifyUrl) GetUserID() string
func (*CreateVerifyUrl) ProtoMessage ¶
func (*CreateVerifyUrl) ProtoMessage()
func (*CreateVerifyUrl) ProtoReflect ¶
func (x *CreateVerifyUrl) ProtoReflect() protoreflect.Message
func (*CreateVerifyUrl) Reset ¶
func (x *CreateVerifyUrl) Reset()
func (*CreateVerifyUrl) String ¶
func (x *CreateVerifyUrl) String() string
func (*CreateVerifyUrl) Validate ¶
func (m *CreateVerifyUrl) Validate() error
Validate checks the field values on CreateVerifyUrl 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 (*CreateVerifyUrl) ValidateAll ¶
func (m *CreateVerifyUrl) ValidateAll() error
ValidateAll checks the field values on CreateVerifyUrl 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 CreateVerifyUrlMultiError, or nil if none found.
type CreateVerifyUrlMultiError ¶
type CreateVerifyUrlMultiError []error
CreateVerifyUrlMultiError is an error wrapping multiple validation errors returned by CreateVerifyUrl.ValidateAll() if the designated constraints aren't met.
func (CreateVerifyUrlMultiError) AllErrors ¶
func (m CreateVerifyUrlMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateVerifyUrlMultiError) Error ¶
func (m CreateVerifyUrlMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateVerifyUrlValidationError ¶
type CreateVerifyUrlValidationError struct {
// contains filtered or unexported fields
}
CreateVerifyUrlValidationError is the validation error returned by CreateVerifyUrl.Validate if the designated constraints aren't met.
func (CreateVerifyUrlValidationError) Cause ¶
func (e CreateVerifyUrlValidationError) Cause() error
Cause function returns cause value.
func (CreateVerifyUrlValidationError) Error ¶
func (e CreateVerifyUrlValidationError) Error() string
Error satisfies the builtin error interface
func (CreateVerifyUrlValidationError) ErrorName ¶
func (e CreateVerifyUrlValidationError) ErrorName() string
ErrorName returns error name.
func (CreateVerifyUrlValidationError) Field ¶
func (e CreateVerifyUrlValidationError) Field() string
Field function returns field value.
func (CreateVerifyUrlValidationError) Key ¶
func (e CreateVerifyUrlValidationError) Key() bool
Key function returns key value.
func (CreateVerifyUrlValidationError) Reason ¶
func (e CreateVerifyUrlValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReply ¶
type DeleteUserReply struct {
// contains filtered or unexported fields
}
func (*DeleteUserReply) Descriptor
deprecated
func (*DeleteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.
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 { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() string
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 DeleteUserRoleBindRequest ¶
type DeleteUserRoleBindRequest struct { BindIDList []string `protobuf:"bytes,1,rep,name=bindIDList,proto3" json:"bindIDList,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRoleBindRequest) Descriptor
deprecated
func (*DeleteUserRoleBindRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRoleBindRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRoleBindRequest) GetBindIDList ¶
func (x *DeleteUserRoleBindRequest) GetBindIDList() []string
func (*DeleteUserRoleBindRequest) ProtoMessage ¶
func (*DeleteUserRoleBindRequest) ProtoMessage()
func (*DeleteUserRoleBindRequest) ProtoReflect ¶
func (x *DeleteUserRoleBindRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRoleBindRequest) Reset ¶
func (x *DeleteUserRoleBindRequest) Reset()
func (*DeleteUserRoleBindRequest) String ¶
func (x *DeleteUserRoleBindRequest) String() string
func (*DeleteUserRoleBindRequest) Validate ¶
func (m *DeleteUserRoleBindRequest) Validate() error
Validate checks the field values on DeleteUserRoleBindRequest 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 (*DeleteUserRoleBindRequest) ValidateAll ¶
func (m *DeleteUserRoleBindRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRoleBindRequest 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 DeleteUserRoleBindRequestMultiError, or nil if none found.
type DeleteUserRoleBindRequestMultiError ¶
type DeleteUserRoleBindRequestMultiError []error
DeleteUserRoleBindRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRoleBindRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRoleBindRequestMultiError) AllErrors ¶
func (m DeleteUserRoleBindRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRoleBindRequestMultiError) Error ¶
func (m DeleteUserRoleBindRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRoleBindRequestValidationError ¶
type DeleteUserRoleBindRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRoleBindRequestValidationError is the validation error returned by DeleteUserRoleBindRequest.Validate if the designated constraints aren't met.
func (DeleteUserRoleBindRequestValidationError) Cause ¶
func (e DeleteUserRoleBindRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRoleBindRequestValidationError) Error ¶
func (e DeleteUserRoleBindRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRoleBindRequestValidationError) ErrorName ¶
func (e DeleteUserRoleBindRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRoleBindRequestValidationError) Field ¶
func (e DeleteUserRoleBindRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRoleBindRequestValidationError) Key ¶
func (e DeleteUserRoleBindRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRoleBindRequestValidationError) Reason ¶
func (e DeleteUserRoleBindRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserReply ¶
type GetUserReply struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` Org *GetUserReply_Organizion `protobuf:"bytes,9,opt,name=org,proto3" json:"org,omitempty"` Role []*GetUserReply_Role `protobuf:"bytes,10,rep,name=role,proto3" json:"role,omitempty"` IsVerify bool `protobuf:"varint,11,opt,name=isVerify,proto3" json:"isVerify,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply) Descriptor
deprecated
func (*GetUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.
func (*GetUserReply) GetAvatarUrl ¶
func (x *GetUserReply) GetAvatarUrl() string
func (*GetUserReply) GetComment ¶
func (x *GetUserReply) GetComment() string
func (*GetUserReply) GetEmail ¶
func (x *GetUserReply) GetEmail() string
func (*GetUserReply) GetId ¶
func (x *GetUserReply) GetId() string
func (*GetUserReply) GetIsVerify ¶
func (x *GetUserReply) GetIsVerify() bool
func (*GetUserReply) GetOrg ¶
func (x *GetUserReply) GetOrg() *GetUserReply_Organizion
func (*GetUserReply) GetPhone ¶
func (x *GetUserReply) GetPhone() string
func (*GetUserReply) GetRole ¶
func (x *GetUserReply) GetRole() []*GetUserReply_Role
func (*GetUserReply) GetUserID ¶
func (x *GetUserReply) GetUserID() string
func (*GetUserReply) GetUserName ¶
func (x *GetUserReply) GetUserName() string
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_Organizion ¶
type GetUserReply_Organizion struct { OrgID string `protobuf:"bytes,1,opt,name=orgID,proto3" json:"orgID,omitempty"` OrgName string `protobuf:"bytes,2,opt,name=orgName,proto3" json:"orgName,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply_Organizion) Descriptor
deprecated
func (*GetUserReply_Organizion) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply_Organizion.ProtoReflect.Descriptor instead.
func (*GetUserReply_Organizion) GetOrgID ¶
func (x *GetUserReply_Organizion) GetOrgID() string
func (*GetUserReply_Organizion) GetOrgName ¶
func (x *GetUserReply_Organizion) GetOrgName() string
func (*GetUserReply_Organizion) ProtoMessage ¶
func (*GetUserReply_Organizion) ProtoMessage()
func (*GetUserReply_Organizion) ProtoReflect ¶
func (x *GetUserReply_Organizion) ProtoReflect() protoreflect.Message
func (*GetUserReply_Organizion) Reset ¶
func (x *GetUserReply_Organizion) Reset()
func (*GetUserReply_Organizion) String ¶
func (x *GetUserReply_Organizion) String() string
func (*GetUserReply_Organizion) Validate ¶
func (m *GetUserReply_Organizion) Validate() error
Validate checks the field values on GetUserReply_Organizion 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_Organizion) ValidateAll ¶
func (m *GetUserReply_Organizion) ValidateAll() error
ValidateAll checks the field values on GetUserReply_Organizion 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_OrganizionMultiError, or nil if none found.
type GetUserReply_OrganizionMultiError ¶
type GetUserReply_OrganizionMultiError []error
GetUserReply_OrganizionMultiError is an error wrapping multiple validation errors returned by GetUserReply_Organizion.ValidateAll() if the designated constraints aren't met.
func (GetUserReply_OrganizionMultiError) AllErrors ¶
func (m GetUserReply_OrganizionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReply_OrganizionMultiError) Error ¶
func (m GetUserReply_OrganizionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReply_OrganizionValidationError ¶
type GetUserReply_OrganizionValidationError struct {
// contains filtered or unexported fields
}
GetUserReply_OrganizionValidationError is the validation error returned by GetUserReply_Organizion.Validate if the designated constraints aren't met.
func (GetUserReply_OrganizionValidationError) Cause ¶
func (e GetUserReply_OrganizionValidationError) Cause() error
Cause function returns cause value.
func (GetUserReply_OrganizionValidationError) Error ¶
func (e GetUserReply_OrganizionValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReply_OrganizionValidationError) ErrorName ¶
func (e GetUserReply_OrganizionValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReply_OrganizionValidationError) Field ¶
func (e GetUserReply_OrganizionValidationError) Field() string
Field function returns field value.
func (GetUserReply_OrganizionValidationError) Key ¶
func (e GetUserReply_OrganizionValidationError) Key() bool
Key function returns key value.
func (GetUserReply_OrganizionValidationError) Reason ¶
func (e GetUserReply_OrganizionValidationError) Reason() string
Reason function returns reason value.
type GetUserReply_Role ¶
type GetUserReply_Role struct { RoleID string `protobuf:"bytes,1,opt,name=roleID,proto3" json:"roleID,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,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) GetRoleID ¶
func (x *GetUserReply_Role) GetRoleID() string
func (*GetUserReply_Role) GetRoleName ¶
func (x *GetUserReply_Role) GetRoleName() 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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() 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 { DataList []*GetUserReply `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListUserReply) Descriptor
deprecated
func (*ListUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.
func (*ListUserReply) GetDataList ¶
func (x *ListUserReply) GetDataList() []*GetUserReply
func (*ListUserReply) GetPage ¶
func (x *ListUserReply) GetPage() int32
func (*ListUserReply) GetPerPage ¶
func (x *ListUserReply) GetPerPage() int32
func (*ListUserReply) GetTotal ¶
func (x *ListUserReply) GetTotal() int32
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 ListUserRoleBindReply ¶
type ListUserRoleBindReply struct { UserRoleBinds []*ListUserRoleBindReply_UserRoleBindReply `protobuf:"bytes,1,rep,name=userRoleBinds,proto3" json:"userRoleBinds,omitempty"` // contains filtered or unexported fields }
func (*ListUserRoleBindReply) Descriptor
deprecated
func (*ListUserRoleBindReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRoleBindReply.ProtoReflect.Descriptor instead.
func (*ListUserRoleBindReply) GetUserRoleBinds ¶
func (x *ListUserRoleBindReply) GetUserRoleBinds() []*ListUserRoleBindReply_UserRoleBindReply
func (*ListUserRoleBindReply) ProtoMessage ¶
func (*ListUserRoleBindReply) ProtoMessage()
func (*ListUserRoleBindReply) ProtoReflect ¶
func (x *ListUserRoleBindReply) ProtoReflect() protoreflect.Message
func (*ListUserRoleBindReply) Reset ¶
func (x *ListUserRoleBindReply) Reset()
func (*ListUserRoleBindReply) String ¶
func (x *ListUserRoleBindReply) String() string
func (*ListUserRoleBindReply) Validate ¶
func (m *ListUserRoleBindReply) Validate() error
Validate checks the field values on ListUserRoleBindReply 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 (*ListUserRoleBindReply) ValidateAll ¶
func (m *ListUserRoleBindReply) ValidateAll() error
ValidateAll checks the field values on ListUserRoleBindReply 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 ListUserRoleBindReplyMultiError, or nil if none found.
type ListUserRoleBindReplyMultiError ¶
type ListUserRoleBindReplyMultiError []error
ListUserRoleBindReplyMultiError is an error wrapping multiple validation errors returned by ListUserRoleBindReply.ValidateAll() if the designated constraints aren't met.
func (ListUserRoleBindReplyMultiError) AllErrors ¶
func (m ListUserRoleBindReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRoleBindReplyMultiError) Error ¶
func (m ListUserRoleBindReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRoleBindReplyValidationError ¶
type ListUserRoleBindReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserRoleBindReplyValidationError is the validation error returned by ListUserRoleBindReply.Validate if the designated constraints aren't met.
func (ListUserRoleBindReplyValidationError) Cause ¶
func (e ListUserRoleBindReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserRoleBindReplyValidationError) Error ¶
func (e ListUserRoleBindReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRoleBindReplyValidationError) ErrorName ¶
func (e ListUserRoleBindReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRoleBindReplyValidationError) Field ¶
func (e ListUserRoleBindReplyValidationError) Field() string
Field function returns field value.
func (ListUserRoleBindReplyValidationError) Key ¶
func (e ListUserRoleBindReplyValidationError) Key() bool
Key function returns key value.
func (ListUserRoleBindReplyValidationError) Reason ¶
func (e ListUserRoleBindReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserRoleBindReply_UserRoleBindReply ¶
type ListUserRoleBindReply_UserRoleBindReply struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` RoleList []*ListUserRoleBindReply_UserRoleBindReply_RoleReply `protobuf:"bytes,3,rep,name=roleList,proto3" json:"roleList,omitempty"` // contains filtered or unexported fields }
func (*ListUserRoleBindReply_UserRoleBindReply) Descriptor
deprecated
func (*ListUserRoleBindReply_UserRoleBindReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRoleBindReply_UserRoleBindReply.ProtoReflect.Descriptor instead.
func (*ListUserRoleBindReply_UserRoleBindReply) GetRoleList ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) GetRoleList() []*ListUserRoleBindReply_UserRoleBindReply_RoleReply
func (*ListUserRoleBindReply_UserRoleBindReply) GetUserID ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) GetUserID() string
func (*ListUserRoleBindReply_UserRoleBindReply) GetUserName ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) GetUserName() string
func (*ListUserRoleBindReply_UserRoleBindReply) ProtoMessage ¶
func (*ListUserRoleBindReply_UserRoleBindReply) ProtoMessage()
func (*ListUserRoleBindReply_UserRoleBindReply) ProtoReflect ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) ProtoReflect() protoreflect.Message
func (*ListUserRoleBindReply_UserRoleBindReply) Reset ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) Reset()
func (*ListUserRoleBindReply_UserRoleBindReply) String ¶
func (x *ListUserRoleBindReply_UserRoleBindReply) String() string
func (*ListUserRoleBindReply_UserRoleBindReply) Validate ¶
func (m *ListUserRoleBindReply_UserRoleBindReply) Validate() error
Validate checks the field values on ListUserRoleBindReply_UserRoleBindReply 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 (*ListUserRoleBindReply_UserRoleBindReply) ValidateAll ¶
func (m *ListUserRoleBindReply_UserRoleBindReply) ValidateAll() error
ValidateAll checks the field values on ListUserRoleBindReply_UserRoleBindReply 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 ListUserRoleBindReply_UserRoleBindReplyMultiError, or nil if none found.
type ListUserRoleBindReply_UserRoleBindReplyMultiError ¶
type ListUserRoleBindReply_UserRoleBindReplyMultiError []error
ListUserRoleBindReply_UserRoleBindReplyMultiError is an error wrapping multiple validation errors returned by ListUserRoleBindReply_UserRoleBindReply.ValidateAll() if the designated constraints aren't met.
func (ListUserRoleBindReply_UserRoleBindReplyMultiError) AllErrors ¶
func (m ListUserRoleBindReply_UserRoleBindReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRoleBindReply_UserRoleBindReplyMultiError) Error ¶
func (m ListUserRoleBindReply_UserRoleBindReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRoleBindReply_UserRoleBindReplyValidationError ¶
type ListUserRoleBindReply_UserRoleBindReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserRoleBindReply_UserRoleBindReplyValidationError is the validation error returned by ListUserRoleBindReply_UserRoleBindReply.Validate if the designated constraints aren't met.
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Cause ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Error ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) ErrorName ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Field ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Field() string
Field function returns field value.
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Key ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Key() bool
Key function returns key value.
func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Reason ¶
func (e ListUserRoleBindReply_UserRoleBindReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserRoleBindReply_UserRoleBindReply_RoleReply ¶
type ListUserRoleBindReply_UserRoleBindReply_RoleReply struct { BindID string `protobuf:"bytes,1,opt,name=bindID,proto3" json:"bindID,omitempty"` RoleID string `protobuf:"bytes,2,opt,name=roleID,proto3" json:"roleID,omitempty"` RoleName string `protobuf:"bytes,3,opt,name=roleName,proto3" json:"roleName,omitempty"` // contains filtered or unexported fields }
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Descriptor
deprecated
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRoleBindReply_UserRoleBindReply_RoleReply.ProtoReflect.Descriptor instead.
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetBindID ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetBindID() string
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleID ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleID() string
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleName ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleName() string
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoMessage ¶
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoMessage()
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoReflect ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoReflect() protoreflect.Message
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Reset ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) Reset()
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) String ¶
func (x *ListUserRoleBindReply_UserRoleBindReply_RoleReply) String() string
func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Validate ¶
func (m *ListUserRoleBindReply_UserRoleBindReply_RoleReply) Validate() error
Validate checks the field values on ListUserRoleBindReply_UserRoleBindReply_RoleReply 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 (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ValidateAll ¶
func (m *ListUserRoleBindReply_UserRoleBindReply_RoleReply) ValidateAll() error
ValidateAll checks the field values on ListUserRoleBindReply_UserRoleBindReply_RoleReply 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 ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError, or nil if none found.
type ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError ¶
type ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError []error
ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError is an error wrapping multiple validation errors returned by ListUserRoleBindReply_UserRoleBindReply_RoleReply.ValidateAll() if the designated constraints aren't met.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) AllErrors ¶
func (m ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) Error ¶
func (m ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError ¶
type ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError is the validation error returned by ListUserRoleBindReply_UserRoleBindReply_RoleReply.Validate if the designated constraints aren't met.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Cause ¶
func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Error ¶
func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) ErrorName ¶
func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Field ¶
func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Field() string
Field function returns field value.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Key ¶
Key function returns key value.
func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Reason ¶
func (e ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserRoleBindRequest ¶
type ListUserRoleBindRequest struct { UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"` // contains filtered or unexported fields }
func (*ListUserRoleBindRequest) Descriptor
deprecated
func (*ListUserRoleBindRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRoleBindRequest.ProtoReflect.Descriptor instead.
func (*ListUserRoleBindRequest) GetUserIDList ¶
func (x *ListUserRoleBindRequest) GetUserIDList() []string
func (*ListUserRoleBindRequest) ProtoMessage ¶
func (*ListUserRoleBindRequest) ProtoMessage()
func (*ListUserRoleBindRequest) ProtoReflect ¶
func (x *ListUserRoleBindRequest) ProtoReflect() protoreflect.Message
func (*ListUserRoleBindRequest) Reset ¶
func (x *ListUserRoleBindRequest) Reset()
func (*ListUserRoleBindRequest) String ¶
func (x *ListUserRoleBindRequest) String() string
func (*ListUserRoleBindRequest) Validate ¶
func (m *ListUserRoleBindRequest) Validate() error
Validate checks the field values on ListUserRoleBindRequest 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 (*ListUserRoleBindRequest) ValidateAll ¶
func (m *ListUserRoleBindRequest) ValidateAll() error
ValidateAll checks the field values on ListUserRoleBindRequest 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 ListUserRoleBindRequestMultiError, or nil if none found.
type ListUserRoleBindRequestMultiError ¶
type ListUserRoleBindRequestMultiError []error
ListUserRoleBindRequestMultiError is an error wrapping multiple validation errors returned by ListUserRoleBindRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserRoleBindRequestMultiError) AllErrors ¶
func (m ListUserRoleBindRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRoleBindRequestMultiError) Error ¶
func (m ListUserRoleBindRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRoleBindRequestValidationError ¶
type ListUserRoleBindRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserRoleBindRequestValidationError is the validation error returned by ListUserRoleBindRequest.Validate if the designated constraints aren't met.
func (ListUserRoleBindRequestValidationError) Cause ¶
func (e ListUserRoleBindRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserRoleBindRequestValidationError) Error ¶
func (e ListUserRoleBindRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRoleBindRequestValidationError) ErrorName ¶
func (e ListUserRoleBindRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRoleBindRequestValidationError) Field ¶
func (e ListUserRoleBindRequestValidationError) Field() string
Field function returns field value.
func (ListUserRoleBindRequestValidationError) Key ¶
func (e ListUserRoleBindRequestValidationError) Key() bool
Key function returns key value.
func (ListUserRoleBindRequestValidationError) Reason ¶
func (e ListUserRoleBindRequestValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` User *GetUserReply `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
func (*LoginReply) GetToken ¶
func (x *LoginReply) GetToken() string
func (*LoginReply) GetUser ¶
func (x *LoginReply) GetUser() *GetUserReply
func (*LoginReply) ProtoMessage ¶
func (*LoginReply) ProtoMessage()
func (*LoginReply) ProtoReflect ¶
func (x *LoginReply) ProtoReflect() protoreflect.Message
func (*LoginReply) Reset ¶
func (x *LoginReply) Reset()
func (*LoginReply) String ¶
func (x *LoginReply) String() string
func (*LoginReply) Validate ¶
func (m *LoginReply) Validate() error
Validate checks the field values on LoginReply 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 (*LoginReply) ValidateAll ¶
func (m *LoginReply) ValidateAll() error
ValidateAll checks the field values on LoginReply 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 LoginReplyMultiError, or nil if none found.
type LoginReplyMultiError ¶
type LoginReplyMultiError []error
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
func (LoginReplyMultiError) AllErrors ¶
func (m LoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginReplyMultiError) Error ¶
func (m LoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginReplyValidationError ¶
type LoginReplyValidationError struct {
// contains filtered or unexported fields
}
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
func (LoginReplyValidationError) Cause ¶
func (e LoginReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginReplyValidationError) Error ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
Key function returns key value.
func (LoginReplyValidationError) Reason ¶
func (e LoginReplyValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUserID ¶
func (x *LoginRequest) GetUserID() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type PhoneVerifyReply ¶
type PhoneVerifyReply struct { // status 用户状态 Status UserStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.auth.user.UserStatus" json:"status,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` OrgID string `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"` OrgName string `protobuf:"bytes,4,opt,name=orgName,proto3" json:"orgName,omitempty"` IdCard string `protobuf:"bytes,5,opt,name=idCard,proto3" json:"idCard,omitempty"` // contains filtered or unexported fields }
func (*PhoneVerifyReply) Descriptor
deprecated
func (*PhoneVerifyReply) Descriptor() ([]byte, []int)
Deprecated: Use PhoneVerifyReply.ProtoReflect.Descriptor instead.
func (*PhoneVerifyReply) GetIdCard ¶
func (x *PhoneVerifyReply) GetIdCard() string
func (*PhoneVerifyReply) GetOrgID ¶
func (x *PhoneVerifyReply) GetOrgID() string
func (*PhoneVerifyReply) GetOrgName ¶
func (x *PhoneVerifyReply) GetOrgName() string
func (*PhoneVerifyReply) GetStatus ¶
func (x *PhoneVerifyReply) GetStatus() UserStatus
func (*PhoneVerifyReply) GetUserID ¶
func (x *PhoneVerifyReply) GetUserID() string
func (*PhoneVerifyReply) ProtoMessage ¶
func (*PhoneVerifyReply) ProtoMessage()
func (*PhoneVerifyReply) ProtoReflect ¶
func (x *PhoneVerifyReply) ProtoReflect() protoreflect.Message
func (*PhoneVerifyReply) Reset ¶
func (x *PhoneVerifyReply) Reset()
func (*PhoneVerifyReply) String ¶
func (x *PhoneVerifyReply) String() string
func (*PhoneVerifyReply) Validate ¶
func (m *PhoneVerifyReply) Validate() error
Validate checks the field values on PhoneVerifyReply 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 (*PhoneVerifyReply) ValidateAll ¶
func (m *PhoneVerifyReply) ValidateAll() error
ValidateAll checks the field values on PhoneVerifyReply 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 PhoneVerifyReplyMultiError, or nil if none found.
type PhoneVerifyReplyMultiError ¶
type PhoneVerifyReplyMultiError []error
PhoneVerifyReplyMultiError is an error wrapping multiple validation errors returned by PhoneVerifyReply.ValidateAll() if the designated constraints aren't met.
func (PhoneVerifyReplyMultiError) AllErrors ¶
func (m PhoneVerifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PhoneVerifyReplyMultiError) Error ¶
func (m PhoneVerifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PhoneVerifyReplyValidationError ¶
type PhoneVerifyReplyValidationError struct {
// contains filtered or unexported fields
}
PhoneVerifyReplyValidationError is the validation error returned by PhoneVerifyReply.Validate if the designated constraints aren't met.
func (PhoneVerifyReplyValidationError) Cause ¶
func (e PhoneVerifyReplyValidationError) Cause() error
Cause function returns cause value.
func (PhoneVerifyReplyValidationError) Error ¶
func (e PhoneVerifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PhoneVerifyReplyValidationError) ErrorName ¶
func (e PhoneVerifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PhoneVerifyReplyValidationError) Field ¶
func (e PhoneVerifyReplyValidationError) Field() string
Field function returns field value.
func (PhoneVerifyReplyValidationError) Key ¶
func (e PhoneVerifyReplyValidationError) Key() bool
Key function returns key value.
func (PhoneVerifyReplyValidationError) Reason ¶
func (e PhoneVerifyReplyValidationError) Reason() string
Reason function returns reason value.
type PhoneVerifyRequest ¶
type PhoneVerifyRequest struct { // phone 手机号 Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` //验证码 // contains filtered or unexported fields }
func (*PhoneVerifyRequest) Descriptor
deprecated
func (*PhoneVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PhoneVerifyRequest.ProtoReflect.Descriptor instead.
func (*PhoneVerifyRequest) GetCode ¶
func (x *PhoneVerifyRequest) GetCode() string
func (*PhoneVerifyRequest) GetPhone ¶
func (x *PhoneVerifyRequest) GetPhone() string
func (*PhoneVerifyRequest) ProtoMessage ¶
func (*PhoneVerifyRequest) ProtoMessage()
func (*PhoneVerifyRequest) ProtoReflect ¶
func (x *PhoneVerifyRequest) ProtoReflect() protoreflect.Message
func (*PhoneVerifyRequest) Reset ¶
func (x *PhoneVerifyRequest) Reset()
func (*PhoneVerifyRequest) String ¶
func (x *PhoneVerifyRequest) String() string
func (*PhoneVerifyRequest) Validate ¶
func (m *PhoneVerifyRequest) Validate() error
Validate checks the field values on PhoneVerifyRequest 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 (*PhoneVerifyRequest) ValidateAll ¶
func (m *PhoneVerifyRequest) ValidateAll() error
ValidateAll checks the field values on PhoneVerifyRequest 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 PhoneVerifyRequestMultiError, or nil if none found.
type PhoneVerifyRequestMultiError ¶
type PhoneVerifyRequestMultiError []error
PhoneVerifyRequestMultiError is an error wrapping multiple validation errors returned by PhoneVerifyRequest.ValidateAll() if the designated constraints aren't met.
func (PhoneVerifyRequestMultiError) AllErrors ¶
func (m PhoneVerifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PhoneVerifyRequestMultiError) Error ¶
func (m PhoneVerifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PhoneVerifyRequestValidationError ¶
type PhoneVerifyRequestValidationError struct {
// contains filtered or unexported fields
}
PhoneVerifyRequestValidationError is the validation error returned by PhoneVerifyRequest.Validate if the designated constraints aren't met.
func (PhoneVerifyRequestValidationError) Cause ¶
func (e PhoneVerifyRequestValidationError) Cause() error
Cause function returns cause value.
func (PhoneVerifyRequestValidationError) Error ¶
func (e PhoneVerifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PhoneVerifyRequestValidationError) ErrorName ¶
func (e PhoneVerifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PhoneVerifyRequestValidationError) Field ¶
func (e PhoneVerifyRequestValidationError) Field() string
Field function returns field value.
func (PhoneVerifyRequestValidationError) Key ¶
func (e PhoneVerifyRequestValidationError) Key() bool
Key function returns key value.
func (PhoneVerifyRequestValidationError) Reason ¶
func (e PhoneVerifyRequestValidationError) Reason() string
Reason function returns reason value.
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordRequest) Descriptor
deprecated
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetPasswordRequest) GetId ¶
func (x *ResetPasswordRequest) GetId() string
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) ProtoReflect ¶
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetPasswordRequest) Reset ¶
func (x *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (x *ResetPasswordRequest) String() string
func (*ResetPasswordRequest) Validate ¶
func (m *ResetPasswordRequest) Validate() error
Validate checks the field values on ResetPasswordRequest 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 (*ResetPasswordRequest) ValidateAll ¶
func (m *ResetPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ResetPasswordRequest 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 ResetPasswordRequestMultiError, or nil if none found.
type ResetPasswordRequestMultiError ¶
type ResetPasswordRequestMultiError []error
ResetPasswordRequestMultiError is an error wrapping multiple validation errors returned by ResetPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ResetPasswordRequestMultiError) AllErrors ¶
func (m ResetPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetPasswordRequestMultiError) Error ¶
func (m ResetPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetPasswordRequestValidationError ¶
type ResetPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ResetPasswordRequestValidationError is the validation error returned by ResetPasswordRequest.Validate if the designated constraints aren't met.
func (ResetPasswordRequestValidationError) Cause ¶
func (e ResetPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetPasswordRequestValidationError) Error ¶
func (e ResetPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetPasswordRequestValidationError) ErrorName ¶
func (e ResetPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetPasswordRequestValidationError) Field ¶
func (e ResetPasswordRequestValidationError) Field() string
Field function returns field value.
func (ResetPasswordRequestValidationError) Key ¶
func (e ResetPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ResetPasswordRequestValidationError) Reason ¶
func (e ResetPasswordRequestValidationError) 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) (*api.Success, error)
func (UnimplementedUserServer) CreateUserPhoneRegister ¶
func (UnimplementedUserServer) CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error)
func (UnimplementedUserServer) CreateUserRoleBind ¶
func (UnimplementedUserServer) CreateUserRoleBind(context.Context, *UserRoleBindRequest) (*api.Success, error)
func (UnimplementedUserServer) CreateUserVerify ¶
func (UnimplementedUserServer) CreateUserVerify(context.Context, *CreatUserVerifyReqeust) (*api.Success, error)
func (UnimplementedUserServer) DeleteUser ¶
func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*api.Success, error)
func (UnimplementedUserServer) DeleteUserRoleBind ¶
func (UnimplementedUserServer) DeleteUserRoleBind(context.Context, *DeleteUserRoleBindRequest) (*api.Success, error)
func (UnimplementedUserServer) GetUser ¶
func (UnimplementedUserServer) GetUser(context.Context, *api.IDRequest) (*GetUserReply, error)
func (UnimplementedUserServer) GetUserVerify ¶
func (UnimplementedUserServer) GetUserVerify(context.Context, *api.IDRequest) (*UserVerifyUrl, error)
func (UnimplementedUserServer) ListUser ¶
func (UnimplementedUserServer) ListUser(context.Context, *api.PageSearch) (*ListUserReply, error)
func (UnimplementedUserServer) ListUserNavigation ¶
func (UnimplementedUserServer) ListUserNavigation(context.Context, *api.IDRequest) (*UserNavigationReply, error)
func (UnimplementedUserServer) ListUserRoleBind ¶
func (UnimplementedUserServer) ListUserRoleBind(context.Context, *ListUserRoleBindRequest) (*ListUserRoleBindReply, error)
func (UnimplementedUserServer) Login ¶
func (UnimplementedUserServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedUserServer) PostPhoneSmsVeryfy ¶
func (UnimplementedUserServer) PostPhoneSmsVeryfy(context.Context, *PhoneVerifyRequest) (*PhoneVerifyReply, error)
func (UnimplementedUserServer) ResetPassword ¶
func (UnimplementedUserServer) ResetPassword(context.Context, *ResetPasswordRequest) (*api.Success, error)
func (UnimplementedUserServer) UpdateUser ¶
func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*api.Success, error)
func (UnimplementedUserServer) UpdateUserVerify ¶
func (UnimplementedUserServer) UpdateUserVerify(context.Context, *UpdateUserVerifyRequest) (*api.Success, 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 UpdatePasswordReply ¶
type UpdatePasswordReply struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordReply) Descriptor
deprecated
func (*UpdatePasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordReply.ProtoReflect.Descriptor instead.
func (*UpdatePasswordReply) ProtoMessage ¶
func (*UpdatePasswordReply) ProtoMessage()
func (*UpdatePasswordReply) ProtoReflect ¶
func (x *UpdatePasswordReply) ProtoReflect() protoreflect.Message
func (*UpdatePasswordReply) Reset ¶
func (x *UpdatePasswordReply) Reset()
func (*UpdatePasswordReply) String ¶
func (x *UpdatePasswordReply) String() string
func (*UpdatePasswordReply) Validate ¶
func (m *UpdatePasswordReply) Validate() error
Validate checks the field values on UpdatePasswordReply 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 (*UpdatePasswordReply) ValidateAll ¶
func (m *UpdatePasswordReply) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordReply 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 UpdatePasswordReplyMultiError, or nil if none found.
type UpdatePasswordReplyMultiError ¶
type UpdatePasswordReplyMultiError []error
UpdatePasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReply.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordReplyMultiError) AllErrors ¶
func (m UpdatePasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordReplyMultiError) Error ¶
func (m UpdatePasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordReplyValidationError ¶
type UpdatePasswordReplyValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordReplyValidationError is the validation error returned by UpdatePasswordReply.Validate if the designated constraints aren't met.
func (UpdatePasswordReplyValidationError) Cause ¶
func (e UpdatePasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordReplyValidationError) Error ¶
func (e UpdatePasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordReplyValidationError) ErrorName ¶
func (e UpdatePasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordReplyValidationError) Field ¶
func (e UpdatePasswordReplyValidationError) Field() string
Field function returns field value.
func (UpdatePasswordReplyValidationError) Key ¶
func (e UpdatePasswordReplyValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordReplyValidationError) Reason ¶
func (e UpdatePasswordReplyValidationError) 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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` UserID string `protobuf:"bytes,8,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatarUrl ¶
func (x *UpdateUserRequest) GetAvatarUrl() string
func (*UpdateUserRequest) GetComment ¶
func (x *UpdateUserRequest) GetComment() string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetUserID ¶
func (x *UpdateUserRequest) GetUserID() string
func (*UpdateUserRequest) GetUserName ¶
func (x *UpdateUserRequest) GetUserName() string
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 UpdateUserVerifyRequest ¶
type UpdateUserVerifyRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` VerifyStatus bool `protobuf:"varint,2,opt,name=verifyStatus,proto3" json:"verifyStatus,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserVerifyRequest) Descriptor
deprecated
func (*UpdateUserVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserVerifyRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserVerifyRequest) GetUserID ¶
func (x *UpdateUserVerifyRequest) GetUserID() string
func (*UpdateUserVerifyRequest) GetVerifyStatus ¶
func (x *UpdateUserVerifyRequest) GetVerifyStatus() bool
func (*UpdateUserVerifyRequest) ProtoMessage ¶
func (*UpdateUserVerifyRequest) ProtoMessage()
func (*UpdateUserVerifyRequest) ProtoReflect ¶
func (x *UpdateUserVerifyRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserVerifyRequest) Reset ¶
func (x *UpdateUserVerifyRequest) Reset()
func (*UpdateUserVerifyRequest) String ¶
func (x *UpdateUserVerifyRequest) String() string
func (*UpdateUserVerifyRequest) Validate ¶
func (m *UpdateUserVerifyRequest) Validate() error
Validate checks the field values on UpdateUserVerifyRequest 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 (*UpdateUserVerifyRequest) ValidateAll ¶
func (m *UpdateUserVerifyRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserVerifyRequest 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 UpdateUserVerifyRequestMultiError, or nil if none found.
type UpdateUserVerifyRequestMultiError ¶
type UpdateUserVerifyRequestMultiError []error
UpdateUserVerifyRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserVerifyRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserVerifyRequestMultiError) AllErrors ¶
func (m UpdateUserVerifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserVerifyRequestMultiError) Error ¶
func (m UpdateUserVerifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserVerifyRequestValidationError ¶
type UpdateUserVerifyRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserVerifyRequestValidationError is the validation error returned by UpdateUserVerifyRequest.Validate if the designated constraints aren't met.
func (UpdateUserVerifyRequestValidationError) Cause ¶
func (e UpdateUserVerifyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserVerifyRequestValidationError) Error ¶
func (e UpdateUserVerifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserVerifyRequestValidationError) ErrorName ¶
func (e UpdateUserVerifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserVerifyRequestValidationError) Field ¶
func (e UpdateUserVerifyRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserVerifyRequestValidationError) Key ¶
func (e UpdateUserVerifyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserVerifyRequestValidationError) Reason ¶
func (e UpdateUserVerifyRequestValidationError) Reason() string
Reason function returns reason value.
type UserClient ¶
type UserClient interface { CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*api.Success, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*api.Success, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*api.Success, error) GetUser(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*GetUserReply, error) GetUserVerify(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*UserVerifyUrl, error) CreateUserVerify(ctx context.Context, in *CreatUserVerifyReqeust, opts ...grpc.CallOption) (*api.Success, error) UpdateUserVerify(ctx context.Context, in *UpdateUserVerifyRequest, opts ...grpc.CallOption) (*api.Success, error) ListUser(ctx context.Context, in *api.PageSearch, opts ...grpc.CallOption) (*ListUserReply, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*api.Success, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error) CreateUserRoleBind(ctx context.Context, in *UserRoleBindRequest, opts ...grpc.CallOption) (*api.Success, error) DeleteUserRoleBind(ctx context.Context, in *DeleteUserRoleBindRequest, opts ...grpc.CallOption) (*api.Success, error) ListUserRoleBind(ctx context.Context, in *ListUserRoleBindRequest, opts ...grpc.CallOption) (*ListUserRoleBindReply, error) CreateUserPhoneRegister(ctx context.Context, in *UserPhoneRegister, opts ...grpc.CallOption) (*api.Success, error) // 描述该方法的功能 PostPhoneSmsVeryfy(ctx context.Context, in *PhoneVerifyRequest, opts ...grpc.CallOption) (*PhoneVerifyReply, 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 *api.Success, err error) CreateUserPhoneRegister(ctx context.Context, req *UserPhoneRegister, opts ...http.CallOption) (rsp *api.Success, err error) CreateUserRoleBind(ctx context.Context, req *UserRoleBindRequest, opts ...http.CallOption) (rsp *api.Success, err error) CreateUserVerify(ctx context.Context, req *CreatUserVerifyReqeust, opts ...http.CallOption) (rsp *api.Success, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *api.Success, err error) DeleteUserRoleBind(ctx context.Context, req *DeleteUserRoleBindRequest, opts ...http.CallOption) (rsp *api.Success, err error) GetUser(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *GetUserReply, err error) GetUserVerify(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *UserVerifyUrl, err error) ListUser(ctx context.Context, req *api.PageSearch, opts ...http.CallOption) (rsp *ListUserReply, err error) ListUserRoleBind(ctx context.Context, req *ListUserRoleBindRequest, opts ...http.CallOption) (rsp *ListUserRoleBindReply, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) PostPhoneSmsVeryfy(ctx context.Context, req *PhoneVerifyRequest, opts ...http.CallOption) (rsp *PhoneVerifyReply, err error) ResetPassword(ctx context.Context, req *ResetPasswordRequest, opts ...http.CallOption) (rsp *api.Success, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *api.Success, err error) UpdateUserVerify(ctx context.Context, req *UpdateUserVerifyRequest, opts ...http.CallOption) (rsp *api.Success, 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) (*api.Success, error)
func (*UserHTTPClientImpl) CreateUserPhoneRegister ¶
func (c *UserHTTPClientImpl) CreateUserPhoneRegister(ctx context.Context, in *UserPhoneRegister, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) CreateUserRoleBind ¶
func (c *UserHTTPClientImpl) CreateUserRoleBind(ctx context.Context, in *UserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) CreateUserVerify ¶
func (c *UserHTTPClientImpl) CreateUserVerify(ctx context.Context, in *CreatUserVerifyReqeust, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) DeleteUser ¶
func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) DeleteUserRoleBind ¶
func (c *UserHTTPClientImpl) DeleteUserRoleBind(ctx context.Context, in *DeleteUserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) GetUser ¶
func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetUserReply, error)
func (*UserHTTPClientImpl) GetUserVerify ¶
func (c *UserHTTPClientImpl) GetUserVerify(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserVerifyUrl, error)
func (*UserHTTPClientImpl) ListUser ¶
func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *api.PageSearch, opts ...http.CallOption) (*ListUserReply, error)
func (*UserHTTPClientImpl) ListUserNavigation ¶
func (c *UserHTTPClientImpl) ListUserNavigation(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserNavigationReply, error)
func (*UserHTTPClientImpl) ListUserRoleBind ¶
func (c *UserHTTPClientImpl) ListUserRoleBind(ctx context.Context, in *ListUserRoleBindRequest, opts ...http.CallOption) (*ListUserRoleBindReply, error)
func (*UserHTTPClientImpl) Login ¶
func (c *UserHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*UserHTTPClientImpl) PostPhoneSmsVeryfy ¶
func (c *UserHTTPClientImpl) PostPhoneSmsVeryfy(ctx context.Context, in *PhoneVerifyRequest, opts ...http.CallOption) (*PhoneVerifyReply, error)
func (*UserHTTPClientImpl) ResetPassword ¶
func (c *UserHTTPClientImpl) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) UpdateUser ¶
func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*api.Success, error)
func (*UserHTTPClientImpl) UpdateUserVerify ¶
func (c *UserHTTPClientImpl) UpdateUserVerify(ctx context.Context, in *UpdateUserVerifyRequest, opts ...http.CallOption) (*api.Success, error)
type UserHTTPServer ¶
type UserHTTPServer interface { CreateUser(context.Context, *CreateUserRequest) (*api.Success, error) CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error) CreateUserRoleBind(context.Context, *UserRoleBindRequest) (*api.Success, error) CreateUserVerify(context.Context, *CreatUserVerifyReqeust) (*api.Success, error) DeleteUser(context.Context, *DeleteUserRequest) (*api.Success, error) DeleteUserRoleBind(context.Context, *DeleteUserRoleBindRequest) (*api.Success, error) GetUser(context.Context, *api.IDRequest) (*GetUserReply, error) GetUserVerify(context.Context, *api.IDRequest) (*UserVerifyUrl, error) ListUser(context.Context, *api.PageSearch) (*ListUserReply, error) ListUserRoleBind(context.Context, *ListUserRoleBindRequest) (*ListUserRoleBindReply, error) Login(context.Context, *LoginRequest) (*LoginReply, error) PostPhoneSmsVeryfy(context.Context, *PhoneVerifyRequest) (*PhoneVerifyReply, error) ResetPassword(context.Context, *ResetPasswordRequest) (*api.Success, error) UpdateUser(context.Context, *UpdateUserRequest) (*api.Success, error) UpdateUserVerify(context.Context, *UpdateUserVerifyRequest) (*api.Success, error) }
type UserNavigationReply ¶
type UserNavigationReply struct { // contains filtered or unexported fields }
func (*UserNavigationReply) Descriptor
deprecated
func (*UserNavigationReply) Descriptor() ([]byte, []int)
Deprecated: Use UserNavigationReply.ProtoReflect.Descriptor instead.
func (*UserNavigationReply) GetNavigationList ¶
func (x *UserNavigationReply) GetNavigationList() []*UserNavigationReply_NavigationReply
func (*UserNavigationReply) ProtoMessage ¶
func (*UserNavigationReply) ProtoMessage()
func (*UserNavigationReply) ProtoReflect ¶
func (x *UserNavigationReply) ProtoReflect() protoreflect.Message
func (*UserNavigationReply) Reset ¶
func (x *UserNavigationReply) Reset()
func (*UserNavigationReply) String ¶
func (x *UserNavigationReply) String() string
func (*UserNavigationReply) Validate ¶
func (m *UserNavigationReply) Validate() error
Validate checks the field values on UserNavigationReply 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 (*UserNavigationReply) ValidateAll ¶
func (m *UserNavigationReply) ValidateAll() error
ValidateAll checks the field values on UserNavigationReply 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 UserNavigationReplyMultiError, or nil if none found.
type UserNavigationReplyMultiError ¶
type UserNavigationReplyMultiError []error
UserNavigationReplyMultiError is an error wrapping multiple validation errors returned by UserNavigationReply.ValidateAll() if the designated constraints aren't met.
func (UserNavigationReplyMultiError) AllErrors ¶
func (m UserNavigationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserNavigationReplyMultiError) Error ¶
func (m UserNavigationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNavigationReplyValidationError ¶
type UserNavigationReplyValidationError struct {
// contains filtered or unexported fields
}
UserNavigationReplyValidationError is the validation error returned by UserNavigationReply.Validate if the designated constraints aren't met.
func (UserNavigationReplyValidationError) Cause ¶
func (e UserNavigationReplyValidationError) Cause() error
Cause function returns cause value.
func (UserNavigationReplyValidationError) Error ¶
func (e UserNavigationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UserNavigationReplyValidationError) ErrorName ¶
func (e UserNavigationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UserNavigationReplyValidationError) Field ¶
func (e UserNavigationReplyValidationError) Field() string
Field function returns field value.
func (UserNavigationReplyValidationError) Key ¶
func (e UserNavigationReplyValidationError) Key() bool
Key function returns key value.
func (UserNavigationReplyValidationError) Reason ¶
func (e UserNavigationReplyValidationError) Reason() string
Reason function returns reason value.
type UserNavigationReply_NavigationReply ¶
type UserNavigationReply_NavigationReply struct { // contains filtered or unexported fields }
func (*UserNavigationReply_NavigationReply) Descriptor
deprecated
func (*UserNavigationReply_NavigationReply) Descriptor() ([]byte, []int)
Deprecated: Use UserNavigationReply_NavigationReply.ProtoReflect.Descriptor instead.
func (*UserNavigationReply_NavigationReply) GetId ¶
func (x *UserNavigationReply_NavigationReply) GetId() string
func (*UserNavigationReply_NavigationReply) GetNavigationID ¶
func (x *UserNavigationReply_NavigationReply) GetNavigationID() string
func (*UserNavigationReply_NavigationReply) GetNavigationName ¶
func (x *UserNavigationReply_NavigationReply) GetNavigationName() string
func (*UserNavigationReply_NavigationReply) GetStatus ¶
func (x *UserNavigationReply_NavigationReply) GetStatus() bool
func (*UserNavigationReply_NavigationReply) ProtoMessage ¶
func (*UserNavigationReply_NavigationReply) ProtoMessage()
func (*UserNavigationReply_NavigationReply) ProtoReflect ¶
func (x *UserNavigationReply_NavigationReply) ProtoReflect() protoreflect.Message
func (*UserNavigationReply_NavigationReply) Reset ¶
func (x *UserNavigationReply_NavigationReply) Reset()
func (*UserNavigationReply_NavigationReply) String ¶
func (x *UserNavigationReply_NavigationReply) String() string
func (*UserNavigationReply_NavigationReply) Validate ¶
func (m *UserNavigationReply_NavigationReply) Validate() error
Validate checks the field values on UserNavigationReply_NavigationReply 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 (*UserNavigationReply_NavigationReply) ValidateAll ¶
func (m *UserNavigationReply_NavigationReply) ValidateAll() error
ValidateAll checks the field values on UserNavigationReply_NavigationReply 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 UserNavigationReply_NavigationReplyMultiError, or nil if none found.
type UserNavigationReply_NavigationReplyMultiError ¶
type UserNavigationReply_NavigationReplyMultiError []error
UserNavigationReply_NavigationReplyMultiError is an error wrapping multiple validation errors returned by UserNavigationReply_NavigationReply.ValidateAll() if the designated constraints aren't met.
func (UserNavigationReply_NavigationReplyMultiError) AllErrors ¶
func (m UserNavigationReply_NavigationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserNavigationReply_NavigationReplyMultiError) Error ¶
func (m UserNavigationReply_NavigationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNavigationReply_NavigationReplyValidationError ¶
type UserNavigationReply_NavigationReplyValidationError struct {
// contains filtered or unexported fields
}
UserNavigationReply_NavigationReplyValidationError is the validation error returned by UserNavigationReply_NavigationReply.Validate if the designated constraints aren't met.
func (UserNavigationReply_NavigationReplyValidationError) Cause ¶
func (e UserNavigationReply_NavigationReplyValidationError) Cause() error
Cause function returns cause value.
func (UserNavigationReply_NavigationReplyValidationError) Error ¶
func (e UserNavigationReply_NavigationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UserNavigationReply_NavigationReplyValidationError) ErrorName ¶
func (e UserNavigationReply_NavigationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UserNavigationReply_NavigationReplyValidationError) Field ¶
func (e UserNavigationReply_NavigationReplyValidationError) Field() string
Field function returns field value.
func (UserNavigationReply_NavigationReplyValidationError) Key ¶
func (e UserNavigationReply_NavigationReplyValidationError) Key() bool
Key function returns key value.
func (UserNavigationReply_NavigationReplyValidationError) Reason ¶
func (e UserNavigationReply_NavigationReplyValidationError) Reason() string
Reason function returns reason value.
type UserPhoneRegister ¶
type UserPhoneRegister struct { Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` IdCard string `protobuf:"bytes,2,opt,name=idCard,proto3" json:"idCard,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CertificateURL string `protobuf:"bytes,4,opt,name=certificateURL,proto3" json:"certificateURL,omitempty"` RoleID string `protobuf:"bytes,5,opt,name=roleID,proto3" json:"roleID,omitempty"` OrgID string `protobuf:"bytes,6,opt,name=orgID,proto3" json:"orgID,omitempty"` // contains filtered or unexported fields }
func (*UserPhoneRegister) Descriptor
deprecated
func (*UserPhoneRegister) Descriptor() ([]byte, []int)
Deprecated: Use UserPhoneRegister.ProtoReflect.Descriptor instead.
func (*UserPhoneRegister) GetCertificateURL ¶
func (x *UserPhoneRegister) GetCertificateURL() string
func (*UserPhoneRegister) GetIdCard ¶
func (x *UserPhoneRegister) GetIdCard() string
func (*UserPhoneRegister) GetName ¶
func (x *UserPhoneRegister) GetName() string
func (*UserPhoneRegister) GetOrgID ¶
func (x *UserPhoneRegister) GetOrgID() string
func (*UserPhoneRegister) GetPhone ¶
func (x *UserPhoneRegister) GetPhone() string
func (*UserPhoneRegister) GetRoleID ¶
func (x *UserPhoneRegister) GetRoleID() string
func (*UserPhoneRegister) ProtoMessage ¶
func (*UserPhoneRegister) ProtoMessage()
func (*UserPhoneRegister) ProtoReflect ¶
func (x *UserPhoneRegister) ProtoReflect() protoreflect.Message
func (*UserPhoneRegister) Reset ¶
func (x *UserPhoneRegister) Reset()
func (*UserPhoneRegister) String ¶
func (x *UserPhoneRegister) String() string
func (*UserPhoneRegister) Validate ¶
func (m *UserPhoneRegister) Validate() error
Validate checks the field values on UserPhoneRegister 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 (*UserPhoneRegister) ValidateAll ¶
func (m *UserPhoneRegister) ValidateAll() error
ValidateAll checks the field values on UserPhoneRegister 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 UserPhoneRegisterMultiError, or nil if none found.
type UserPhoneRegisterMultiError ¶
type UserPhoneRegisterMultiError []error
UserPhoneRegisterMultiError is an error wrapping multiple validation errors returned by UserPhoneRegister.ValidateAll() if the designated constraints aren't met.
func (UserPhoneRegisterMultiError) AllErrors ¶
func (m UserPhoneRegisterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPhoneRegisterMultiError) Error ¶
func (m UserPhoneRegisterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPhoneRegisterValidationError ¶
type UserPhoneRegisterValidationError struct {
// contains filtered or unexported fields
}
UserPhoneRegisterValidationError is the validation error returned by UserPhoneRegister.Validate if the designated constraints aren't met.
func (UserPhoneRegisterValidationError) Cause ¶
func (e UserPhoneRegisterValidationError) Cause() error
Cause function returns cause value.
func (UserPhoneRegisterValidationError) Error ¶
func (e UserPhoneRegisterValidationError) Error() string
Error satisfies the builtin error interface
func (UserPhoneRegisterValidationError) ErrorName ¶
func (e UserPhoneRegisterValidationError) ErrorName() string
ErrorName returns error name.
func (UserPhoneRegisterValidationError) Field ¶
func (e UserPhoneRegisterValidationError) Field() string
Field function returns field value.
func (UserPhoneRegisterValidationError) Key ¶
func (e UserPhoneRegisterValidationError) Key() bool
Key function returns key value.
func (UserPhoneRegisterValidationError) Reason ¶
func (e UserPhoneRegisterValidationError) Reason() string
Reason function returns reason value.
type UserRoleBindRequest ¶
type UserRoleBindRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` RoleIDList []string `protobuf:"bytes,2,rep,name=roleIDList,proto3" json:"roleIDList,omitempty"` // contains filtered or unexported fields }
func (*UserRoleBindRequest) Descriptor
deprecated
func (*UserRoleBindRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleBindRequest.ProtoReflect.Descriptor instead.
func (*UserRoleBindRequest) GetRoleIDList ¶
func (x *UserRoleBindRequest) GetRoleIDList() []string
func (*UserRoleBindRequest) GetUserID ¶
func (x *UserRoleBindRequest) GetUserID() string
func (*UserRoleBindRequest) ProtoMessage ¶
func (*UserRoleBindRequest) ProtoMessage()
func (*UserRoleBindRequest) ProtoReflect ¶
func (x *UserRoleBindRequest) ProtoReflect() protoreflect.Message
func (*UserRoleBindRequest) Reset ¶
func (x *UserRoleBindRequest) Reset()
func (*UserRoleBindRequest) String ¶
func (x *UserRoleBindRequest) String() string
func (*UserRoleBindRequest) Validate ¶
func (m *UserRoleBindRequest) Validate() error
Validate checks the field values on UserRoleBindRequest 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 (*UserRoleBindRequest) ValidateAll ¶
func (m *UserRoleBindRequest) ValidateAll() error
ValidateAll checks the field values on UserRoleBindRequest 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 UserRoleBindRequestMultiError, or nil if none found.
type UserRoleBindRequestMultiError ¶
type UserRoleBindRequestMultiError []error
UserRoleBindRequestMultiError is an error wrapping multiple validation errors returned by UserRoleBindRequest.ValidateAll() if the designated constraints aren't met.
func (UserRoleBindRequestMultiError) AllErrors ¶
func (m UserRoleBindRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserRoleBindRequestMultiError) Error ¶
func (m UserRoleBindRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserRoleBindRequestValidationError ¶
type UserRoleBindRequestValidationError struct {
// contains filtered or unexported fields
}
UserRoleBindRequestValidationError is the validation error returned by UserRoleBindRequest.Validate if the designated constraints aren't met.
func (UserRoleBindRequestValidationError) Cause ¶
func (e UserRoleBindRequestValidationError) Cause() error
Cause function returns cause value.
func (UserRoleBindRequestValidationError) Error ¶
func (e UserRoleBindRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserRoleBindRequestValidationError) ErrorName ¶
func (e UserRoleBindRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserRoleBindRequestValidationError) Field ¶
func (e UserRoleBindRequestValidationError) Field() string
Field function returns field value.
func (UserRoleBindRequestValidationError) Key ¶
func (e UserRoleBindRequestValidationError) Key() bool
Key function returns key value.
func (UserRoleBindRequestValidationError) Reason ¶
func (e UserRoleBindRequestValidationError) Reason() string
Reason function returns reason value.
type UserServer ¶
type UserServer interface { CreateUser(context.Context, *CreateUserRequest) (*api.Success, error) UpdateUser(context.Context, *UpdateUserRequest) (*api.Success, error) DeleteUser(context.Context, *DeleteUserRequest) (*api.Success, error) GetUser(context.Context, *api.IDRequest) (*GetUserReply, error) GetUserVerify(context.Context, *api.IDRequest) (*UserVerifyUrl, error) CreateUserVerify(context.Context, *CreatUserVerifyReqeust) (*api.Success, error) UpdateUserVerify(context.Context, *UpdateUserVerifyRequest) (*api.Success, error) ListUser(context.Context, *api.PageSearch) (*ListUserReply, error) ResetPassword(context.Context, *ResetPasswordRequest) (*api.Success, error) Login(context.Context, *LoginRequest) (*LoginReply, error) CreateUserRoleBind(context.Context, *UserRoleBindRequest) (*api.Success, error) DeleteUserRoleBind(context.Context, *DeleteUserRoleBindRequest) (*api.Success, error) ListUserRoleBind(context.Context, *ListUserRoleBindRequest) (*ListUserRoleBindReply, error) CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error) // 描述该方法的功能 PostPhoneSmsVeryfy(context.Context, *PhoneVerifyRequest) (*PhoneVerifyReply, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility
type UserStatus ¶
type UserStatus int32
const ( // NotRegister 未注册 UserStatus_NotRegister UserStatus = 0 UserStatus_NotVerify UserStatus = 1 UserStatus_Valid UserStatus = 2 )
func (UserStatus) Descriptor ¶
func (UserStatus) Descriptor() protoreflect.EnumDescriptor
func (UserStatus) Enum ¶
func (x UserStatus) Enum() *UserStatus
func (UserStatus) EnumDescriptor
deprecated
func (UserStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserStatus.Descriptor instead.
func (UserStatus) Number ¶
func (x UserStatus) Number() protoreflect.EnumNumber
func (UserStatus) String ¶
func (x UserStatus) String() string
func (UserStatus) Type ¶
func (UserStatus) Type() protoreflect.EnumType
type UserVerifyUrl ¶
type UserVerifyUrl struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` // contains filtered or unexported fields }
func (*UserVerifyUrl) Descriptor
deprecated
func (*UserVerifyUrl) Descriptor() ([]byte, []int)
Deprecated: Use UserVerifyUrl.ProtoReflect.Descriptor instead.
func (*UserVerifyUrl) GetURL ¶
func (x *UserVerifyUrl) GetURL() string
func (*UserVerifyUrl) ProtoMessage ¶
func (*UserVerifyUrl) ProtoMessage()
func (*UserVerifyUrl) ProtoReflect ¶
func (x *UserVerifyUrl) ProtoReflect() protoreflect.Message
func (*UserVerifyUrl) Reset ¶
func (x *UserVerifyUrl) Reset()
func (*UserVerifyUrl) String ¶
func (x *UserVerifyUrl) String() string
func (*UserVerifyUrl) Validate ¶
func (m *UserVerifyUrl) Validate() error
Validate checks the field values on UserVerifyUrl 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 (*UserVerifyUrl) ValidateAll ¶
func (m *UserVerifyUrl) ValidateAll() error
ValidateAll checks the field values on UserVerifyUrl 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 UserVerifyUrlMultiError, or nil if none found.
type UserVerifyUrlMultiError ¶
type UserVerifyUrlMultiError []error
UserVerifyUrlMultiError is an error wrapping multiple validation errors returned by UserVerifyUrl.ValidateAll() if the designated constraints aren't met.
func (UserVerifyUrlMultiError) AllErrors ¶
func (m UserVerifyUrlMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserVerifyUrlMultiError) Error ¶
func (m UserVerifyUrlMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserVerifyUrlValidationError ¶
type UserVerifyUrlValidationError struct {
// contains filtered or unexported fields
}
UserVerifyUrlValidationError is the validation error returned by UserVerifyUrl.Validate if the designated constraints aren't met.
func (UserVerifyUrlValidationError) Cause ¶
func (e UserVerifyUrlValidationError) Cause() error
Cause function returns cause value.
func (UserVerifyUrlValidationError) Error ¶
func (e UserVerifyUrlValidationError) Error() string
Error satisfies the builtin error interface
func (UserVerifyUrlValidationError) ErrorName ¶
func (e UserVerifyUrlValidationError) ErrorName() string
ErrorName returns error name.
func (UserVerifyUrlValidationError) Field ¶
func (e UserVerifyUrlValidationError) Field() string
Field function returns field value.
func (UserVerifyUrlValidationError) Key ¶
func (e UserVerifyUrlValidationError) Key() bool
Key function returns key value.
func (UserVerifyUrlValidationError) Reason ¶
func (e UserVerifyUrlValidationError) Reason() string
Reason function returns reason value.