Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type CreateUserReply
- func (*CreateUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserReply) GetId() uint32
- func (*CreateUserReply) ProtoMessage()
- func (x *CreateUserReply) ProtoReflect() protoreflect.Message
- func (x *CreateUserReply) Reset()
- func (x *CreateUserReply) String() string
- func (m *CreateUserReply) Validate() error
- func (m *CreateUserReply) ValidateAll() error
- type CreateUserReplyMultiError
- type CreateUserReplyValidationError
- func (e CreateUserReplyValidationError) Cause() error
- func (e CreateUserReplyValidationError) Error() string
- func (e CreateUserReplyValidationError) ErrorName() string
- func (e CreateUserReplyValidationError) Field() string
- func (e CreateUserReplyValidationError) Key() bool
- func (e CreateUserReplyValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetGender() string
- func (x *CreateUserRequest) GetPhone() string
- func (x *CreateUserRequest) GetRealName() 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 DeleteTrashUserReply
- func (*DeleteTrashUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrashUserReply) GetTotal() uint32
- func (*DeleteTrashUserReply) ProtoMessage()
- func (x *DeleteTrashUserReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTrashUserReply) Reset()
- func (x *DeleteTrashUserReply) String() string
- func (m *DeleteTrashUserReply) Validate() error
- func (m *DeleteTrashUserReply) ValidateAll() error
- type DeleteTrashUserReplyMultiError
- type DeleteTrashUserReplyValidationError
- func (e DeleteTrashUserReplyValidationError) Cause() error
- func (e DeleteTrashUserReplyValidationError) Error() string
- func (e DeleteTrashUserReplyValidationError) ErrorName() string
- func (e DeleteTrashUserReplyValidationError) Field() string
- func (e DeleteTrashUserReplyValidationError) Key() bool
- func (e DeleteTrashUserReplyValidationError) Reason() string
- type DeleteTrashUserRequest
- func (*DeleteTrashUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTrashUserRequest) GetIds() []uint32
- func (*DeleteTrashUserRequest) ProtoMessage()
- func (x *DeleteTrashUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTrashUserRequest) Reset()
- func (x *DeleteTrashUserRequest) String() string
- func (m *DeleteTrashUserRequest) Validate() error
- func (m *DeleteTrashUserRequest) ValidateAll() error
- type DeleteTrashUserRequestMultiError
- type DeleteTrashUserRequestValidationError
- func (e DeleteTrashUserRequestValidationError) Cause() error
- func (e DeleteTrashUserRequestValidationError) Error() string
- func (e DeleteTrashUserRequestValidationError) ErrorName() string
- func (e DeleteTrashUserRequestValidationError) Field() string
- func (e DeleteTrashUserRequestValidationError) Key() bool
- func (e DeleteTrashUserRequestValidationError) Reason() string
- type DeleteUserReply
- func (*DeleteUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReply) GetTotal() uint32
- func (*DeleteUserReply) ProtoMessage()
- func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReply) Reset()
- func (x *DeleteUserReply) String() string
- func (m *DeleteUserReply) Validate() error
- func (m *DeleteUserReply) ValidateAll() error
- type DeleteUserReplyMultiError
- type DeleteUserReplyValidationError
- func (e DeleteUserReplyValidationError) Cause() error
- func (e DeleteUserReplyValidationError) Error() string
- func (e DeleteUserReplyValidationError) ErrorName() string
- func (e DeleteUserReplyValidationError) Field() string
- func (e DeleteUserReplyValidationError) Key() bool
- func (e DeleteUserReplyValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetIds() []uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type ExportUserReply
- func (*ExportUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ExportUserReply) GetSrc() string
- func (*ExportUserReply) ProtoMessage()
- func (x *ExportUserReply) ProtoReflect() protoreflect.Message
- func (x *ExportUserReply) Reset()
- func (x *ExportUserReply) String() string
- func (m *ExportUserReply) Validate() error
- func (m *ExportUserReply) ValidateAll() error
- type ExportUserReplyMultiError
- type ExportUserReplyValidationError
- func (e ExportUserReplyValidationError) Cause() error
- func (e ExportUserReplyValidationError) Error() string
- func (e ExportUserReplyValidationError) ErrorName() string
- func (e ExportUserReplyValidationError) Field() string
- func (e ExportUserReplyValidationError) Key() bool
- func (e ExportUserReplyValidationError) Reason() string
- type ExportUserRequest
- func (*ExportUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportUserRequest) GetAppId() uint32
- func (x *ExportUserRequest) GetCreatedAts() []uint32
- func (x *ExportUserRequest) GetEmail() string
- func (x *ExportUserRequest) GetFrom() string
- func (x *ExportUserRequest) GetGender() string
- func (x *ExportUserRequest) GetPhone() string
- func (x *ExportUserRequest) GetRealName() string
- func (x *ExportUserRequest) GetStatus() bool
- func (x *ExportUserRequest) GetUsername() string
- func (*ExportUserRequest) ProtoMessage()
- func (x *ExportUserRequest) ProtoReflect() protoreflect.Message
- func (x *ExportUserRequest) Reset()
- func (x *ExportUserRequest) String() string
- func (m *ExportUserRequest) Validate() error
- func (m *ExportUserRequest) ValidateAll() error
- type ExportUserRequestMultiError
- type ExportUserRequestValidationError
- func (e ExportUserRequestValidationError) Cause() error
- func (e ExportUserRequestValidationError) Error() string
- func (e ExportUserRequestValidationError) ErrorName() string
- func (e ExportUserRequestValidationError) Field() string
- func (e ExportUserRequestValidationError) Key() bool
- func (e ExportUserRequestValidationError) Reason() string
- type GetCurrentUserReply
- func (*GetCurrentUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserReply) GetAvatar() string
- func (x *GetCurrentUserReply) GetAvatarUrl() string
- func (x *GetCurrentUserReply) GetEmail() string
- func (x *GetCurrentUserReply) GetGender() string
- func (x *GetCurrentUserReply) GetId() uint32
- func (x *GetCurrentUserReply) GetNickName() string
- func (x *GetCurrentUserReply) GetPhone() string
- func (x *GetCurrentUserReply) GetRealName() string
- func (x *GetCurrentUserReply) GetUsername() string
- func (*GetCurrentUserReply) ProtoMessage()
- func (x *GetCurrentUserReply) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserReply) Reset()
- func (x *GetCurrentUserReply) String() string
- func (m *GetCurrentUserReply) Validate() error
- func (m *GetCurrentUserReply) ValidateAll() error
- type GetCurrentUserReplyMultiError
- type GetCurrentUserReplyValidationError
- func (e GetCurrentUserReplyValidationError) Cause() error
- func (e GetCurrentUserReplyValidationError) Error() string
- func (e GetCurrentUserReplyValidationError) ErrorName() string
- func (e GetCurrentUserReplyValidationError) Field() string
- func (e GetCurrentUserReplyValidationError) Key() bool
- func (e GetCurrentUserReplyValidationError) Reason() string
- type GetCurrentUserRequest
- func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCurrentUserRequest) ProtoMessage()
- func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserRequest) Reset()
- func (x *GetCurrentUserRequest) String() string
- func (m *GetCurrentUserRequest) Validate() error
- func (m *GetCurrentUserRequest) ValidateAll() error
- type GetCurrentUserRequestMultiError
- type GetCurrentUserRequestValidationError
- func (e GetCurrentUserRequestValidationError) Cause() error
- func (e GetCurrentUserRequestValidationError) Error() string
- func (e GetCurrentUserRequestValidationError) ErrorName() string
- func (e GetCurrentUserRequestValidationError) Field() string
- func (e GetCurrentUserRequestValidationError) Key() bool
- func (e GetCurrentUserRequestValidationError) Reason() string
- type GetTrashUserReply
- func (*GetTrashUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrashUserReply) GetAvatar() string
- func (x *GetTrashUserReply) GetAvatarUrl() string
- func (x *GetTrashUserReply) GetCreatedAt() uint32
- func (x *GetTrashUserReply) GetDeletedAt() uint32
- func (x *GetTrashUserReply) GetDisableDesc() string
- func (x *GetTrashUserReply) GetEmail() string
- func (x *GetTrashUserReply) GetFrom() string
- func (x *GetTrashUserReply) GetFromDesc() string
- func (x *GetTrashUserReply) GetGender() string
- func (x *GetTrashUserReply) GetId() uint32
- func (x *GetTrashUserReply) GetNickName() string
- func (x *GetTrashUserReply) GetPassword() string
- func (x *GetTrashUserReply) GetPhone() string
- func (x *GetTrashUserReply) GetRealName() string
- func (x *GetTrashUserReply) GetStatus() bool
- func (x *GetTrashUserReply) GetUpdatedAt() uint32
- func (x *GetTrashUserReply) GetUsername() string
- func (*GetTrashUserReply) ProtoMessage()
- func (x *GetTrashUserReply) ProtoReflect() protoreflect.Message
- func (x *GetTrashUserReply) Reset()
- func (x *GetTrashUserReply) String() string
- func (m *GetTrashUserReply) Validate() error
- func (m *GetTrashUserReply) ValidateAll() error
- type GetTrashUserReplyMultiError
- type GetTrashUserReplyValidationError
- func (e GetTrashUserReplyValidationError) Cause() error
- func (e GetTrashUserReplyValidationError) Error() string
- func (e GetTrashUserReplyValidationError) ErrorName() string
- func (e GetTrashUserReplyValidationError) Field() string
- func (e GetTrashUserReplyValidationError) Key() bool
- func (e GetTrashUserReplyValidationError) Reason() string
- type GetTrashUserRequest
- func (*GetTrashUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrashUserRequest) GetId() uint32
- func (*GetTrashUserRequest) ProtoMessage()
- func (x *GetTrashUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrashUserRequest) Reset()
- func (x *GetTrashUserRequest) String() string
- func (m *GetTrashUserRequest) Validate() error
- func (m *GetTrashUserRequest) ValidateAll() error
- type GetTrashUserRequestMultiError
- type GetTrashUserRequestValidationError
- func (e GetTrashUserRequestValidationError) Cause() error
- func (e GetTrashUserRequestValidationError) Error() string
- func (e GetTrashUserRequestValidationError) ErrorName() string
- func (e GetTrashUserRequestValidationError) Field() string
- func (e GetTrashUserRequestValidationError) Key() bool
- func (e GetTrashUserRequestValidationError) Reason() string
- type GetUserReply
- func (*GetUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply) GetAvatar() string
- func (x *GetUserReply) GetAvatarUrl() string
- func (x *GetUserReply) GetCreatedAt() uint32
- func (x *GetUserReply) GetDisableDesc() string
- func (x *GetUserReply) GetEmail() string
- func (x *GetUserReply) GetFrom() string
- func (x *GetUserReply) GetFromDesc() string
- func (x *GetUserReply) GetGender() string
- func (x *GetUserReply) GetId() uint32
- func (x *GetUserReply) GetNickName() string
- func (x *GetUserReply) GetPhone() string
- func (x *GetUserReply) GetRealName() string
- func (x *GetUserReply) GetStatus() bool
- func (x *GetUserReply) GetUpdatedAt() uint32
- 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 GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetEmail() string
- func (x *GetUserRequest) GetId() uint32
- func (x *GetUserRequest) GetPhone() string
- func (x *GetUserRequest) GetUsername() 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 ImportUserReply
- func (*ImportUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserReply) GetTotal() uint32
- func (*ImportUserReply) ProtoMessage()
- func (x *ImportUserReply) ProtoReflect() protoreflect.Message
- func (x *ImportUserReply) Reset()
- func (x *ImportUserReply) String() string
- func (m *ImportUserReply) Validate() error
- func (m *ImportUserReply) ValidateAll() error
- type ImportUserReplyMultiError
- type ImportUserReplyValidationError
- func (e ImportUserReplyValidationError) Cause() error
- func (e ImportUserReplyValidationError) Error() string
- func (e ImportUserReplyValidationError) ErrorName() string
- func (e ImportUserReplyValidationError) Field() string
- func (e ImportUserReplyValidationError) Key() bool
- func (e ImportUserReplyValidationError) Reason() string
- type ImportUserRequest
- func (*ImportUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserRequest) GetList() []*ImportUserRequest_User
- func (*ImportUserRequest) ProtoMessage()
- func (x *ImportUserRequest) ProtoReflect() protoreflect.Message
- func (x *ImportUserRequest) Reset()
- func (x *ImportUserRequest) String() string
- func (m *ImportUserRequest) Validate() error
- func (m *ImportUserRequest) ValidateAll() error
- type ImportUserRequestMultiError
- type ImportUserRequestValidationError
- func (e ImportUserRequestValidationError) Cause() error
- func (e ImportUserRequestValidationError) Error() string
- func (e ImportUserRequestValidationError) ErrorName() string
- func (e ImportUserRequestValidationError) Field() string
- func (e ImportUserRequestValidationError) Key() bool
- func (e ImportUserRequestValidationError) Reason() string
- type ImportUserRequest_User
- func (*ImportUserRequest_User) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserRequest_User) GetAppId() uint32
- func (x *ImportUserRequest_User) GetEmail() string
- func (x *ImportUserRequest_User) GetGender() string
- func (x *ImportUserRequest_User) GetPhone() string
- func (x *ImportUserRequest_User) GetRealName() string
- func (*ImportUserRequest_User) ProtoMessage()
- func (x *ImportUserRequest_User) ProtoReflect() protoreflect.Message
- func (x *ImportUserRequest_User) Reset()
- func (x *ImportUserRequest_User) String() string
- func (m *ImportUserRequest_User) Validate() error
- func (m *ImportUserRequest_User) ValidateAll() error
- type ImportUserRequest_UserMultiError
- type ImportUserRequest_UserValidationError
- func (e ImportUserRequest_UserValidationError) Cause() error
- func (e ImportUserRequest_UserValidationError) Error() string
- func (e ImportUserRequest_UserValidationError) ErrorName() string
- func (e ImportUserRequest_UserValidationError) Field() string
- func (e ImportUserRequest_UserValidationError) Key() bool
- func (e ImportUserRequest_UserValidationError) Reason() string
- type ListTrashUserReply
- func (*ListTrashUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrashUserReply) GetList() []*ListTrashUserReply_User
- func (x *ListTrashUserReply) GetTotal() uint32
- func (*ListTrashUserReply) ProtoMessage()
- func (x *ListTrashUserReply) ProtoReflect() protoreflect.Message
- func (x *ListTrashUserReply) Reset()
- func (x *ListTrashUserReply) String() string
- func (m *ListTrashUserReply) Validate() error
- func (m *ListTrashUserReply) ValidateAll() error
- type ListTrashUserReplyMultiError
- type ListTrashUserReplyValidationError
- func (e ListTrashUserReplyValidationError) Cause() error
- func (e ListTrashUserReplyValidationError) Error() string
- func (e ListTrashUserReplyValidationError) ErrorName() string
- func (e ListTrashUserReplyValidationError) Field() string
- func (e ListTrashUserReplyValidationError) Key() bool
- func (e ListTrashUserReplyValidationError) Reason() string
- type ListTrashUserReply_User
- func (*ListTrashUserReply_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrashUserReply_User) GetAvatar() string
- func (x *ListTrashUserReply_User) GetAvatarUrl() string
- func (x *ListTrashUserReply_User) GetCreatedAt() uint32
- func (x *ListTrashUserReply_User) GetDeletedAt() uint32
- func (x *ListTrashUserReply_User) GetDisableDesc() string
- func (x *ListTrashUserReply_User) GetEmail() string
- func (x *ListTrashUserReply_User) GetFrom() string
- func (x *ListTrashUserReply_User) GetFromDesc() string
- func (x *ListTrashUserReply_User) GetGender() string
- func (x *ListTrashUserReply_User) GetId() uint32
- func (x *ListTrashUserReply_User) GetNickName() string
- func (x *ListTrashUserReply_User) GetPassword() string
- func (x *ListTrashUserReply_User) GetPhone() string
- func (x *ListTrashUserReply_User) GetRealName() string
- func (x *ListTrashUserReply_User) GetStatus() bool
- func (x *ListTrashUserReply_User) GetUpdatedAt() uint32
- func (x *ListTrashUserReply_User) GetUsername() string
- func (*ListTrashUserReply_User) ProtoMessage()
- func (x *ListTrashUserReply_User) ProtoReflect() protoreflect.Message
- func (x *ListTrashUserReply_User) Reset()
- func (x *ListTrashUserReply_User) String() string
- func (m *ListTrashUserReply_User) Validate() error
- func (m *ListTrashUserReply_User) ValidateAll() error
- type ListTrashUserReply_UserMultiError
- type ListTrashUserReply_UserValidationError
- func (e ListTrashUserReply_UserValidationError) Cause() error
- func (e ListTrashUserReply_UserValidationError) Error() string
- func (e ListTrashUserReply_UserValidationError) ErrorName() string
- func (e ListTrashUserReply_UserValidationError) Field() string
- func (e ListTrashUserReply_UserValidationError) Key() bool
- func (e ListTrashUserReply_UserValidationError) Reason() string
- type ListTrashUserRequest
- func (*ListTrashUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTrashUserRequest) GetCreatedAts() []uint32
- func (x *ListTrashUserRequest) GetEmail() string
- func (x *ListTrashUserRequest) GetFrom() string
- func (x *ListTrashUserRequest) GetGender() string
- func (x *ListTrashUserRequest) GetOrder() string
- func (x *ListTrashUserRequest) GetOrderBy() string
- func (x *ListTrashUserRequest) GetPage() uint32
- func (x *ListTrashUserRequest) GetPageSize() uint32
- func (x *ListTrashUserRequest) GetPhone() string
- func (x *ListTrashUserRequest) GetRealName() string
- func (x *ListTrashUserRequest) GetStatus() bool
- func (x *ListTrashUserRequest) GetUsername() string
- func (*ListTrashUserRequest) ProtoMessage()
- func (x *ListTrashUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListTrashUserRequest) Reset()
- func (x *ListTrashUserRequest) String() string
- func (m *ListTrashUserRequest) Validate() error
- func (m *ListTrashUserRequest) ValidateAll() error
- type ListTrashUserRequestMultiError
- type ListTrashUserRequestValidationError
- func (e ListTrashUserRequestValidationError) Cause() error
- func (e ListTrashUserRequestValidationError) Error() string
- func (e ListTrashUserRequestValidationError) ErrorName() string
- func (e ListTrashUserRequestValidationError) Field() string
- func (e ListTrashUserRequestValidationError) Key() bool
- func (e ListTrashUserRequestValidationError) Reason() string
- type ListUserReply
- func (*ListUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply) GetList() []*ListUserReply_User
- func (x *ListUserReply) GetTotal() uint32
- func (*ListUserReply) ProtoMessage()
- func (x *ListUserReply) ProtoReflect() protoreflect.Message
- func (x *ListUserReply) Reset()
- func (x *ListUserReply) String() string
- func (m *ListUserReply) Validate() error
- func (m *ListUserReply) ValidateAll() error
- type ListUserReplyMultiError
- type ListUserReplyValidationError
- func (e ListUserReplyValidationError) Cause() error
- func (e ListUserReplyValidationError) Error() string
- func (e ListUserReplyValidationError) ErrorName() string
- func (e ListUserReplyValidationError) Field() string
- func (e ListUserReplyValidationError) Key() bool
- func (e ListUserReplyValidationError) Reason() string
- type ListUserReply_User
- func (*ListUserReply_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply_User) GetAvatar() string
- func (x *ListUserReply_User) GetAvatarUrl() string
- func (x *ListUserReply_User) GetCreatedAt() uint32
- func (x *ListUserReply_User) GetDisableDesc() string
- func (x *ListUserReply_User) GetEmail() string
- func (x *ListUserReply_User) GetFrom() string
- func (x *ListUserReply_User) GetFromDesc() string
- func (x *ListUserReply_User) GetGender() string
- func (x *ListUserReply_User) GetId() uint32
- func (x *ListUserReply_User) GetNickName() string
- func (x *ListUserReply_User) GetPhone() string
- func (x *ListUserReply_User) GetRealName() string
- func (x *ListUserReply_User) GetStatus() bool
- func (x *ListUserReply_User) GetUpdatedAt() uint32
- func (x *ListUserReply_User) GetUsername() string
- func (*ListUserReply_User) ProtoMessage()
- func (x *ListUserReply_User) ProtoReflect() protoreflect.Message
- func (x *ListUserReply_User) Reset()
- func (x *ListUserReply_User) String() string
- func (m *ListUserReply_User) Validate() error
- func (m *ListUserReply_User) ValidateAll() error
- type ListUserReply_UserMultiError
- type ListUserReply_UserValidationError
- func (e ListUserReply_UserValidationError) Cause() error
- func (e ListUserReply_UserValidationError) Error() string
- func (e ListUserReply_UserValidationError) ErrorName() string
- func (e ListUserReply_UserValidationError) Field() string
- func (e ListUserReply_UserValidationError) Key() bool
- func (e ListUserReply_UserValidationError) Reason() string
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetApp() string
- func (x *ListUserRequest) GetAppId() uint32
- func (x *ListUserRequest) GetCreatedAts() []uint32
- func (x *ListUserRequest) GetEmail() string
- func (x *ListUserRequest) GetFrom() string
- func (x *ListUserRequest) GetGender() string
- func (x *ListUserRequest) GetInIds() []uint32
- func (x *ListUserRequest) GetNotInIds() []uint32
- func (x *ListUserRequest) GetOrder() string
- func (x *ListUserRequest) GetOrderBy() string
- func (x *ListUserRequest) GetPage() uint32
- func (x *ListUserRequest) GetPageSize() uint32
- func (x *ListUserRequest) GetPhone() string
- func (x *ListUserRequest) GetRealName() string
- func (x *ListUserRequest) GetStatus() bool
- func (x *ListUserRequest) GetUsername() string
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- func (m *ListUserRequest) Validate() error
- func (m *ListUserRequest) ValidateAll() error
- type ListUserRequestMultiError
- type ListUserRequestValidationError
- func (e ListUserRequestValidationError) Cause() error
- func (e ListUserRequestValidationError) Error() string
- func (e ListUserRequestValidationError) ErrorName() string
- func (e ListUserRequestValidationError) Field() string
- func (e ListUserRequestValidationError) Key() bool
- func (e ListUserRequestValidationError) Reason() string
- type RevertTrashUserReply
- func (*RevertTrashUserReply) Descriptor() ([]byte, []int)deprecated
- func (*RevertTrashUserReply) ProtoMessage()
- func (x *RevertTrashUserReply) ProtoReflect() protoreflect.Message
- func (x *RevertTrashUserReply) Reset()
- func (x *RevertTrashUserReply) String() string
- func (m *RevertTrashUserReply) Validate() error
- func (m *RevertTrashUserReply) ValidateAll() error
- type RevertTrashUserReplyMultiError
- type RevertTrashUserReplyValidationError
- func (e RevertTrashUserReplyValidationError) Cause() error
- func (e RevertTrashUserReplyValidationError) Error() string
- func (e RevertTrashUserReplyValidationError) ErrorName() string
- func (e RevertTrashUserReplyValidationError) Field() string
- func (e RevertTrashUserReplyValidationError) Key() bool
- func (e RevertTrashUserReplyValidationError) Reason() string
- type RevertTrashUserRequest
- func (*RevertTrashUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevertTrashUserRequest) GetId() uint32
- func (*RevertTrashUserRequest) ProtoMessage()
- func (x *RevertTrashUserRequest) ProtoReflect() protoreflect.Message
- func (x *RevertTrashUserRequest) Reset()
- func (x *RevertTrashUserRequest) String() string
- func (m *RevertTrashUserRequest) Validate() error
- func (m *RevertTrashUserRequest) ValidateAll() error
- type RevertTrashUserRequestMultiError
- type RevertTrashUserRequestValidationError
- func (e RevertTrashUserRequestValidationError) Cause() error
- func (e RevertTrashUserRequestValidationError) Error() string
- func (e RevertTrashUserRequestValidationError) ErrorName() string
- func (e RevertTrashUserRequestValidationError) Field() string
- func (e RevertTrashUserRequestValidationError) Key() bool
- func (e RevertTrashUserRequestValidationError) Reason() string
- type UnimplementedUserServer
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
- func (UnimplementedUserServer) ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
- func (UnimplementedUserServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
- func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
- func (UnimplementedUserServer) ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
- func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
- func (UnimplementedUserServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
- func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
- func (UnimplementedUserServer) UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
- type UnsafeUserServer
- type UpdateCurrentUserReply
- func (*UpdateCurrentUserReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCurrentUserReply) ProtoMessage()
- func (x *UpdateCurrentUserReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserReply) Reset()
- func (x *UpdateCurrentUserReply) String() string
- func (m *UpdateCurrentUserReply) Validate() error
- func (m *UpdateCurrentUserReply) ValidateAll() error
- type UpdateCurrentUserReplyMultiError
- type UpdateCurrentUserReplyValidationError
- func (e UpdateCurrentUserReplyValidationError) Cause() error
- func (e UpdateCurrentUserReplyValidationError) Error() string
- func (e UpdateCurrentUserReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserReplyValidationError) Field() string
- func (e UpdateCurrentUserReplyValidationError) Key() bool
- func (e UpdateCurrentUserReplyValidationError) Reason() string
- type UpdateCurrentUserRequest
- func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserRequest) GetAvatar() string
- func (x *UpdateCurrentUserRequest) GetGender() string
- func (x *UpdateCurrentUserRequest) GetNickName() string
- func (*UpdateCurrentUserRequest) ProtoMessage()
- func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserRequest) Reset()
- func (x *UpdateCurrentUserRequest) String() string
- func (m *UpdateCurrentUserRequest) Validate() error
- func (m *UpdateCurrentUserRequest) ValidateAll() error
- type UpdateCurrentUserRequestMultiError
- type UpdateCurrentUserRequestValidationError
- func (e UpdateCurrentUserRequestValidationError) Cause() error
- func (e UpdateCurrentUserRequestValidationError) Error() string
- func (e UpdateCurrentUserRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserRequestValidationError) Field() string
- func (e UpdateCurrentUserRequestValidationError) Key() bool
- func (e UpdateCurrentUserRequestValidationError) Reason() string
- type 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) GetAvatar() string
- func (x *UpdateUserRequest) GetDisableDesc() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetGender() string
- func (x *UpdateUserRequest) GetId() uint32
- func (x *UpdateUserRequest) GetNickName() string
- func (x *UpdateUserRequest) GetPassword() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetRealName() 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 UpdateUserStatusReply
- func (*UpdateUserStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserStatusReply) ProtoMessage()
- func (x *UpdateUserStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserStatusReply) Reset()
- func (x *UpdateUserStatusReply) String() string
- func (m *UpdateUserStatusReply) Validate() error
- func (m *UpdateUserStatusReply) ValidateAll() error
- type UpdateUserStatusReplyMultiError
- type UpdateUserStatusReplyValidationError
- func (e UpdateUserStatusReplyValidationError) Cause() error
- func (e UpdateUserStatusReplyValidationError) Error() string
- func (e UpdateUserStatusReplyValidationError) ErrorName() string
- func (e UpdateUserStatusReplyValidationError) Field() string
- func (e UpdateUserStatusReplyValidationError) Key() bool
- func (e UpdateUserStatusReplyValidationError) Reason() string
- type UpdateUserStatusRequest
- func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserStatusRequest) GetDisableDesc() string
- func (x *UpdateUserStatusRequest) GetId() uint32
- func (x *UpdateUserStatusRequest) GetStatus() bool
- func (*UpdateUserStatusRequest) ProtoMessage()
- func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserStatusRequest) Reset()
- func (x *UpdateUserStatusRequest) String() string
- func (m *UpdateUserStatusRequest) Validate() error
- func (m *UpdateUserStatusRequest) ValidateAll() error
- type UpdateUserStatusRequestMultiError
- type UpdateUserStatusRequestValidationError
- func (e UpdateUserStatusRequestValidationError) Cause() error
- func (e UpdateUserStatusRequestValidationError) Error() string
- func (e UpdateUserStatusRequestValidationError) ErrorName() string
- func (e UpdateUserStatusRequestValidationError) Field() string
- func (e UpdateUserStatusRequestValidationError) Key() bool
- func (e UpdateUserStatusRequestValidationError) Reason() string
- type UserClient
- type UserHTTPClient
- type UserHTTPClientImpl
- func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
- func (c *UserHTTPClientImpl) ExportUser(ctx context.Context, in *ExportUserRequest, opts ...http.CallOption) (*ExportUserReply, error)
- func (c *UserHTTPClientImpl) GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...http.CallOption) (*GetCurrentUserReply, error)
- func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
- func (c *UserHTTPClientImpl) ImportUser(ctx context.Context, in *ImportUserRequest, opts ...http.CallOption) (*ImportUserReply, error)
- func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
- func (c *UserHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*UpdateCurrentUserReply, error)
- func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
- func (c *UserHTTPClientImpl) UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...http.CallOption) (*UpdateUserStatusReply, error)
- type UserHTTPServer
- type UserServer
Constants ¶
const ( User_GetCurrentUser_FullMethodName = "/application.api.application.user.v1.User/GetCurrentUser" User_UpdateCurrentUser_FullMethodName = "/application.api.application.user.v1.User/UpdateCurrentUser" User_GetUser_FullMethodName = "/application.api.application.user.v1.User/GetUser" User_ListUser_FullMethodName = "/application.api.application.user.v1.User/ListUser" User_CreateUser_FullMethodName = "/application.api.application.user.v1.User/CreateUser" User_ImportUser_FullMethodName = "/application.api.application.user.v1.User/ImportUser" User_ExportUser_FullMethodName = "/application.api.application.user.v1.User/ExportUser" User_UpdateUser_FullMethodName = "/application.api.application.user.v1.User/UpdateUser" User_UpdateUserStatus_FullMethodName = "/application.api.application.user.v1.User/UpdateUserStatus" )
const OperationUserCreateUser = "/application.api.application.user.v1.User/CreateUser"
const OperationUserExportUser = "/application.api.application.user.v1.User/ExportUser"
const OperationUserGetCurrentUser = "/application.api.application.user.v1.User/GetCurrentUser"
const OperationUserGetUser = "/application.api.application.user.v1.User/GetUser"
const OperationUserImportUser = "/application.api.application.user.v1.User/ImportUser"
const OperationUserListUser = "/application.api.application.user.v1.User/ListUser"
const OperationUserUpdateCurrentUser = "/application.api.application.user.v1.User/UpdateCurrentUser"
const OperationUserUpdateUser = "/application.api.application.user.v1.User/UpdateUser"
const OperationUserUpdateUserStatus = "/application.api.application.user.v1.User/UpdateUserStatus"
Variables ¶
var File_api_application_user_application_user_proto protoreflect.FileDescriptor
var File_api_application_user_application_user_service_proto protoreflect.FileDescriptor
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "application.api.application.user.v1.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCurrentUser", Handler: _User_GetCurrentUser_Handler, }, { MethodName: "UpdateCurrentUser", Handler: _User_UpdateCurrentUser_Handler, }, { MethodName: "GetUser", Handler: _User_GetUser_Handler, }, { MethodName: "ListUser", Handler: _User_ListUser_Handler, }, { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "ImportUser", Handler: _User_ImportUser_Handler, }, { MethodName: "ExportUser", Handler: _User_ExportUser_Handler, }, { MethodName: "UpdateUser", Handler: _User_UpdateUser_Handler, }, { MethodName: "UpdateUserStatus", Handler: _User_UpdateUserStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/application/user/application_user_service.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserHTTPServer ¶
func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type CreateUserReply ¶
type CreateUserReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserReply) Descriptor
deprecated
func (*CreateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.
func (*CreateUserReply) GetId ¶
func (x *CreateUserReply) GetId() uint32
func (*CreateUserReply) ProtoMessage ¶
func (*CreateUserReply) ProtoMessage()
func (*CreateUserReply) ProtoReflect ¶
func (x *CreateUserReply) ProtoReflect() protoreflect.Message
func (*CreateUserReply) Reset ¶
func (x *CreateUserReply) Reset()
func (*CreateUserReply) String ¶
func (x *CreateUserReply) String() string
func (*CreateUserReply) Validate ¶
func (m *CreateUserReply) Validate() error
Validate checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserReply) ValidateAll ¶
func (m *CreateUserReply) ValidateAll() error
ValidateAll checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserReplyMultiError, or nil if none found.
type CreateUserReplyMultiError ¶
type CreateUserReplyMultiError []error
CreateUserReplyMultiError is an error wrapping multiple validation errors returned by CreateUserReply.ValidateAll() if the designated constraints aren't met.
func (CreateUserReplyMultiError) AllErrors ¶
func (m CreateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserReplyMultiError) Error ¶
func (m CreateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserReplyValidationError ¶
type CreateUserReplyValidationError struct {
// contains filtered or unexported fields
}
CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.
func (CreateUserReplyValidationError) Cause ¶
func (e CreateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateUserReplyValidationError) Error ¶
func (e CreateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserReplyValidationError) ErrorName ¶
func (e CreateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserReplyValidationError) Field ¶
func (e CreateUserReplyValidationError) Field() string
Field function returns field value.
func (CreateUserReplyValidationError) Key ¶
func (e CreateUserReplyValidationError) Key() bool
Key function returns key value.
func (CreateUserReplyValidationError) Reason ¶
func (e CreateUserReplyValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct {
Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
RealName *string `protobuf:"bytes,3,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Gender *string `protobuf:"bytes,4,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetGender ¶
func (x *CreateUserRequest) GetGender() string
func (*CreateUserRequest) GetPhone ¶
func (x *CreateUserRequest) GetPhone() string
func (*CreateUserRequest) GetRealName ¶
func (x *CreateUserRequest) GetRealName() 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 DeleteTrashUserReply ¶
type DeleteTrashUserReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteTrashUserReply) Descriptor
deprecated
func (*DeleteTrashUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrashUserReply.ProtoReflect.Descriptor instead.
func (*DeleteTrashUserReply) GetTotal ¶
func (x *DeleteTrashUserReply) GetTotal() uint32
func (*DeleteTrashUserReply) ProtoMessage ¶
func (*DeleteTrashUserReply) ProtoMessage()
func (*DeleteTrashUserReply) ProtoReflect ¶
func (x *DeleteTrashUserReply) ProtoReflect() protoreflect.Message
func (*DeleteTrashUserReply) Reset ¶
func (x *DeleteTrashUserReply) Reset()
func (*DeleteTrashUserReply) String ¶
func (x *DeleteTrashUserReply) String() string
func (*DeleteTrashUserReply) Validate ¶
func (m *DeleteTrashUserReply) Validate() error
Validate checks the field values on DeleteTrashUserReply 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 (*DeleteTrashUserReply) ValidateAll ¶
func (m *DeleteTrashUserReply) ValidateAll() error
ValidateAll checks the field values on DeleteTrashUserReply 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 DeleteTrashUserReplyMultiError, or nil if none found.
type DeleteTrashUserReplyMultiError ¶
type DeleteTrashUserReplyMultiError []error
DeleteTrashUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteTrashUserReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTrashUserReplyMultiError) AllErrors ¶
func (m DeleteTrashUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTrashUserReplyMultiError) Error ¶
func (m DeleteTrashUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTrashUserReplyValidationError ¶
type DeleteTrashUserReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTrashUserReplyValidationError is the validation error returned by DeleteTrashUserReply.Validate if the designated constraints aren't met.
func (DeleteTrashUserReplyValidationError) Cause ¶
func (e DeleteTrashUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTrashUserReplyValidationError) Error ¶
func (e DeleteTrashUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTrashUserReplyValidationError) ErrorName ¶
func (e DeleteTrashUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTrashUserReplyValidationError) Field ¶
func (e DeleteTrashUserReplyValidationError) Field() string
Field function returns field value.
func (DeleteTrashUserReplyValidationError) Key ¶
func (e DeleteTrashUserReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTrashUserReplyValidationError) Reason ¶
func (e DeleteTrashUserReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTrashUserRequest ¶
type DeleteTrashUserRequest struct {
Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteTrashUserRequest) Descriptor
deprecated
func (*DeleteTrashUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTrashUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteTrashUserRequest) GetIds ¶
func (x *DeleteTrashUserRequest) GetIds() []uint32
func (*DeleteTrashUserRequest) ProtoMessage ¶
func (*DeleteTrashUserRequest) ProtoMessage()
func (*DeleteTrashUserRequest) ProtoReflect ¶
func (x *DeleteTrashUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteTrashUserRequest) Reset ¶
func (x *DeleteTrashUserRequest) Reset()
func (*DeleteTrashUserRequest) String ¶
func (x *DeleteTrashUserRequest) String() string
func (*DeleteTrashUserRequest) Validate ¶
func (m *DeleteTrashUserRequest) Validate() error
Validate checks the field values on DeleteTrashUserRequest 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 (*DeleteTrashUserRequest) ValidateAll ¶
func (m *DeleteTrashUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTrashUserRequest 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 DeleteTrashUserRequestMultiError, or nil if none found.
type DeleteTrashUserRequestMultiError ¶
type DeleteTrashUserRequestMultiError []error
DeleteTrashUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteTrashUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTrashUserRequestMultiError) AllErrors ¶
func (m DeleteTrashUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTrashUserRequestMultiError) Error ¶
func (m DeleteTrashUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTrashUserRequestValidationError ¶
type DeleteTrashUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTrashUserRequestValidationError is the validation error returned by DeleteTrashUserRequest.Validate if the designated constraints aren't met.
func (DeleteTrashUserRequestValidationError) Cause ¶
func (e DeleteTrashUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTrashUserRequestValidationError) Error ¶
func (e DeleteTrashUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTrashUserRequestValidationError) ErrorName ¶
func (e DeleteTrashUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTrashUserRequestValidationError) Field ¶
func (e DeleteTrashUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteTrashUserRequestValidationError) Key ¶
func (e DeleteTrashUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTrashUserRequestValidationError) Reason ¶
func (e DeleteTrashUserRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReply ¶
type DeleteUserReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserReply) Descriptor
deprecated
func (*DeleteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.
func (*DeleteUserReply) GetTotal ¶
func (x *DeleteUserReply) GetTotal() uint32
func (*DeleteUserReply) ProtoMessage ¶
func (*DeleteUserReply) ProtoMessage()
func (*DeleteUserReply) ProtoReflect ¶
func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
func (*DeleteUserReply) Reset ¶
func (x *DeleteUserReply) Reset()
func (*DeleteUserReply) String ¶
func (x *DeleteUserReply) String() string
func (*DeleteUserReply) Validate ¶
func (m *DeleteUserReply) Validate() error
Validate checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserReply) ValidateAll ¶
func (m *DeleteUserReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReplyMultiError, or nil if none found.
type DeleteUserReplyMultiError ¶
type DeleteUserReplyMultiError []error
DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserReplyMultiError) AllErrors ¶
func (m DeleteUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserReplyMultiError) Error ¶
func (m DeleteUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserReplyValidationError ¶
type DeleteUserReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.
func (DeleteUserReplyValidationError) Cause ¶
func (e DeleteUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserReplyValidationError) Error ¶
func (e DeleteUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserReplyValidationError) ErrorName ¶
func (e DeleteUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserReplyValidationError) Field ¶
func (e DeleteUserReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserReplyValidationError) Key ¶
func (e DeleteUserReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserReplyValidationError) Reason ¶
func (e DeleteUserReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct {
Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetIds ¶
func (x *DeleteUserRequest) GetIds() []uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type ExportUserReply ¶
type ExportUserReply struct {
Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
// contains filtered or unexported fields
}
func (*ExportUserReply) Descriptor
deprecated
func (*ExportUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ExportUserReply.ProtoReflect.Descriptor instead.
func (*ExportUserReply) GetSrc ¶
func (x *ExportUserReply) GetSrc() string
func (*ExportUserReply) ProtoMessage ¶
func (*ExportUserReply) ProtoMessage()
func (*ExportUserReply) ProtoReflect ¶
func (x *ExportUserReply) ProtoReflect() protoreflect.Message
func (*ExportUserReply) Reset ¶
func (x *ExportUserReply) Reset()
func (*ExportUserReply) String ¶
func (x *ExportUserReply) String() string
func (*ExportUserReply) Validate ¶
func (m *ExportUserReply) Validate() error
Validate checks the field values on ExportUserReply 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 (*ExportUserReply) ValidateAll ¶
func (m *ExportUserReply) ValidateAll() error
ValidateAll checks the field values on ExportUserReply 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 ExportUserReplyMultiError, or nil if none found.
type ExportUserReplyMultiError ¶
type ExportUserReplyMultiError []error
ExportUserReplyMultiError is an error wrapping multiple validation errors returned by ExportUserReply.ValidateAll() if the designated constraints aren't met.
func (ExportUserReplyMultiError) AllErrors ¶
func (m ExportUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportUserReplyMultiError) Error ¶
func (m ExportUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExportUserReplyValidationError ¶
type ExportUserReplyValidationError struct {
// contains filtered or unexported fields
}
ExportUserReplyValidationError is the validation error returned by ExportUserReply.Validate if the designated constraints aren't met.
func (ExportUserReplyValidationError) Cause ¶
func (e ExportUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ExportUserReplyValidationError) Error ¶
func (e ExportUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ExportUserReplyValidationError) ErrorName ¶
func (e ExportUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ExportUserReplyValidationError) Field ¶
func (e ExportUserReplyValidationError) Field() string
Field function returns field value.
func (ExportUserReplyValidationError) Key ¶
func (e ExportUserReplyValidationError) Key() bool
Key function returns key value.
func (ExportUserReplyValidationError) Reason ¶
func (e ExportUserReplyValidationError) Reason() string
Reason function returns reason value.
type ExportUserRequest ¶
type ExportUserRequest struct {
AppId uint32 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
RealName *string `protobuf:"bytes,5,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Gender *string `protobuf:"bytes,6,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
From *string `protobuf:"bytes,8,opt,name=from,proto3,oneof" json:"from,omitempty"`
CreatedAts []uint32 `protobuf:"varint,9,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
// contains filtered or unexported fields
}
func (*ExportUserRequest) Descriptor
deprecated
func (*ExportUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportUserRequest.ProtoReflect.Descriptor instead.
func (*ExportUserRequest) GetAppId ¶ added in v1.0.33
func (x *ExportUserRequest) GetAppId() uint32
func (*ExportUserRequest) GetCreatedAts ¶
func (x *ExportUserRequest) GetCreatedAts() []uint32
func (*ExportUserRequest) GetEmail ¶
func (x *ExportUserRequest) GetEmail() string
func (*ExportUserRequest) GetFrom ¶
func (x *ExportUserRequest) GetFrom() string
func (*ExportUserRequest) GetGender ¶
func (x *ExportUserRequest) GetGender() string
func (*ExportUserRequest) GetPhone ¶
func (x *ExportUserRequest) GetPhone() string
func (*ExportUserRequest) GetRealName ¶
func (x *ExportUserRequest) GetRealName() string
func (*ExportUserRequest) GetStatus ¶
func (x *ExportUserRequest) GetStatus() bool
func (*ExportUserRequest) GetUsername ¶
func (x *ExportUserRequest) GetUsername() string
func (*ExportUserRequest) ProtoMessage ¶
func (*ExportUserRequest) ProtoMessage()
func (*ExportUserRequest) ProtoReflect ¶
func (x *ExportUserRequest) ProtoReflect() protoreflect.Message
func (*ExportUserRequest) Reset ¶
func (x *ExportUserRequest) Reset()
func (*ExportUserRequest) String ¶
func (x *ExportUserRequest) String() string
func (*ExportUserRequest) Validate ¶
func (m *ExportUserRequest) Validate() error
Validate checks the field values on ExportUserRequest 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 (*ExportUserRequest) ValidateAll ¶
func (m *ExportUserRequest) ValidateAll() error
ValidateAll checks the field values on ExportUserRequest 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 ExportUserRequestMultiError, or nil if none found.
type ExportUserRequestMultiError ¶
type ExportUserRequestMultiError []error
ExportUserRequestMultiError is an error wrapping multiple validation errors returned by ExportUserRequest.ValidateAll() if the designated constraints aren't met.
func (ExportUserRequestMultiError) AllErrors ¶
func (m ExportUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportUserRequestMultiError) Error ¶
func (m ExportUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExportUserRequestValidationError ¶
type ExportUserRequestValidationError struct {
// contains filtered or unexported fields
}
ExportUserRequestValidationError is the validation error returned by ExportUserRequest.Validate if the designated constraints aren't met.
func (ExportUserRequestValidationError) Cause ¶
func (e ExportUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ExportUserRequestValidationError) Error ¶
func (e ExportUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExportUserRequestValidationError) ErrorName ¶
func (e ExportUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExportUserRequestValidationError) Field ¶
func (e ExportUserRequestValidationError) Field() string
Field function returns field value.
func (ExportUserRequestValidationError) Key ¶
func (e ExportUserRequestValidationError) Key() bool
Key function returns key value.
func (ExportUserRequestValidationError) Reason ¶
func (e ExportUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserReply ¶
type GetCurrentUserReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
NickName string `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
AvatarUrl *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
// contains filtered or unexported fields
}
func (*GetCurrentUserReply) Descriptor
deprecated
func (*GetCurrentUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserReply.ProtoReflect.Descriptor instead.
func (*GetCurrentUserReply) GetAvatar ¶
func (x *GetCurrentUserReply) GetAvatar() string
func (*GetCurrentUserReply) GetAvatarUrl ¶
func (x *GetCurrentUserReply) GetAvatarUrl() string
func (*GetCurrentUserReply) GetEmail ¶
func (x *GetCurrentUserReply) GetEmail() string
func (*GetCurrentUserReply) GetGender ¶
func (x *GetCurrentUserReply) GetGender() string
func (*GetCurrentUserReply) GetId ¶
func (x *GetCurrentUserReply) GetId() uint32
func (*GetCurrentUserReply) GetNickName ¶
func (x *GetCurrentUserReply) GetNickName() string
func (*GetCurrentUserReply) GetPhone ¶
func (x *GetCurrentUserReply) GetPhone() string
func (*GetCurrentUserReply) GetRealName ¶
func (x *GetCurrentUserReply) GetRealName() string
func (*GetCurrentUserReply) GetUsername ¶
func (x *GetCurrentUserReply) GetUsername() string
func (*GetCurrentUserReply) ProtoMessage ¶
func (*GetCurrentUserReply) ProtoMessage()
func (*GetCurrentUserReply) ProtoReflect ¶
func (x *GetCurrentUserReply) ProtoReflect() protoreflect.Message
func (*GetCurrentUserReply) Reset ¶
func (x *GetCurrentUserReply) Reset()
func (*GetCurrentUserReply) String ¶
func (x *GetCurrentUserReply) String() string
func (*GetCurrentUserReply) Validate ¶
func (m *GetCurrentUserReply) Validate() error
Validate checks the field values on GetCurrentUserReply 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 (*GetCurrentUserReply) ValidateAll ¶
func (m *GetCurrentUserReply) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserReply 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 GetCurrentUserReplyMultiError, or nil if none found.
type GetCurrentUserReplyMultiError ¶
type GetCurrentUserReplyMultiError []error
GetCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by GetCurrentUserReply.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserReplyMultiError) AllErrors ¶
func (m GetCurrentUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserReplyMultiError) Error ¶
func (m GetCurrentUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserReplyValidationError ¶
type GetCurrentUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserReplyValidationError is the validation error returned by GetCurrentUserReply.Validate if the designated constraints aren't met.
func (GetCurrentUserReplyValidationError) Cause ¶
func (e GetCurrentUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserReplyValidationError) Error ¶
func (e GetCurrentUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserReplyValidationError) ErrorName ¶
func (e GetCurrentUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserReplyValidationError) Field ¶
func (e GetCurrentUserReplyValidationError) Field() string
Field function returns field value.
func (GetCurrentUserReplyValidationError) Key ¶
func (e GetCurrentUserReplyValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserReplyValidationError) Reason ¶
func (e GetCurrentUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserRequest ¶
type GetCurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentUserRequest) Descriptor
deprecated
func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentUserRequest) ProtoMessage ¶
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶
func (x *GetCurrentUserRequest) String() string
func (*GetCurrentUserRequest) Validate ¶
func (m *GetCurrentUserRequest) Validate() error
Validate checks the field values on GetCurrentUserRequest 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 (*GetCurrentUserRequest) ValidateAll ¶
func (m *GetCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserRequest 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 GetCurrentUserRequestMultiError, or nil if none found.
type GetCurrentUserRequestMultiError ¶
type GetCurrentUserRequestMultiError []error
GetCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by GetCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserRequestMultiError) AllErrors ¶
func (m GetCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserRequestMultiError) Error ¶
func (m GetCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserRequestValidationError ¶
type GetCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserRequestValidationError is the validation error returned by GetCurrentUserRequest.Validate if the designated constraints aren't met.
func (GetCurrentUserRequestValidationError) Cause ¶
func (e GetCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserRequestValidationError) Error ¶
func (e GetCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserRequestValidationError) ErrorName ¶
func (e GetCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserRequestValidationError) Field ¶
func (e GetCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (GetCurrentUserRequestValidationError) Key ¶
func (e GetCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserRequestValidationError) Reason ¶
func (e GetCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetTrashUserReply ¶
type GetTrashUserReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
NickName string `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
AvatarUrl *string `protobuf:"bytes,17,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
FromDesc string `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
CreatedAt uint32 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
DeletedAt uint32 `protobuf:"varint,16,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
// contains filtered or unexported fields
}
func (*GetTrashUserReply) Descriptor
deprecated
func (*GetTrashUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTrashUserReply.ProtoReflect.Descriptor instead.
func (*GetTrashUserReply) GetAvatar ¶
func (x *GetTrashUserReply) GetAvatar() string
func (*GetTrashUserReply) GetAvatarUrl ¶
func (x *GetTrashUserReply) GetAvatarUrl() string
func (*GetTrashUserReply) GetCreatedAt ¶
func (x *GetTrashUserReply) GetCreatedAt() uint32
func (*GetTrashUserReply) GetDeletedAt ¶
func (x *GetTrashUserReply) GetDeletedAt() uint32
func (*GetTrashUserReply) GetDisableDesc ¶
func (x *GetTrashUserReply) GetDisableDesc() string
func (*GetTrashUserReply) GetEmail ¶
func (x *GetTrashUserReply) GetEmail() string
func (*GetTrashUserReply) GetFrom ¶
func (x *GetTrashUserReply) GetFrom() string
func (*GetTrashUserReply) GetFromDesc ¶
func (x *GetTrashUserReply) GetFromDesc() string
func (*GetTrashUserReply) GetGender ¶
func (x *GetTrashUserReply) GetGender() string
func (*GetTrashUserReply) GetId ¶
func (x *GetTrashUserReply) GetId() uint32
func (*GetTrashUserReply) GetNickName ¶
func (x *GetTrashUserReply) GetNickName() string
func (*GetTrashUserReply) GetPassword ¶
func (x *GetTrashUserReply) GetPassword() string
func (*GetTrashUserReply) GetPhone ¶
func (x *GetTrashUserReply) GetPhone() string
func (*GetTrashUserReply) GetRealName ¶
func (x *GetTrashUserReply) GetRealName() string
func (*GetTrashUserReply) GetStatus ¶
func (x *GetTrashUserReply) GetStatus() bool
func (*GetTrashUserReply) GetUpdatedAt ¶
func (x *GetTrashUserReply) GetUpdatedAt() uint32
func (*GetTrashUserReply) GetUsername ¶
func (x *GetTrashUserReply) GetUsername() string
func (*GetTrashUserReply) ProtoMessage ¶
func (*GetTrashUserReply) ProtoMessage()
func (*GetTrashUserReply) ProtoReflect ¶
func (x *GetTrashUserReply) ProtoReflect() protoreflect.Message
func (*GetTrashUserReply) Reset ¶
func (x *GetTrashUserReply) Reset()
func (*GetTrashUserReply) String ¶
func (x *GetTrashUserReply) String() string
func (*GetTrashUserReply) Validate ¶
func (m *GetTrashUserReply) Validate() error
Validate checks the field values on GetTrashUserReply 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 (*GetTrashUserReply) ValidateAll ¶
func (m *GetTrashUserReply) ValidateAll() error
ValidateAll checks the field values on GetTrashUserReply 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 GetTrashUserReplyMultiError, or nil if none found.
type GetTrashUserReplyMultiError ¶
type GetTrashUserReplyMultiError []error
GetTrashUserReplyMultiError is an error wrapping multiple validation errors returned by GetTrashUserReply.ValidateAll() if the designated constraints aren't met.
func (GetTrashUserReplyMultiError) AllErrors ¶
func (m GetTrashUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTrashUserReplyMultiError) Error ¶
func (m GetTrashUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTrashUserReplyValidationError ¶
type GetTrashUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetTrashUserReplyValidationError is the validation error returned by GetTrashUserReply.Validate if the designated constraints aren't met.
func (GetTrashUserReplyValidationError) Cause ¶
func (e GetTrashUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTrashUserReplyValidationError) Error ¶
func (e GetTrashUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTrashUserReplyValidationError) ErrorName ¶
func (e GetTrashUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTrashUserReplyValidationError) Field ¶
func (e GetTrashUserReplyValidationError) Field() string
Field function returns field value.
func (GetTrashUserReplyValidationError) Key ¶
func (e GetTrashUserReplyValidationError) Key() bool
Key function returns key value.
func (GetTrashUserReplyValidationError) Reason ¶
func (e GetTrashUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetTrashUserRequest ¶
type GetTrashUserRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetTrashUserRequest) Descriptor
deprecated
func (*GetTrashUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTrashUserRequest.ProtoReflect.Descriptor instead.
func (*GetTrashUserRequest) GetId ¶
func (x *GetTrashUserRequest) GetId() uint32
func (*GetTrashUserRequest) ProtoMessage ¶
func (*GetTrashUserRequest) ProtoMessage()
func (*GetTrashUserRequest) ProtoReflect ¶
func (x *GetTrashUserRequest) ProtoReflect() protoreflect.Message
func (*GetTrashUserRequest) Reset ¶
func (x *GetTrashUserRequest) Reset()
func (*GetTrashUserRequest) String ¶
func (x *GetTrashUserRequest) String() string
func (*GetTrashUserRequest) Validate ¶
func (m *GetTrashUserRequest) Validate() error
Validate checks the field values on GetTrashUserRequest 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 (*GetTrashUserRequest) ValidateAll ¶
func (m *GetTrashUserRequest) ValidateAll() error
ValidateAll checks the field values on GetTrashUserRequest 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 GetTrashUserRequestMultiError, or nil if none found.
type GetTrashUserRequestMultiError ¶
type GetTrashUserRequestMultiError []error
GetTrashUserRequestMultiError is an error wrapping multiple validation errors returned by GetTrashUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetTrashUserRequestMultiError) AllErrors ¶
func (m GetTrashUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTrashUserRequestMultiError) Error ¶
func (m GetTrashUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTrashUserRequestValidationError ¶
type GetTrashUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetTrashUserRequestValidationError is the validation error returned by GetTrashUserRequest.Validate if the designated constraints aren't met.
func (GetTrashUserRequestValidationError) Cause ¶
func (e GetTrashUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTrashUserRequestValidationError) Error ¶
func (e GetTrashUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTrashUserRequestValidationError) ErrorName ¶
func (e GetTrashUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTrashUserRequestValidationError) Field ¶
func (e GetTrashUserRequestValidationError) Field() string
Field function returns field value.
func (GetTrashUserRequestValidationError) Key ¶
func (e GetTrashUserRequestValidationError) Key() bool
Key function returns key value.
func (GetTrashUserRequestValidationError) Reason ¶
func (e GetTrashUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserReply ¶
type GetUserReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
NickName string `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
AvatarUrl *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
FromDesc string `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
CreatedAt uint32 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserReply) Descriptor
deprecated
func (*GetUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.
func (*GetUserReply) GetAvatar ¶
func (x *GetUserReply) GetAvatar() string
func (*GetUserReply) GetAvatarUrl ¶
func (x *GetUserReply) GetAvatarUrl() string
func (*GetUserReply) GetCreatedAt ¶
func (x *GetUserReply) GetCreatedAt() uint32
func (*GetUserReply) GetDisableDesc ¶
func (x *GetUserReply) GetDisableDesc() string
func (*GetUserReply) GetEmail ¶
func (x *GetUserReply) GetEmail() string
func (*GetUserReply) GetFrom ¶
func (x *GetUserReply) GetFrom() string
func (*GetUserReply) GetFromDesc ¶
func (x *GetUserReply) GetFromDesc() string
func (*GetUserReply) GetGender ¶
func (x *GetUserReply) GetGender() string
func (*GetUserReply) GetId ¶
func (x *GetUserReply) GetId() uint32
func (*GetUserReply) GetNickName ¶
func (x *GetUserReply) GetNickName() string
func (*GetUserReply) GetPhone ¶
func (x *GetUserReply) GetPhone() string
func (*GetUserReply) GetRealName ¶
func (x *GetUserReply) GetRealName() string
func (*GetUserReply) GetStatus ¶
func (x *GetUserReply) GetStatus() bool
func (*GetUserReply) GetUpdatedAt ¶
func (x *GetUserReply) GetUpdatedAt() uint32
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 GetUserRequest ¶
type GetUserRequest struct {
Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetEmail ¶
func (x *GetUserRequest) GetEmail() string
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() uint32
func (*GetUserRequest) GetPhone ¶
func (x *GetUserRequest) GetPhone() string
func (*GetUserRequest) GetUsername ¶
func (x *GetUserRequest) GetUsername() 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 ImportUserReply ¶
type ImportUserReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ImportUserReply) Descriptor
deprecated
func (*ImportUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ImportUserReply.ProtoReflect.Descriptor instead.
func (*ImportUserReply) GetTotal ¶
func (x *ImportUserReply) GetTotal() uint32
func (*ImportUserReply) ProtoMessage ¶
func (*ImportUserReply) ProtoMessage()
func (*ImportUserReply) ProtoReflect ¶
func (x *ImportUserReply) ProtoReflect() protoreflect.Message
func (*ImportUserReply) Reset ¶
func (x *ImportUserReply) Reset()
func (*ImportUserReply) String ¶
func (x *ImportUserReply) String() string
func (*ImportUserReply) Validate ¶
func (m *ImportUserReply) Validate() error
Validate checks the field values on ImportUserReply 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 (*ImportUserReply) ValidateAll ¶
func (m *ImportUserReply) ValidateAll() error
ValidateAll checks the field values on ImportUserReply 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 ImportUserReplyMultiError, or nil if none found.
type ImportUserReplyMultiError ¶
type ImportUserReplyMultiError []error
ImportUserReplyMultiError is an error wrapping multiple validation errors returned by ImportUserReply.ValidateAll() if the designated constraints aren't met.
func (ImportUserReplyMultiError) AllErrors ¶
func (m ImportUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportUserReplyMultiError) Error ¶
func (m ImportUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportUserReplyValidationError ¶
type ImportUserReplyValidationError struct {
// contains filtered or unexported fields
}
ImportUserReplyValidationError is the validation error returned by ImportUserReply.Validate if the designated constraints aren't met.
func (ImportUserReplyValidationError) Cause ¶
func (e ImportUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ImportUserReplyValidationError) Error ¶
func (e ImportUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ImportUserReplyValidationError) ErrorName ¶
func (e ImportUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ImportUserReplyValidationError) Field ¶
func (e ImportUserReplyValidationError) Field() string
Field function returns field value.
func (ImportUserReplyValidationError) Key ¶
func (e ImportUserReplyValidationError) Key() bool
Key function returns key value.
func (ImportUserReplyValidationError) Reason ¶
func (e ImportUserReplyValidationError) Reason() string
Reason function returns reason value.
type ImportUserRequest ¶
type ImportUserRequest struct {
List []*ImportUserRequest_User `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ImportUserRequest) Descriptor
deprecated
func (*ImportUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportUserRequest.ProtoReflect.Descriptor instead.
func (*ImportUserRequest) GetList ¶
func (x *ImportUserRequest) GetList() []*ImportUserRequest_User
func (*ImportUserRequest) ProtoMessage ¶
func (*ImportUserRequest) ProtoMessage()
func (*ImportUserRequest) ProtoReflect ¶
func (x *ImportUserRequest) ProtoReflect() protoreflect.Message
func (*ImportUserRequest) Reset ¶
func (x *ImportUserRequest) Reset()
func (*ImportUserRequest) String ¶
func (x *ImportUserRequest) String() string
func (*ImportUserRequest) Validate ¶
func (m *ImportUserRequest) Validate() error
Validate checks the field values on ImportUserRequest 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 (*ImportUserRequest) ValidateAll ¶
func (m *ImportUserRequest) ValidateAll() error
ValidateAll checks the field values on ImportUserRequest 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 ImportUserRequestMultiError, or nil if none found.
type ImportUserRequestMultiError ¶
type ImportUserRequestMultiError []error
ImportUserRequestMultiError is an error wrapping multiple validation errors returned by ImportUserRequest.ValidateAll() if the designated constraints aren't met.
func (ImportUserRequestMultiError) AllErrors ¶
func (m ImportUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportUserRequestMultiError) Error ¶
func (m ImportUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportUserRequestValidationError ¶
type ImportUserRequestValidationError struct {
// contains filtered or unexported fields
}
ImportUserRequestValidationError is the validation error returned by ImportUserRequest.Validate if the designated constraints aren't met.
func (ImportUserRequestValidationError) Cause ¶
func (e ImportUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ImportUserRequestValidationError) Error ¶
func (e ImportUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ImportUserRequestValidationError) ErrorName ¶
func (e ImportUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ImportUserRequestValidationError) Field ¶
func (e ImportUserRequestValidationError) Field() string
Field function returns field value.
func (ImportUserRequestValidationError) Key ¶
func (e ImportUserRequestValidationError) Key() bool
Key function returns key value.
func (ImportUserRequestValidationError) Reason ¶
func (e ImportUserRequestValidationError) Reason() string
Reason function returns reason value.
type ImportUserRequest_User ¶ added in v1.0.33
type ImportUserRequest_User struct {
Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
RealName *string `protobuf:"bytes,3,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Gender *string `protobuf:"bytes,4,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
AppId *uint32 `protobuf:"varint,5,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
// contains filtered or unexported fields
}
func (*ImportUserRequest_User) Descriptor
deprecated
added in
v1.0.33
func (*ImportUserRequest_User) Descriptor() ([]byte, []int)
Deprecated: Use ImportUserRequest_User.ProtoReflect.Descriptor instead.
func (*ImportUserRequest_User) GetAppId ¶ added in v1.0.33
func (x *ImportUserRequest_User) GetAppId() uint32
func (*ImportUserRequest_User) GetEmail ¶ added in v1.0.33
func (x *ImportUserRequest_User) GetEmail() string
func (*ImportUserRequest_User) GetGender ¶ added in v1.0.33
func (x *ImportUserRequest_User) GetGender() string
func (*ImportUserRequest_User) GetPhone ¶ added in v1.0.33
func (x *ImportUserRequest_User) GetPhone() string
func (*ImportUserRequest_User) GetRealName ¶ added in v1.0.33
func (x *ImportUserRequest_User) GetRealName() string
func (*ImportUserRequest_User) ProtoMessage ¶ added in v1.0.33
func (*ImportUserRequest_User) ProtoMessage()
func (*ImportUserRequest_User) ProtoReflect ¶ added in v1.0.33
func (x *ImportUserRequest_User) ProtoReflect() protoreflect.Message
func (*ImportUserRequest_User) Reset ¶ added in v1.0.33
func (x *ImportUserRequest_User) Reset()
func (*ImportUserRequest_User) String ¶ added in v1.0.33
func (x *ImportUserRequest_User) String() string
func (*ImportUserRequest_User) Validate ¶ added in v1.0.33
func (m *ImportUserRequest_User) Validate() error
Validate checks the field values on ImportUserRequest_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImportUserRequest_User) ValidateAll ¶ added in v1.0.33
func (m *ImportUserRequest_User) ValidateAll() error
ValidateAll checks the field values on ImportUserRequest_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportUserRequest_UserMultiError, or nil if none found.
type ImportUserRequest_UserMultiError ¶ added in v1.0.33
type ImportUserRequest_UserMultiError []error
ImportUserRequest_UserMultiError is an error wrapping multiple validation errors returned by ImportUserRequest_User.ValidateAll() if the designated constraints aren't met.
func (ImportUserRequest_UserMultiError) AllErrors ¶ added in v1.0.33
func (m ImportUserRequest_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportUserRequest_UserMultiError) Error ¶ added in v1.0.33
func (m ImportUserRequest_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportUserRequest_UserValidationError ¶ added in v1.0.33
type ImportUserRequest_UserValidationError struct {
// contains filtered or unexported fields
}
ImportUserRequest_UserValidationError is the validation error returned by ImportUserRequest_User.Validate if the designated constraints aren't met.
func (ImportUserRequest_UserValidationError) Cause ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) Cause() error
Cause function returns cause value.
func (ImportUserRequest_UserValidationError) Error ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ImportUserRequest_UserValidationError) ErrorName ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ImportUserRequest_UserValidationError) Field ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) Field() string
Field function returns field value.
func (ImportUserRequest_UserValidationError) Key ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) Key() bool
Key function returns key value.
func (ImportUserRequest_UserValidationError) Reason ¶ added in v1.0.33
func (e ImportUserRequest_UserValidationError) Reason() string
Reason function returns reason value.
type ListTrashUserReply ¶
type ListTrashUserReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListTrashUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListTrashUserReply) Descriptor
deprecated
func (*ListTrashUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTrashUserReply.ProtoReflect.Descriptor instead.
func (*ListTrashUserReply) GetList ¶
func (x *ListTrashUserReply) GetList() []*ListTrashUserReply_User
func (*ListTrashUserReply) GetTotal ¶
func (x *ListTrashUserReply) GetTotal() uint32
func (*ListTrashUserReply) ProtoMessage ¶
func (*ListTrashUserReply) ProtoMessage()
func (*ListTrashUserReply) ProtoReflect ¶
func (x *ListTrashUserReply) ProtoReflect() protoreflect.Message
func (*ListTrashUserReply) Reset ¶
func (x *ListTrashUserReply) Reset()
func (*ListTrashUserReply) String ¶
func (x *ListTrashUserReply) String() string
func (*ListTrashUserReply) Validate ¶
func (m *ListTrashUserReply) Validate() error
Validate checks the field values on ListTrashUserReply 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 (*ListTrashUserReply) ValidateAll ¶
func (m *ListTrashUserReply) ValidateAll() error
ValidateAll checks the field values on ListTrashUserReply 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 ListTrashUserReplyMultiError, or nil if none found.
type ListTrashUserReplyMultiError ¶
type ListTrashUserReplyMultiError []error
ListTrashUserReplyMultiError is an error wrapping multiple validation errors returned by ListTrashUserReply.ValidateAll() if the designated constraints aren't met.
func (ListTrashUserReplyMultiError) AllErrors ¶
func (m ListTrashUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTrashUserReplyMultiError) Error ¶
func (m ListTrashUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTrashUserReplyValidationError ¶
type ListTrashUserReplyValidationError struct {
// contains filtered or unexported fields
}
ListTrashUserReplyValidationError is the validation error returned by ListTrashUserReply.Validate if the designated constraints aren't met.
func (ListTrashUserReplyValidationError) Cause ¶
func (e ListTrashUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTrashUserReplyValidationError) Error ¶
func (e ListTrashUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTrashUserReplyValidationError) ErrorName ¶
func (e ListTrashUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTrashUserReplyValidationError) Field ¶
func (e ListTrashUserReplyValidationError) Field() string
Field function returns field value.
func (ListTrashUserReplyValidationError) Key ¶
func (e ListTrashUserReplyValidationError) Key() bool
Key function returns key value.
func (ListTrashUserReplyValidationError) Reason ¶
func (e ListTrashUserReplyValidationError) Reason() string
Reason function returns reason value.
type ListTrashUserReply_User ¶
type ListTrashUserReply_User struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
NickName string `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
AvatarUrl *string `protobuf:"bytes,17,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
FromDesc string `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
CreatedAt uint32 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
DeletedAt uint32 `protobuf:"varint,16,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ListTrashUserReply_User) Descriptor
deprecated
func (*ListTrashUserReply_User) Descriptor() ([]byte, []int)
Deprecated: Use ListTrashUserReply_User.ProtoReflect.Descriptor instead.
func (*ListTrashUserReply_User) GetAvatar ¶
func (x *ListTrashUserReply_User) GetAvatar() string
func (*ListTrashUserReply_User) GetAvatarUrl ¶
func (x *ListTrashUserReply_User) GetAvatarUrl() string
func (*ListTrashUserReply_User) GetCreatedAt ¶
func (x *ListTrashUserReply_User) GetCreatedAt() uint32
func (*ListTrashUserReply_User) GetDeletedAt ¶
func (x *ListTrashUserReply_User) GetDeletedAt() uint32
func (*ListTrashUserReply_User) GetDisableDesc ¶
func (x *ListTrashUserReply_User) GetDisableDesc() string
func (*ListTrashUserReply_User) GetEmail ¶
func (x *ListTrashUserReply_User) GetEmail() string
func (*ListTrashUserReply_User) GetFrom ¶
func (x *ListTrashUserReply_User) GetFrom() string
func (*ListTrashUserReply_User) GetFromDesc ¶
func (x *ListTrashUserReply_User) GetFromDesc() string
func (*ListTrashUserReply_User) GetGender ¶
func (x *ListTrashUserReply_User) GetGender() string
func (*ListTrashUserReply_User) GetId ¶
func (x *ListTrashUserReply_User) GetId() uint32
func (*ListTrashUserReply_User) GetNickName ¶
func (x *ListTrashUserReply_User) GetNickName() string
func (*ListTrashUserReply_User) GetPassword ¶
func (x *ListTrashUserReply_User) GetPassword() string
func (*ListTrashUserReply_User) GetPhone ¶
func (x *ListTrashUserReply_User) GetPhone() string
func (*ListTrashUserReply_User) GetRealName ¶
func (x *ListTrashUserReply_User) GetRealName() string
func (*ListTrashUserReply_User) GetStatus ¶
func (x *ListTrashUserReply_User) GetStatus() bool
func (*ListTrashUserReply_User) GetUpdatedAt ¶
func (x *ListTrashUserReply_User) GetUpdatedAt() uint32
func (*ListTrashUserReply_User) GetUsername ¶
func (x *ListTrashUserReply_User) GetUsername() string
func (*ListTrashUserReply_User) ProtoMessage ¶
func (*ListTrashUserReply_User) ProtoMessage()
func (*ListTrashUserReply_User) ProtoReflect ¶
func (x *ListTrashUserReply_User) ProtoReflect() protoreflect.Message
func (*ListTrashUserReply_User) Reset ¶
func (x *ListTrashUserReply_User) Reset()
func (*ListTrashUserReply_User) String ¶
func (x *ListTrashUserReply_User) String() string
func (*ListTrashUserReply_User) Validate ¶
func (m *ListTrashUserReply_User) Validate() error
Validate checks the field values on ListTrashUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTrashUserReply_User) ValidateAll ¶
func (m *ListTrashUserReply_User) ValidateAll() error
ValidateAll checks the field values on ListTrashUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTrashUserReply_UserMultiError, or nil if none found.
type ListTrashUserReply_UserMultiError ¶
type ListTrashUserReply_UserMultiError []error
ListTrashUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListTrashUserReply_User.ValidateAll() if the designated constraints aren't met.
func (ListTrashUserReply_UserMultiError) AllErrors ¶
func (m ListTrashUserReply_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTrashUserReply_UserMultiError) Error ¶
func (m ListTrashUserReply_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTrashUserReply_UserValidationError ¶
type ListTrashUserReply_UserValidationError struct {
// contains filtered or unexported fields
}
ListTrashUserReply_UserValidationError is the validation error returned by ListTrashUserReply_User.Validate if the designated constraints aren't met.
func (ListTrashUserReply_UserValidationError) Cause ¶
func (e ListTrashUserReply_UserValidationError) Cause() error
Cause function returns cause value.
func (ListTrashUserReply_UserValidationError) Error ¶
func (e ListTrashUserReply_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListTrashUserReply_UserValidationError) ErrorName ¶
func (e ListTrashUserReply_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListTrashUserReply_UserValidationError) Field ¶
func (e ListTrashUserReply_UserValidationError) Field() string
Field function returns field value.
func (ListTrashUserReply_UserValidationError) Key ¶
func (e ListTrashUserReply_UserValidationError) Key() bool
Key function returns key value.
func (ListTrashUserReply_UserValidationError) Reason ¶
func (e ListTrashUserReply_UserValidationError) Reason() string
Reason function returns reason value.
type ListTrashUserRequest ¶
type ListTrashUserRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
Phone *string `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
RealName *string `protobuf:"bytes,8,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
From *string `protobuf:"bytes,11,opt,name=from,proto3,oneof" json:"from,omitempty"`
CreatedAts []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
// contains filtered or unexported fields
}
func (*ListTrashUserRequest) Descriptor
deprecated
func (*ListTrashUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTrashUserRequest.ProtoReflect.Descriptor instead.
func (*ListTrashUserRequest) GetCreatedAts ¶
func (x *ListTrashUserRequest) GetCreatedAts() []uint32
func (*ListTrashUserRequest) GetEmail ¶
func (x *ListTrashUserRequest) GetEmail() string
func (*ListTrashUserRequest) GetFrom ¶
func (x *ListTrashUserRequest) GetFrom() string
func (*ListTrashUserRequest) GetGender ¶
func (x *ListTrashUserRequest) GetGender() string
func (*ListTrashUserRequest) GetOrder ¶
func (x *ListTrashUserRequest) GetOrder() string
func (*ListTrashUserRequest) GetOrderBy ¶
func (x *ListTrashUserRequest) GetOrderBy() string
func (*ListTrashUserRequest) GetPage ¶
func (x *ListTrashUserRequest) GetPage() uint32
func (*ListTrashUserRequest) GetPageSize ¶
func (x *ListTrashUserRequest) GetPageSize() uint32
func (*ListTrashUserRequest) GetPhone ¶
func (x *ListTrashUserRequest) GetPhone() string
func (*ListTrashUserRequest) GetRealName ¶
func (x *ListTrashUserRequest) GetRealName() string
func (*ListTrashUserRequest) GetStatus ¶
func (x *ListTrashUserRequest) GetStatus() bool
func (*ListTrashUserRequest) GetUsername ¶
func (x *ListTrashUserRequest) GetUsername() string
func (*ListTrashUserRequest) ProtoMessage ¶
func (*ListTrashUserRequest) ProtoMessage()
func (*ListTrashUserRequest) ProtoReflect ¶
func (x *ListTrashUserRequest) ProtoReflect() protoreflect.Message
func (*ListTrashUserRequest) Reset ¶
func (x *ListTrashUserRequest) Reset()
func (*ListTrashUserRequest) String ¶
func (x *ListTrashUserRequest) String() string
func (*ListTrashUserRequest) Validate ¶
func (m *ListTrashUserRequest) Validate() error
Validate checks the field values on ListTrashUserRequest 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 (*ListTrashUserRequest) ValidateAll ¶
func (m *ListTrashUserRequest) ValidateAll() error
ValidateAll checks the field values on ListTrashUserRequest 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 ListTrashUserRequestMultiError, or nil if none found.
type ListTrashUserRequestMultiError ¶
type ListTrashUserRequestMultiError []error
ListTrashUserRequestMultiError is an error wrapping multiple validation errors returned by ListTrashUserRequest.ValidateAll() if the designated constraints aren't met.
func (ListTrashUserRequestMultiError) AllErrors ¶
func (m ListTrashUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTrashUserRequestMultiError) Error ¶
func (m ListTrashUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTrashUserRequestValidationError ¶
type ListTrashUserRequestValidationError struct {
// contains filtered or unexported fields
}
ListTrashUserRequestValidationError is the validation error returned by ListTrashUserRequest.Validate if the designated constraints aren't met.
func (ListTrashUserRequestValidationError) Cause ¶
func (e ListTrashUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTrashUserRequestValidationError) Error ¶
func (e ListTrashUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTrashUserRequestValidationError) ErrorName ¶
func (e ListTrashUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTrashUserRequestValidationError) Field ¶
func (e ListTrashUserRequestValidationError) Field() string
Field function returns field value.
func (ListTrashUserRequestValidationError) Key ¶
func (e ListTrashUserRequestValidationError) Key() bool
Key function returns key value.
func (ListTrashUserRequestValidationError) Reason ¶
func (e ListTrashUserRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserReply ¶
type ListUserReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserReply) Descriptor
deprecated
func (*ListUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.
func (*ListUserReply) GetList ¶
func (x *ListUserReply) GetList() []*ListUserReply_User
func (*ListUserReply) GetTotal ¶
func (x *ListUserReply) GetTotal() uint32
func (*ListUserReply) ProtoMessage ¶
func (*ListUserReply) ProtoMessage()
func (*ListUserReply) ProtoReflect ¶
func (x *ListUserReply) ProtoReflect() protoreflect.Message
func (*ListUserReply) Reset ¶
func (x *ListUserReply) Reset()
func (*ListUserReply) String ¶
func (x *ListUserReply) String() string
func (*ListUserReply) Validate ¶
func (m *ListUserReply) Validate() error
Validate checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply) ValidateAll ¶
func (m *ListUserReply) ValidateAll() error
ValidateAll checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReplyMultiError, or nil if none found.
type ListUserReplyMultiError ¶
type ListUserReplyMultiError []error
ListUserReplyMultiError is an error wrapping multiple validation errors returned by ListUserReply.ValidateAll() if the designated constraints aren't met.
func (ListUserReplyMultiError) AllErrors ¶
func (m ListUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReplyMultiError) Error ¶
func (m ListUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReplyValidationError ¶
type ListUserReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserReplyValidationError is the validation error returned by ListUserReply.Validate if the designated constraints aren't met.
func (ListUserReplyValidationError) Cause ¶
func (e ListUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserReplyValidationError) Error ¶
func (e ListUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReplyValidationError) ErrorName ¶
func (e ListUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReplyValidationError) Field ¶
func (e ListUserReplyValidationError) Field() string
Field function returns field value.
func (ListUserReplyValidationError) Key ¶
func (e ListUserReplyValidationError) Key() bool
Key function returns key value.
func (ListUserReplyValidationError) Reason ¶
func (e ListUserReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserReply_User ¶
type ListUserReply_User struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
NickName string `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
AvatarUrl *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
FromDesc string `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
CreatedAt uint32 `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserReply_User) Descriptor
deprecated
func (*ListUserReply_User) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply_User.ProtoReflect.Descriptor instead.
func (*ListUserReply_User) GetAvatar ¶
func (x *ListUserReply_User) GetAvatar() string
func (*ListUserReply_User) GetAvatarUrl ¶
func (x *ListUserReply_User) GetAvatarUrl() string
func (*ListUserReply_User) GetCreatedAt ¶
func (x *ListUserReply_User) GetCreatedAt() uint32
func (*ListUserReply_User) GetDisableDesc ¶
func (x *ListUserReply_User) GetDisableDesc() string
func (*ListUserReply_User) GetEmail ¶
func (x *ListUserReply_User) GetEmail() string
func (*ListUserReply_User) GetFrom ¶
func (x *ListUserReply_User) GetFrom() string
func (*ListUserReply_User) GetFromDesc ¶
func (x *ListUserReply_User) GetFromDesc() string
func (*ListUserReply_User) GetGender ¶
func (x *ListUserReply_User) GetGender() string
func (*ListUserReply_User) GetId ¶
func (x *ListUserReply_User) GetId() uint32
func (*ListUserReply_User) GetNickName ¶
func (x *ListUserReply_User) GetNickName() string
func (*ListUserReply_User) GetPhone ¶
func (x *ListUserReply_User) GetPhone() string
func (*ListUserReply_User) GetRealName ¶
func (x *ListUserReply_User) GetRealName() string
func (*ListUserReply_User) GetStatus ¶
func (x *ListUserReply_User) GetStatus() bool
func (*ListUserReply_User) GetUpdatedAt ¶
func (x *ListUserReply_User) GetUpdatedAt() uint32
func (*ListUserReply_User) GetUsername ¶
func (x *ListUserReply_User) GetUsername() string
func (*ListUserReply_User) ProtoMessage ¶
func (*ListUserReply_User) ProtoMessage()
func (*ListUserReply_User) ProtoReflect ¶
func (x *ListUserReply_User) ProtoReflect() protoreflect.Message
func (*ListUserReply_User) Reset ¶
func (x *ListUserReply_User) Reset()
func (*ListUserReply_User) String ¶
func (x *ListUserReply_User) String() string
func (*ListUserReply_User) Validate ¶
func (m *ListUserReply_User) Validate() error
Validate checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserReply_User) ValidateAll ¶
func (m *ListUserReply_User) ValidateAll() error
ValidateAll checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReply_UserMultiError, or nil if none found.
type ListUserReply_UserMultiError ¶
type ListUserReply_UserMultiError []error
ListUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListUserReply_User.ValidateAll() if the designated constraints aren't met.
func (ListUserReply_UserMultiError) AllErrors ¶
func (m ListUserReply_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReply_UserMultiError) Error ¶
func (m ListUserReply_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReply_UserValidationError ¶
type ListUserReply_UserValidationError struct {
// contains filtered or unexported fields
}
ListUserReply_UserValidationError is the validation error returned by ListUserReply_User.Validate if the designated constraints aren't met.
func (ListUserReply_UserValidationError) Cause ¶
func (e ListUserReply_UserValidationError) Cause() error
Cause function returns cause value.
func (ListUserReply_UserValidationError) Error ¶
func (e ListUserReply_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReply_UserValidationError) ErrorName ¶
func (e ListUserReply_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReply_UserValidationError) Field ¶
func (e ListUserReply_UserValidationError) Field() string
Field function returns field value.
func (ListUserReply_UserValidationError) Key ¶
func (e ListUserReply_UserValidationError) Key() bool
Key function returns key value.
func (ListUserReply_UserValidationError) Reason ¶
func (e ListUserReply_UserValidationError) Reason() string
Reason function returns reason value.
type ListUserRequest ¶
type ListUserRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
Phone *string `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
RealName *string `protobuf:"bytes,8,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
From *string `protobuf:"bytes,11,opt,name=from,proto3,oneof" json:"from,omitempty"`
CreatedAts []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
AppId *uint32 `protobuf:"varint,13,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
App *string `protobuf:"bytes,14,opt,name=app,proto3,oneof" json:"app,omitempty"`
InIds []uint32 `protobuf:"varint,15,rep,packed,name=inIds,proto3" json:"inIds,omitempty"`
NotInIds []uint32 `protobuf:"varint,16,rep,packed,name=notInIds,proto3" json:"notInIds,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetApp ¶
func (x *ListUserRequest) GetApp() string
func (*ListUserRequest) GetAppId ¶
func (x *ListUserRequest) GetAppId() uint32
func (*ListUserRequest) GetCreatedAts ¶
func (x *ListUserRequest) GetCreatedAts() []uint32
func (*ListUserRequest) GetEmail ¶
func (x *ListUserRequest) GetEmail() string
func (*ListUserRequest) GetFrom ¶
func (x *ListUserRequest) GetFrom() string
func (*ListUserRequest) GetGender ¶
func (x *ListUserRequest) GetGender() string
func (*ListUserRequest) GetInIds ¶
func (x *ListUserRequest) GetInIds() []uint32
func (*ListUserRequest) GetNotInIds ¶
func (x *ListUserRequest) GetNotInIds() []uint32
func (*ListUserRequest) GetOrder ¶
func (x *ListUserRequest) GetOrder() string
func (*ListUserRequest) GetOrderBy ¶
func (x *ListUserRequest) GetOrderBy() string
func (*ListUserRequest) GetPage ¶
func (x *ListUserRequest) GetPage() uint32
func (*ListUserRequest) GetPageSize ¶
func (x *ListUserRequest) GetPageSize() uint32
func (*ListUserRequest) GetPhone ¶
func (x *ListUserRequest) GetPhone() string
func (*ListUserRequest) GetRealName ¶
func (x *ListUserRequest) GetRealName() string
func (*ListUserRequest) GetStatus ¶
func (x *ListUserRequest) GetStatus() bool
func (*ListUserRequest) GetUsername ¶
func (x *ListUserRequest) GetUsername() string
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
func (*ListUserRequest) Validate ¶
func (m *ListUserRequest) Validate() error
Validate checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserRequest) ValidateAll ¶
func (m *ListUserRequest) ValidateAll() error
ValidateAll checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserRequestMultiError, or nil if none found.
type ListUserRequestMultiError ¶
type ListUserRequestMultiError []error
ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserRequestMultiError) AllErrors ¶
func (m ListUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRequestMultiError) Error ¶
func (m ListUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRequestValidationError ¶
type ListUserRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.
func (ListUserRequestValidationError) Cause ¶
func (e ListUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserRequestValidationError) Error ¶
func (e ListUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRequestValidationError) ErrorName ¶
func (e ListUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRequestValidationError) Field ¶
func (e ListUserRequestValidationError) Field() string
Field function returns field value.
func (ListUserRequestValidationError) Key ¶
func (e ListUserRequestValidationError) Key() bool
Key function returns key value.
func (ListUserRequestValidationError) Reason ¶
func (e ListUserRequestValidationError) Reason() string
Reason function returns reason value.
type RevertTrashUserReply ¶
type RevertTrashUserReply struct {
// contains filtered or unexported fields
}
func (*RevertTrashUserReply) Descriptor
deprecated
func (*RevertTrashUserReply) Descriptor() ([]byte, []int)
Deprecated: Use RevertTrashUserReply.ProtoReflect.Descriptor instead.
func (*RevertTrashUserReply) ProtoMessage ¶
func (*RevertTrashUserReply) ProtoMessage()
func (*RevertTrashUserReply) ProtoReflect ¶
func (x *RevertTrashUserReply) ProtoReflect() protoreflect.Message
func (*RevertTrashUserReply) Reset ¶
func (x *RevertTrashUserReply) Reset()
func (*RevertTrashUserReply) String ¶
func (x *RevertTrashUserReply) String() string
func (*RevertTrashUserReply) Validate ¶
func (m *RevertTrashUserReply) Validate() error
Validate checks the field values on RevertTrashUserReply 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 (*RevertTrashUserReply) ValidateAll ¶
func (m *RevertTrashUserReply) ValidateAll() error
ValidateAll checks the field values on RevertTrashUserReply 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 RevertTrashUserReplyMultiError, or nil if none found.
type RevertTrashUserReplyMultiError ¶
type RevertTrashUserReplyMultiError []error
RevertTrashUserReplyMultiError is an error wrapping multiple validation errors returned by RevertTrashUserReply.ValidateAll() if the designated constraints aren't met.
func (RevertTrashUserReplyMultiError) AllErrors ¶
func (m RevertTrashUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RevertTrashUserReplyMultiError) Error ¶
func (m RevertTrashUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RevertTrashUserReplyValidationError ¶
type RevertTrashUserReplyValidationError struct {
// contains filtered or unexported fields
}
RevertTrashUserReplyValidationError is the validation error returned by RevertTrashUserReply.Validate if the designated constraints aren't met.
func (RevertTrashUserReplyValidationError) Cause ¶
func (e RevertTrashUserReplyValidationError) Cause() error
Cause function returns cause value.
func (RevertTrashUserReplyValidationError) Error ¶
func (e RevertTrashUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RevertTrashUserReplyValidationError) ErrorName ¶
func (e RevertTrashUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RevertTrashUserReplyValidationError) Field ¶
func (e RevertTrashUserReplyValidationError) Field() string
Field function returns field value.
func (RevertTrashUserReplyValidationError) Key ¶
func (e RevertTrashUserReplyValidationError) Key() bool
Key function returns key value.
func (RevertTrashUserReplyValidationError) Reason ¶
func (e RevertTrashUserReplyValidationError) Reason() string
Reason function returns reason value.
type RevertTrashUserRequest ¶
type RevertTrashUserRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*RevertTrashUserRequest) Descriptor
deprecated
func (*RevertTrashUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevertTrashUserRequest.ProtoReflect.Descriptor instead.
func (*RevertTrashUserRequest) GetId ¶
func (x *RevertTrashUserRequest) GetId() uint32
func (*RevertTrashUserRequest) ProtoMessage ¶
func (*RevertTrashUserRequest) ProtoMessage()
func (*RevertTrashUserRequest) ProtoReflect ¶
func (x *RevertTrashUserRequest) ProtoReflect() protoreflect.Message
func (*RevertTrashUserRequest) Reset ¶
func (x *RevertTrashUserRequest) Reset()
func (*RevertTrashUserRequest) String ¶
func (x *RevertTrashUserRequest) String() string
func (*RevertTrashUserRequest) Validate ¶
func (m *RevertTrashUserRequest) Validate() error
Validate checks the field values on RevertTrashUserRequest 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 (*RevertTrashUserRequest) ValidateAll ¶
func (m *RevertTrashUserRequest) ValidateAll() error
ValidateAll checks the field values on RevertTrashUserRequest 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 RevertTrashUserRequestMultiError, or nil if none found.
type RevertTrashUserRequestMultiError ¶
type RevertTrashUserRequestMultiError []error
RevertTrashUserRequestMultiError is an error wrapping multiple validation errors returned by RevertTrashUserRequest.ValidateAll() if the designated constraints aren't met.
func (RevertTrashUserRequestMultiError) AllErrors ¶
func (m RevertTrashUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RevertTrashUserRequestMultiError) Error ¶
func (m RevertTrashUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RevertTrashUserRequestValidationError ¶
type RevertTrashUserRequestValidationError struct {
// contains filtered or unexported fields
}
RevertTrashUserRequestValidationError is the validation error returned by RevertTrashUserRequest.Validate if the designated constraints aren't met.
func (RevertTrashUserRequestValidationError) Cause ¶
func (e RevertTrashUserRequestValidationError) Cause() error
Cause function returns cause value.
func (RevertTrashUserRequestValidationError) Error ¶
func (e RevertTrashUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RevertTrashUserRequestValidationError) ErrorName ¶
func (e RevertTrashUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RevertTrashUserRequestValidationError) Field ¶
func (e RevertTrashUserRequestValidationError) Field() string
Field function returns field value.
func (RevertTrashUserRequestValidationError) Key ¶
func (e RevertTrashUserRequestValidationError) Key() bool
Key function returns key value.
func (RevertTrashUserRequestValidationError) Reason ¶
func (e RevertTrashUserRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserServer ¶
type UnimplementedUserServer struct {
}
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) CreateUser ¶
func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
func (UnimplementedUserServer) ExportUser ¶
func (UnimplementedUserServer) ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
func (UnimplementedUserServer) GetCurrentUser ¶
func (UnimplementedUserServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
func (UnimplementedUserServer) GetUser ¶
func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
func (UnimplementedUserServer) ImportUser ¶
func (UnimplementedUserServer) ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
func (UnimplementedUserServer) ListUser ¶
func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
func (UnimplementedUserServer) UpdateCurrentUser ¶
func (UnimplementedUserServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
func (UnimplementedUserServer) UpdateUser ¶
func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
func (UnimplementedUserServer) UpdateUserStatus ¶
func (UnimplementedUserServer) UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, 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 UpdateCurrentUserReply ¶
type UpdateCurrentUserReply struct {
// contains filtered or unexported fields
}
func (*UpdateCurrentUserReply) Descriptor
deprecated
func (*UpdateCurrentUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserReply.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserReply) ProtoMessage ¶
func (*UpdateCurrentUserReply) ProtoMessage()
func (*UpdateCurrentUserReply) ProtoReflect ¶
func (x *UpdateCurrentUserReply) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserReply) Reset ¶
func (x *UpdateCurrentUserReply) Reset()
func (*UpdateCurrentUserReply) String ¶
func (x *UpdateCurrentUserReply) String() string
func (*UpdateCurrentUserReply) Validate ¶
func (m *UpdateCurrentUserReply) Validate() error
Validate checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserReply) ValidateAll ¶
func (m *UpdateCurrentUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserReplyMultiError, or nil if none found.
type UpdateCurrentUserReplyMultiError ¶
type UpdateCurrentUserReplyMultiError []error
UpdateCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserReplyMultiError) AllErrors ¶
func (m UpdateCurrentUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserReplyMultiError) Error ¶
func (m UpdateCurrentUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserReplyValidationError ¶
type UpdateCurrentUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserReplyValidationError is the validation error returned by UpdateCurrentUserReply.Validate if the designated constraints aren't met.
func (UpdateCurrentUserReplyValidationError) Cause ¶
func (e UpdateCurrentUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserReplyValidationError) Error ¶
func (e UpdateCurrentUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserReplyValidationError) Field ¶
func (e UpdateCurrentUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserReplyValidationError) Key ¶
func (e UpdateCurrentUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserReplyValidationError) Reason ¶
func (e UpdateCurrentUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCurrentUserRequest ¶
type UpdateCurrentUserRequest struct {
NickName string `protobuf:"bytes,1,opt,name=nickName,proto3" json:"nickName,omitempty"`
Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
Gender string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCurrentUserRequest) Descriptor
deprecated
func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserRequest) GetAvatar ¶
func (x *UpdateCurrentUserRequest) GetAvatar() string
func (*UpdateCurrentUserRequest) GetGender ¶
func (x *UpdateCurrentUserRequest) GetGender() string
func (*UpdateCurrentUserRequest) GetNickName ¶
func (x *UpdateCurrentUserRequest) GetNickName() string
func (*UpdateCurrentUserRequest) ProtoMessage ¶
func (*UpdateCurrentUserRequest) ProtoMessage()
func (*UpdateCurrentUserRequest) ProtoReflect ¶
func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserRequest) Reset ¶
func (x *UpdateCurrentUserRequest) Reset()
func (*UpdateCurrentUserRequest) String ¶
func (x *UpdateCurrentUserRequest) String() string
func (*UpdateCurrentUserRequest) Validate ¶
func (m *UpdateCurrentUserRequest) Validate() error
Validate checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserRequest) ValidateAll ¶
func (m *UpdateCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRequestMultiError, or nil if none found.
type UpdateCurrentUserRequestMultiError ¶
type UpdateCurrentUserRequestMultiError []error
UpdateCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserRequestMultiError) Error ¶
func (m UpdateCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserRequestValidationError ¶
type UpdateCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserRequestValidationError is the validation error returned by UpdateCurrentUserRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserRequestValidationError) Cause ¶
func (e UpdateCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserRequestValidationError) Error ¶
func (e UpdateCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserRequestValidationError) Field ¶
func (e UpdateCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserRequestValidationError) Key ¶
func (e UpdateCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserRequestValidationError) Reason ¶
func (e UpdateCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserReply ¶
type UpdateUserReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserReply) Descriptor
deprecated
func (*UpdateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.
func (*UpdateUserReply) ProtoMessage ¶
func (*UpdateUserReply) ProtoMessage()
func (*UpdateUserReply) ProtoReflect ¶
func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
func (*UpdateUserReply) Reset ¶
func (x *UpdateUserReply) Reset()
func (*UpdateUserReply) String ¶
func (x *UpdateUserReply) String() string
func (*UpdateUserReply) Validate ¶
func (m *UpdateUserReply) Validate() error
Validate checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserReply) ValidateAll ¶
func (m *UpdateUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserReplyMultiError, or nil if none found.
type UpdateUserReplyMultiError ¶
type UpdateUserReplyMultiError []error
UpdateUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserReplyMultiError) AllErrors ¶
func (m UpdateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserReplyMultiError) Error ¶
func (m UpdateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserReplyValidationError ¶
type UpdateUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.
func (UpdateUserReplyValidationError) Cause ¶
func (e UpdateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserReplyValidationError) Error ¶
func (e UpdateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserReplyValidationError) ErrorName ¶
func (e UpdateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserReplyValidationError) Field ¶
func (e UpdateUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserReplyValidationError) Key ¶
func (e UpdateUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserReplyValidationError) Reason ¶
func (e UpdateUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
NickName string `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
RealName *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
DisableDesc *string `protobuf:"bytes,10,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatar ¶
func (x *UpdateUserRequest) GetAvatar() string
func (*UpdateUserRequest) GetDisableDesc ¶
func (x *UpdateUserRequest) GetDisableDesc() string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetGender ¶
func (x *UpdateUserRequest) GetGender() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint32
func (*UpdateUserRequest) GetNickName ¶
func (x *UpdateUserRequest) GetNickName() string
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetRealName ¶
func (x *UpdateUserRequest) GetRealName() 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 UpdateUserStatusReply ¶
type UpdateUserStatusReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserStatusReply) Descriptor
deprecated
func (*UpdateUserStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserStatusReply.ProtoReflect.Descriptor instead.
func (*UpdateUserStatusReply) ProtoMessage ¶
func (*UpdateUserStatusReply) ProtoMessage()
func (*UpdateUserStatusReply) ProtoReflect ¶
func (x *UpdateUserStatusReply) ProtoReflect() protoreflect.Message
func (*UpdateUserStatusReply) Reset ¶
func (x *UpdateUserStatusReply) Reset()
func (*UpdateUserStatusReply) String ¶
func (x *UpdateUserStatusReply) String() string
func (*UpdateUserStatusReply) Validate ¶
func (m *UpdateUserStatusReply) Validate() error
Validate checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserStatusReply) ValidateAll ¶
func (m *UpdateUserStatusReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusReplyMultiError, or nil if none found.
type UpdateUserStatusReplyMultiError ¶
type UpdateUserStatusReplyMultiError []error
UpdateUserStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserStatusReplyMultiError) AllErrors ¶
func (m UpdateUserStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserStatusReplyMultiError) Error ¶
func (m UpdateUserStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserStatusReplyValidationError ¶
type UpdateUserStatusReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserStatusReplyValidationError is the validation error returned by UpdateUserStatusReply.Validate if the designated constraints aren't met.
func (UpdateUserStatusReplyValidationError) Cause ¶
func (e UpdateUserStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserStatusReplyValidationError) Error ¶
func (e UpdateUserStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserStatusReplyValidationError) ErrorName ¶
func (e UpdateUserStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserStatusReplyValidationError) Field ¶
func (e UpdateUserStatusReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserStatusReplyValidationError) Key ¶
func (e UpdateUserStatusReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserStatusReplyValidationError) Reason ¶
func (e UpdateUserStatusReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserStatusRequest ¶
type UpdateUserStatusRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
DisableDesc *string `protobuf:"bytes,3,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserStatusRequest) Descriptor
deprecated
func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserStatusRequest) GetDisableDesc ¶
func (x *UpdateUserStatusRequest) GetDisableDesc() string
func (*UpdateUserStatusRequest) GetId ¶
func (x *UpdateUserStatusRequest) GetId() uint32
func (*UpdateUserStatusRequest) GetStatus ¶
func (x *UpdateUserStatusRequest) GetStatus() bool
func (*UpdateUserStatusRequest) ProtoMessage ¶
func (*UpdateUserStatusRequest) ProtoMessage()
func (*UpdateUserStatusRequest) ProtoReflect ¶
func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserStatusRequest) Reset ¶
func (x *UpdateUserStatusRequest) Reset()
func (*UpdateUserStatusRequest) String ¶
func (x *UpdateUserStatusRequest) String() string
func (*UpdateUserStatusRequest) Validate ¶
func (m *UpdateUserStatusRequest) Validate() error
Validate checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserStatusRequest) ValidateAll ¶
func (m *UpdateUserStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusRequestMultiError, or nil if none found.
type UpdateUserStatusRequestMultiError ¶
type UpdateUserStatusRequestMultiError []error
UpdateUserStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserStatusRequestMultiError) AllErrors ¶
func (m UpdateUserStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserStatusRequestMultiError) Error ¶
func (m UpdateUserStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserStatusRequestValidationError ¶
type UpdateUserStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserStatusRequestValidationError is the validation error returned by UpdateUserStatusRequest.Validate if the designated constraints aren't met.
func (UpdateUserStatusRequestValidationError) Cause ¶
func (e UpdateUserStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserStatusRequestValidationError) Error ¶
func (e UpdateUserStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserStatusRequestValidationError) ErrorName ¶
func (e UpdateUserStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserStatusRequestValidationError) Field ¶
func (e UpdateUserStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserStatusRequestValidationError) Key ¶
func (e UpdateUserStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserStatusRequestValidationError) Reason ¶
func (e UpdateUserStatusRequestValidationError) Reason() string
Reason function returns reason value.
type UserClient ¶
type UserClient interface {
// GetUser 获取当前的用户信息
GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserReply, error)
// UpdateCurrentUser 更新当前的用户信息
UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*UpdateCurrentUserReply, error)
// GetUser 获取指定的用户信息
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error)
// ListUser 获取用户信息列表
ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserReply, error)
// CreateUser 创建用户信息
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserReply, error)
// ImportUser 导入用户信息
ImportUser(ctx context.Context, in *ImportUserRequest, opts ...grpc.CallOption) (*ImportUserReply, error)
// ExportUser 导出用户信息
ExportUser(ctx context.Context, in *ExportUserRequest, opts ...grpc.CallOption) (*ExportUserReply, error)
// UpdateUser 更新用户信息
UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error)
// UpdateUserStatus 更新用户信息状态
UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusReply, error)
}
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserHTTPClient ¶
type UserHTTPClient interface {
CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserReply, err error)
ExportUser(ctx context.Context, req *ExportUserRequest, opts ...http.CallOption) (rsp *ExportUserReply, err error)
GetCurrentUser(ctx context.Context, req *GetCurrentUserRequest, opts ...http.CallOption) (rsp *GetCurrentUserReply, err error)
GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserReply, err error)
ImportUser(ctx context.Context, req *ImportUserRequest, opts ...http.CallOption) (rsp *ImportUserReply, err error)
ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserReply, err error)
UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserReply, err error)
UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error)
UpdateUserStatus(ctx context.Context, req *UpdateUserStatusRequest, opts ...http.CallOption) (rsp *UpdateUserStatusReply, err error)
}
func NewUserHTTPClient ¶
func NewUserHTTPClient(client *http.Client) UserHTTPClient
type UserHTTPClientImpl ¶
type UserHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*UserHTTPClientImpl) CreateUser ¶
func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
func (*UserHTTPClientImpl) ExportUser ¶
func (c *UserHTTPClientImpl) ExportUser(ctx context.Context, in *ExportUserRequest, opts ...http.CallOption) (*ExportUserReply, error)
func (*UserHTTPClientImpl) GetCurrentUser ¶
func (c *UserHTTPClientImpl) GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...http.CallOption) (*GetCurrentUserReply, error)
func (*UserHTTPClientImpl) GetUser ¶
func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
func (*UserHTTPClientImpl) ImportUser ¶
func (c *UserHTTPClientImpl) ImportUser(ctx context.Context, in *ImportUserRequest, opts ...http.CallOption) (*ImportUserReply, error)
func (*UserHTTPClientImpl) ListUser ¶
func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
func (*UserHTTPClientImpl) UpdateCurrentUser ¶
func (c *UserHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*UpdateCurrentUserReply, error)
func (*UserHTTPClientImpl) UpdateUser ¶
func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
func (*UserHTTPClientImpl) UpdateUserStatus ¶
func (c *UserHTTPClientImpl) UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...http.CallOption) (*UpdateUserStatusReply, error)
type UserHTTPServer ¶
type UserHTTPServer interface {
// CreateUser CreateUser 创建用户信息
CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
// ExportUser ExportUser 导出用户信息
ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
// GetCurrentUser GetUser 获取当前的用户信息
GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
// GetUser GetUser 获取指定的用户信息
GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
// ImportUser ImportUser 导入用户信息
ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
// ListUser ListUser 获取用户信息列表
ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
// UpdateCurrentUser UpdateCurrentUser 更新当前的用户信息
UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
// UpdateUser UpdateUser 更新用户信息
UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
// UpdateUserStatus UpdateUserStatus 更新用户信息状态
UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
}
type UserServer ¶
type UserServer interface {
// GetUser 获取当前的用户信息
GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
// UpdateCurrentUser 更新当前的用户信息
UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
// GetUser 获取指定的用户信息
GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
// ListUser 获取用户信息列表
ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
// CreateUser 创建用户信息
CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
// ImportUser 导入用户信息
ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
// ExportUser 导出用户信息
ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
// UpdateUser 更新用户信息
UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
// UpdateUserStatus 更新用户信息状态
UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
// contains filtered or unexported methods
}
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility