Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorBatchInsertError(format string, args ...interface{}) *errors.Error
- func ErrorDataIsNotEmpty(format string, args ...interface{}) *errors.Error
- func ErrorEmailAlreadyExists(format string, args ...interface{}) *errors.Error
- func ErrorErrorCreateUser(format string, args ...interface{}) *errors.Error
- func ErrorErrorReasonNameIsExist(format string, args ...interface{}) *errors.Error
- func ErrorErrorReasonParams(format string, args ...interface{}) *errors.Error
- func ErrorErrorReasonPassword(format string, args ...interface{}) *errors.Error
- func ErrorErrorReasonSystem(format string, args ...interface{}) *errors.Error
- func ErrorExceededTheMaximumBatchProcessingQuantity(format string, args ...interface{}) *errors.Error
- func ErrorFailedDeleteProfile(format string, args ...interface{}) *errors.Error
- func ErrorFailedToEditProfile(format string, args ...interface{}) *errors.Error
- func ErrorGetDate(format string, args ...interface{}) *errors.Error
- func ErrorHistoryPrivacyPasswordVerificationFail(format string, args ...interface{}) *errors.Error
- func ErrorIdNumberHasBeenUsed(format string, args ...interface{}) *errors.Error
- func ErrorJoinNodeErr(format string, args ...interface{}) *errors.Error
- func ErrorNodeNotFang(format string, args ...interface{}) *errors.Error
- func ErrorParamsEmailNotIsUserBind(format string, args ...interface{}) *errors.Error
- func ErrorParamsPhoneNotIsUserBind(format string, args ...interface{}) *errors.Error
- func ErrorPhoneIsNotEmpty(format string, args ...interface{}) *errors.Error
- func ErrorProfileNotFound(format string, args ...interface{}) *errors.Error
- func ErrorThisShareCodeIsInvalid(format string, args ...interface{}) *errors.Error
- func ErrorUserAlreadyJoinNode(format string, args ...interface{}) *errors.Error
- func ErrorUserHasRealName(format string, args ...interface{}) *errors.Error
- func ErrorUserRealNameErr(format string, args ...interface{}) *errors.Error
- func IsBatchInsertError(err error) bool
- func IsDataIsNotEmpty(err error) bool
- func IsEmailAlreadyExists(err error) bool
- func IsErrorCreateUser(err error) bool
- func IsErrorReasonNameIsExist(err error) bool
- func IsErrorReasonParams(err error) bool
- func IsErrorReasonPassword(err error) bool
- func IsErrorReasonSystem(err error) bool
- func IsExceededTheMaximumBatchProcessingQuantity(err error) bool
- func IsFailedDeleteProfile(err error) bool
- func IsFailedToEditProfile(err error) bool
- func IsGetDate(err error) bool
- func IsHistoryPrivacyPasswordVerificationFail(err error) bool
- func IsIdNumberHasBeenUsed(err error) bool
- func IsJoinNodeErr(err error) bool
- func IsNodeNotFang(err error) bool
- func IsParamsEmailNotIsUserBind(err error) bool
- func IsParamsPhoneNotIsUserBind(err error) bool
- func IsPhoneIsNotEmpty(err error) bool
- func IsProfileNotFound(err error) bool
- func IsThisShareCodeIsInvalid(err error) bool
- func IsUserAlreadyJoinNode(err error) bool
- func IsUserHasRealName(err error) bool
- func IsUserRealNameErr(err error) bool
- func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type BatchInsertProfileReply
- func (*BatchInsertProfileReply) Descriptor() ([]byte, []int)deprecated
- func (*BatchInsertProfileReply) ProtoMessage()
- func (x *BatchInsertProfileReply) ProtoReflect() protoreflect.Message
- func (x *BatchInsertProfileReply) Reset()
- func (x *BatchInsertProfileReply) String() string
- func (m *BatchInsertProfileReply) Validate() error
- func (m *BatchInsertProfileReply) ValidateAll() error
- type BatchInsertProfileReplyMultiError
- type BatchInsertProfileReplyValidationError
- func (e BatchInsertProfileReplyValidationError) Cause() error
- func (e BatchInsertProfileReplyValidationError) Error() string
- func (e BatchInsertProfileReplyValidationError) ErrorName() string
- func (e BatchInsertProfileReplyValidationError) Field() string
- func (e BatchInsertProfileReplyValidationError) Key() bool
- func (e BatchInsertProfileReplyValidationError) Reason() string
- type BatchInsertProfileReq
- func (*BatchInsertProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchInsertProfileReq) GetList() []*UserProfile
- func (x *BatchInsertProfileReq) GetNodeId() string
- func (*BatchInsertProfileReq) ProtoMessage()
- func (x *BatchInsertProfileReq) ProtoReflect() protoreflect.Message
- func (x *BatchInsertProfileReq) Reset()
- func (x *BatchInsertProfileReq) String() string
- func (m *BatchInsertProfileReq) Validate() error
- func (m *BatchInsertProfileReq) ValidateAll() error
- type BatchInsertProfileReqMultiError
- type BatchInsertProfileReqValidationError
- func (e BatchInsertProfileReqValidationError) Cause() error
- func (e BatchInsertProfileReqValidationError) Error() string
- func (e BatchInsertProfileReqValidationError) ErrorName() string
- func (e BatchInsertProfileReqValidationError) Field() string
- func (e BatchInsertProfileReqValidationError) Key() bool
- func (e BatchInsertProfileReqValidationError) Reason() string
- type BatchInsertUserReply
- func (*BatchInsertUserReply) Descriptor() ([]byte, []int)deprecated
- func (*BatchInsertUserReply) ProtoMessage()
- func (x *BatchInsertUserReply) ProtoReflect() protoreflect.Message
- func (x *BatchInsertUserReply) Reset()
- func (x *BatchInsertUserReply) String() string
- func (m *BatchInsertUserReply) Validate() error
- func (m *BatchInsertUserReply) ValidateAll() error
- type BatchInsertUserReplyMultiError
- type BatchInsertUserReplyValidationError
- func (e BatchInsertUserReplyValidationError) Cause() error
- func (e BatchInsertUserReplyValidationError) Error() string
- func (e BatchInsertUserReplyValidationError) ErrorName() string
- func (e BatchInsertUserReplyValidationError) Field() string
- func (e BatchInsertUserReplyValidationError) Key() bool
- func (e BatchInsertUserReplyValidationError) Reason() string
- type BatchInsertUserReq
- func (*BatchInsertUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchInsertUserReq) GetList() []*UserData
- func (x *BatchInsertUserReq) GetNodeId() string
- func (*BatchInsertUserReq) ProtoMessage()
- func (x *BatchInsertUserReq) ProtoReflect() protoreflect.Message
- func (x *BatchInsertUserReq) Reset()
- func (x *BatchInsertUserReq) String() string
- func (m *BatchInsertUserReq) Validate() error
- func (m *BatchInsertUserReq) ValidateAll() error
- type BatchInsertUserReqMultiError
- type BatchInsertUserReqValidationError
- func (e BatchInsertUserReqValidationError) Cause() error
- func (e BatchInsertUserReqValidationError) Error() string
- func (e BatchInsertUserReqValidationError) ErrorName() string
- func (e BatchInsertUserReqValidationError) Field() string
- func (e BatchInsertUserReqValidationError) Key() bool
- func (e BatchInsertUserReqValidationError) Reason() string
- type CancelNodeAccountReply
- func (*CancelNodeAccountReply) Descriptor() ([]byte, []int)deprecated
- func (*CancelNodeAccountReply) ProtoMessage()
- func (x *CancelNodeAccountReply) ProtoReflect() protoreflect.Message
- func (x *CancelNodeAccountReply) Reset()
- func (x *CancelNodeAccountReply) String() string
- func (m *CancelNodeAccountReply) Validate() error
- func (m *CancelNodeAccountReply) ValidateAll() error
- type CancelNodeAccountReplyMultiError
- type CancelNodeAccountReplyValidationError
- func (e CancelNodeAccountReplyValidationError) Cause() error
- func (e CancelNodeAccountReplyValidationError) Error() string
- func (e CancelNodeAccountReplyValidationError) ErrorName() string
- func (e CancelNodeAccountReplyValidationError) Field() string
- func (e CancelNodeAccountReplyValidationError) Key() bool
- func (e CancelNodeAccountReplyValidationError) Reason() string
- type CancelNodeAccountReq
- func (*CancelNodeAccountReq) Descriptor() ([]byte, []int)deprecated
- func (x *CancelNodeAccountReq) GetUserId() string
- func (*CancelNodeAccountReq) ProtoMessage()
- func (x *CancelNodeAccountReq) ProtoReflect() protoreflect.Message
- func (x *CancelNodeAccountReq) Reset()
- func (x *CancelNodeAccountReq) String() string
- func (m *CancelNodeAccountReq) Validate() error
- func (m *CancelNodeAccountReq) ValidateAll() error
- type CancelNodeAccountReqMultiError
- type CancelNodeAccountReqValidationError
- func (e CancelNodeAccountReqValidationError) Cause() error
- func (e CancelNodeAccountReqValidationError) Error() string
- func (e CancelNodeAccountReqValidationError) ErrorName() string
- func (e CancelNodeAccountReqValidationError) Field() string
- func (e CancelNodeAccountReqValidationError) Key() bool
- func (e CancelNodeAccountReqValidationError) Reason() string
- type CreateUserReply
- func (*CreateUserReply) Descriptor() ([]byte, []int)deprecated
- 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 CreateUserReq
- func (*CreateUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserReq) GetAccount() string
- func (x *CreateUserReq) GetAccountType() v2.AccountType
- func (x *CreateUserReq) GetAreaCode() int32
- func (x *CreateUserReq) GetEmail() string
- func (x *CreateUserReq) GetFaceUrl() string
- func (x *CreateUserReq) GetFromUserId() string
- func (x *CreateUserReq) GetGender() v2.Gender
- func (x *CreateUserReq) GetIsGenerate() int32
- func (x *CreateUserReq) GetNickname() string
- func (x *CreateUserReq) GetNodeId() string
- func (x *CreateUserReq) GetPassword() string
- func (x *CreateUserReq) GetPhone() string
- func (x *CreateUserReq) GetShareCode() string
- func (x *CreateUserReq) GetTenantId() string
- func (*CreateUserReq) ProtoMessage()
- func (x *CreateUserReq) ProtoReflect() protoreflect.Message
- func (x *CreateUserReq) Reset()
- func (x *CreateUserReq) String() string
- func (m *CreateUserReq) Validate() error
- func (m *CreateUserReq) ValidateAll() error
- type CreateUserReqMultiError
- type CreateUserReqValidationError
- func (e CreateUserReqValidationError) Cause() error
- func (e CreateUserReqValidationError) Error() string
- func (e CreateUserReqValidationError) ErrorName() string
- func (e CreateUserReqValidationError) Field() string
- func (e CreateUserReqValidationError) Key() bool
- func (e CreateUserReqValidationError) Reason() string
- type DeleteUserReply
- func (*DeleteUserReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserReply) ProtoMessage()
- func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReply) Reset()
- func (x *DeleteUserReply) String() string
- func (m *DeleteUserReply) Validate() error
- func (m *DeleteUserReply) ValidateAll() error
- type DeleteUserReplyMultiError
- type DeleteUserReplyValidationError
- func (e DeleteUserReplyValidationError) Cause() error
- func (e DeleteUserReplyValidationError) Error() string
- func (e DeleteUserReplyValidationError) ErrorName() string
- func (e DeleteUserReplyValidationError) Field() string
- func (e DeleteUserReplyValidationError) Key() bool
- func (e DeleteUserReplyValidationError) Reason() string
- type DeleteUserReq
- func (*DeleteUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReq) GetUserId() string
- func (*DeleteUserReq) ProtoMessage()
- func (x *DeleteUserReq) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReq) Reset()
- func (x *DeleteUserReq) String() string
- func (m *DeleteUserReq) Validate() error
- func (m *DeleteUserReq) ValidateAll() error
- type DeleteUserReqMultiError
- type DeleteUserReqValidationError
- func (e DeleteUserReqValidationError) Cause() error
- func (e DeleteUserReqValidationError) Error() string
- func (e DeleteUserReqValidationError) ErrorName() string
- func (e DeleteUserReqValidationError) Field() string
- func (e DeleteUserReqValidationError) Key() bool
- func (e DeleteUserReqValidationError) Reason() string
- type DistributeUserReply
- func (*DistributeUserReply) Descriptor() ([]byte, []int)deprecated
- func (*DistributeUserReply) ProtoMessage()
- func (x *DistributeUserReply) ProtoReflect() protoreflect.Message
- func (x *DistributeUserReply) Reset()
- func (x *DistributeUserReply) String() string
- func (m *DistributeUserReply) Validate() error
- func (m *DistributeUserReply) ValidateAll() error
- type DistributeUserReplyMultiError
- type DistributeUserReplyValidationError
- func (e DistributeUserReplyValidationError) Cause() error
- func (e DistributeUserReplyValidationError) Error() string
- func (e DistributeUserReplyValidationError) ErrorName() string
- func (e DistributeUserReplyValidationError) Field() string
- func (e DistributeUserReplyValidationError) Key() bool
- func (e DistributeUserReplyValidationError) Reason() string
- type DistributeUserReq
- func (*DistributeUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeUserReq) GetCode() string
- func (x *DistributeUserReq) GetIsJoinDistribute() bool
- func (x *DistributeUserReq) GetNodeId() string
- func (x *DistributeUserReq) GetUserId() string
- func (*DistributeUserReq) ProtoMessage()
- func (x *DistributeUserReq) ProtoReflect() protoreflect.Message
- func (x *DistributeUserReq) Reset()
- func (x *DistributeUserReq) String() string
- func (m *DistributeUserReq) Validate() error
- func (m *DistributeUserReq) ValidateAll() error
- type DistributeUserReqMultiError
- type DistributeUserReqValidationError
- func (e DistributeUserReqValidationError) Cause() error
- func (e DistributeUserReqValidationError) Error() string
- func (e DistributeUserReqValidationError) ErrorName() string
- func (e DistributeUserReqValidationError) Field() string
- func (e DistributeUserReqValidationError) Key() bool
- func (e DistributeUserReqValidationError) Reason() string
- type ErrorProfileReason
- func (ErrorProfileReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorProfileReason) Enum() *ErrorProfileReason
- func (ErrorProfileReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorProfileReason) Number() protoreflect.EnumNumber
- func (x ErrorProfileReason) String() string
- func (ErrorProfileReason) Type() protoreflect.EnumType
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type FindProfileByUserReply
- func (*FindProfileByUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindProfileByUserReply) GetData() []*UserProfile
- func (*FindProfileByUserReply) ProtoMessage()
- func (x *FindProfileByUserReply) ProtoReflect() protoreflect.Message
- func (x *FindProfileByUserReply) Reset()
- func (x *FindProfileByUserReply) String() string
- func (m *FindProfileByUserReply) Validate() error
- func (m *FindProfileByUserReply) ValidateAll() error
- type FindProfileByUserReplyMultiError
- type FindProfileByUserReplyValidationError
- func (e FindProfileByUserReplyValidationError) Cause() error
- func (e FindProfileByUserReplyValidationError) Error() string
- func (e FindProfileByUserReplyValidationError) ErrorName() string
- func (e FindProfileByUserReplyValidationError) Field() string
- func (e FindProfileByUserReplyValidationError) Key() bool
- func (e FindProfileByUserReplyValidationError) Reason() string
- type FindProfileByUserReq
- func (*FindProfileByUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindProfileByUserReq) GetNodeId() string
- func (x *FindProfileByUserReq) GetUserIds() []string
- func (*FindProfileByUserReq) ProtoMessage()
- func (x *FindProfileByUserReq) ProtoReflect() protoreflect.Message
- func (x *FindProfileByUserReq) Reset()
- func (x *FindProfileByUserReq) String() string
- func (m *FindProfileByUserReq) Validate() error
- func (m *FindProfileByUserReq) ValidateAll() error
- type FindProfileByUserReqMultiError
- type FindProfileByUserReqValidationError
- func (e FindProfileByUserReqValidationError) Cause() error
- func (e FindProfileByUserReqValidationError) Error() string
- func (e FindProfileByUserReqValidationError) ErrorName() string
- func (e FindProfileByUserReqValidationError) Field() string
- func (e FindProfileByUserReqValidationError) Key() bool
- func (e FindProfileByUserReqValidationError) Reason() string
- type GetByAccountReply
- func (*GetByAccountReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetByAccountReply) GetProfile() *UserProfile
- func (*GetByAccountReply) ProtoMessage()
- func (x *GetByAccountReply) ProtoReflect() protoreflect.Message
- func (x *GetByAccountReply) Reset()
- func (x *GetByAccountReply) String() string
- func (m *GetByAccountReply) Validate() error
- func (m *GetByAccountReply) ValidateAll() error
- type GetByAccountReplyMultiError
- type GetByAccountReplyValidationError
- func (e GetByAccountReplyValidationError) Cause() error
- func (e GetByAccountReplyValidationError) Error() string
- func (e GetByAccountReplyValidationError) ErrorName() string
- func (e GetByAccountReplyValidationError) Field() string
- func (e GetByAccountReplyValidationError) Key() bool
- func (e GetByAccountReplyValidationError) Reason() string
- type GetByAccountReq
- func (*GetByAccountReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetByAccountReq) GetAccount() string
- func (*GetByAccountReq) ProtoMessage()
- func (x *GetByAccountReq) ProtoReflect() protoreflect.Message
- func (x *GetByAccountReq) Reset()
- func (x *GetByAccountReq) String() string
- func (m *GetByAccountReq) Validate() error
- func (m *GetByAccountReq) ValidateAll() error
- type GetByAccountReqMultiError
- type GetByAccountReqValidationError
- func (e GetByAccountReqValidationError) Cause() error
- func (e GetByAccountReqValidationError) Error() string
- func (e GetByAccountReqValidationError) ErrorName() string
- func (e GetByAccountReqValidationError) Field() string
- func (e GetByAccountReqValidationError) Key() bool
- func (e GetByAccountReqValidationError) Reason() string
- type GetByCodeReply
- func (*GetByCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetByCodeReply) GetProfile() *UserProfile
- func (*GetByCodeReply) ProtoMessage()
- func (x *GetByCodeReply) ProtoReflect() protoreflect.Message
- func (x *GetByCodeReply) Reset()
- func (x *GetByCodeReply) String() string
- func (m *GetByCodeReply) Validate() error
- func (m *GetByCodeReply) ValidateAll() error
- type GetByCodeReplyMultiError
- type GetByCodeReplyValidationError
- func (e GetByCodeReplyValidationError) Cause() error
- func (e GetByCodeReplyValidationError) Error() string
- func (e GetByCodeReplyValidationError) ErrorName() string
- func (e GetByCodeReplyValidationError) Field() string
- func (e GetByCodeReplyValidationError) Key() bool
- func (e GetByCodeReplyValidationError) Reason() string
- type GetByCodeReq
- func (*GetByCodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetByCodeReq) GetCode() string
- func (*GetByCodeReq) ProtoMessage()
- func (x *GetByCodeReq) ProtoReflect() protoreflect.Message
- func (x *GetByCodeReq) Reset()
- func (x *GetByCodeReq) String() string
- func (m *GetByCodeReq) Validate() error
- func (m *GetByCodeReq) ValidateAll() error
- type GetByCodeReqMultiError
- type GetByCodeReqValidationError
- func (e GetByCodeReqValidationError) Cause() error
- func (e GetByCodeReqValidationError) Error() string
- func (e GetByCodeReqValidationError) ErrorName() string
- func (e GetByCodeReqValidationError) Field() string
- func (e GetByCodeReqValidationError) Key() bool
- func (e GetByCodeReqValidationError) Reason() string
- type GetByEmailReply
- func (*GetByEmailReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetByEmailReply) GetProfile() *UserProfile
- func (*GetByEmailReply) ProtoMessage()
- func (x *GetByEmailReply) ProtoReflect() protoreflect.Message
- func (x *GetByEmailReply) Reset()
- func (x *GetByEmailReply) String() string
- func (m *GetByEmailReply) Validate() error
- func (m *GetByEmailReply) ValidateAll() error
- type GetByEmailReplyMultiError
- type GetByEmailReplyValidationError
- func (e GetByEmailReplyValidationError) Cause() error
- func (e GetByEmailReplyValidationError) Error() string
- func (e GetByEmailReplyValidationError) ErrorName() string
- func (e GetByEmailReplyValidationError) Field() string
- func (e GetByEmailReplyValidationError) Key() bool
- func (e GetByEmailReplyValidationError) Reason() string
- type GetByEmailReq
- func (*GetByEmailReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetByEmailReq) GetEmail() string
- func (*GetByEmailReq) ProtoMessage()
- func (x *GetByEmailReq) ProtoReflect() protoreflect.Message
- func (x *GetByEmailReq) Reset()
- func (x *GetByEmailReq) String() string
- func (m *GetByEmailReq) Validate() error
- func (m *GetByEmailReq) ValidateAll() error
- type GetByEmailReqMultiError
- type GetByEmailReqValidationError
- func (e GetByEmailReqValidationError) Cause() error
- func (e GetByEmailReqValidationError) Error() string
- func (e GetByEmailReqValidationError) ErrorName() string
- func (e GetByEmailReqValidationError) Field() string
- func (e GetByEmailReqValidationError) Key() bool
- func (e GetByEmailReqValidationError) Reason() string
- type GetByPhoneReply
- func (*GetByPhoneReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetByPhoneReply) GetProfiles() []*UserProfile
- func (*GetByPhoneReply) ProtoMessage()
- func (x *GetByPhoneReply) ProtoReflect() protoreflect.Message
- func (x *GetByPhoneReply) Reset()
- func (x *GetByPhoneReply) String() string
- func (m *GetByPhoneReply) Validate() error
- func (m *GetByPhoneReply) ValidateAll() error
- type GetByPhoneReplyMultiError
- type GetByPhoneReplyValidationError
- func (e GetByPhoneReplyValidationError) Cause() error
- func (e GetByPhoneReplyValidationError) Error() string
- func (e GetByPhoneReplyValidationError) ErrorName() string
- func (e GetByPhoneReplyValidationError) Field() string
- func (e GetByPhoneReplyValidationError) Key() bool
- func (e GetByPhoneReplyValidationError) Reason() string
- type GetByPhoneReq
- func (*GetByPhoneReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetByPhoneReq) GetPhone() string
- func (*GetByPhoneReq) ProtoMessage()
- func (x *GetByPhoneReq) ProtoReflect() protoreflect.Message
- func (x *GetByPhoneReq) Reset()
- func (x *GetByPhoneReq) String() string
- func (m *GetByPhoneReq) Validate() error
- func (m *GetByPhoneReq) ValidateAll() error
- type GetByPhoneReqMultiError
- type GetByPhoneReqValidationError
- func (e GetByPhoneReqValidationError) Cause() error
- func (e GetByPhoneReqValidationError) Error() string
- func (e GetByPhoneReqValidationError) ErrorName() string
- func (e GetByPhoneReqValidationError) Field() string
- func (e GetByPhoneReqValidationError) Key() bool
- func (e GetByPhoneReqValidationError) Reason() string
- type GetListReply
- func (*GetListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetListReply) GetList() []*UserProfile
- func (x *GetListReply) GetTotal() int64
- func (*GetListReply) ProtoMessage()
- func (x *GetListReply) ProtoReflect() protoreflect.Message
- func (x *GetListReply) Reset()
- func (x *GetListReply) String() string
- func (m *GetListReply) Validate() error
- func (m *GetListReply) ValidateAll() error
- type GetListReplyMultiError
- type GetListReplyValidationError
- func (e GetListReplyValidationError) Cause() error
- func (e GetListReplyValidationError) Error() string
- func (e GetListReplyValidationError) ErrorName() string
- func (e GetListReplyValidationError) Field() string
- func (e GetListReplyValidationError) Key() bool
- func (e GetListReplyValidationError) Reason() string
- type GetListReq
- func (*GetListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetListReq) GetAccount() string
- func (x *GetListReq) GetCode() string
- func (x *GetListReq) GetEmail() string
- func (x *GetListReq) GetFullName() string
- func (x *GetListReq) GetNickname() string
- func (x *GetListReq) GetPage() *v21.Pagination
- func (x *GetListReq) GetPersonId() string
- func (x *GetListReq) GetPhone() string
- func (*GetListReq) ProtoMessage()
- func (x *GetListReq) ProtoReflect() protoreflect.Message
- func (x *GetListReq) Reset()
- func (x *GetListReq) String() string
- func (m *GetListReq) Validate() error
- func (m *GetListReq) ValidateAll() error
- type GetListReqMultiError
- type GetListReqValidationError
- type GetNodeInfoByUserIdReply
- func (*GetNodeInfoByUserIdReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeInfoByUserIdReply) GetUserNodes() []*UserNode
- func (*GetNodeInfoByUserIdReply) ProtoMessage()
- func (x *GetNodeInfoByUserIdReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeInfoByUserIdReply) Reset()
- func (x *GetNodeInfoByUserIdReply) String() string
- func (m *GetNodeInfoByUserIdReply) Validate() error
- func (m *GetNodeInfoByUserIdReply) ValidateAll() error
- type GetNodeInfoByUserIdReplyMultiError
- type GetNodeInfoByUserIdReplyValidationError
- func (e GetNodeInfoByUserIdReplyValidationError) Cause() error
- func (e GetNodeInfoByUserIdReplyValidationError) Error() string
- func (e GetNodeInfoByUserIdReplyValidationError) ErrorName() string
- func (e GetNodeInfoByUserIdReplyValidationError) Field() string
- func (e GetNodeInfoByUserIdReplyValidationError) Key() bool
- func (e GetNodeInfoByUserIdReplyValidationError) Reason() string
- type GetNodeInfoByUserIdReq
- func (*GetNodeInfoByUserIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeInfoByUserIdReq) GetUserId() string
- func (*GetNodeInfoByUserIdReq) ProtoMessage()
- func (x *GetNodeInfoByUserIdReq) ProtoReflect() protoreflect.Message
- func (x *GetNodeInfoByUserIdReq) Reset()
- func (x *GetNodeInfoByUserIdReq) String() string
- func (m *GetNodeInfoByUserIdReq) Validate() error
- func (m *GetNodeInfoByUserIdReq) ValidateAll() error
- type GetNodeInfoByUserIdReqMultiError
- type GetNodeInfoByUserIdReqValidationError
- func (e GetNodeInfoByUserIdReqValidationError) Cause() error
- func (e GetNodeInfoByUserIdReqValidationError) Error() string
- func (e GetNodeInfoByUserIdReqValidationError) ErrorName() string
- func (e GetNodeInfoByUserIdReqValidationError) Field() string
- func (e GetNodeInfoByUserIdReqValidationError) Key() bool
- func (e GetNodeInfoByUserIdReqValidationError) Reason() string
- type GetProfileReply
- func (*GetProfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileReply) GetProfile() *UserProfile
- func (*GetProfileReply) ProtoMessage()
- func (x *GetProfileReply) ProtoReflect() protoreflect.Message
- func (x *GetProfileReply) Reset()
- func (x *GetProfileReply) String() string
- func (m *GetProfileReply) Validate() error
- func (m *GetProfileReply) ValidateAll() error
- type GetProfileReplyMultiError
- type GetProfileReplyValidationError
- func (e GetProfileReplyValidationError) Cause() error
- func (e GetProfileReplyValidationError) Error() string
- func (e GetProfileReplyValidationError) ErrorName() string
- func (e GetProfileReplyValidationError) Field() string
- func (e GetProfileReplyValidationError) Key() bool
- func (e GetProfileReplyValidationError) Reason() string
- type GetProfileReq
- func (*GetProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileReq) GetSelectStr() []string
- func (x *GetProfileReq) GetUserId() string
- func (*GetProfileReq) ProtoMessage()
- func (x *GetProfileReq) ProtoReflect() protoreflect.Message
- func (x *GetProfileReq) Reset()
- func (x *GetProfileReq) String() string
- func (m *GetProfileReq) Validate() error
- func (m *GetProfileReq) ValidateAll() error
- type GetProfileReqMultiError
- type GetProfileReqValidationError
- func (e GetProfileReqValidationError) Cause() error
- func (e GetProfileReqValidationError) Error() string
- func (e GetProfileReqValidationError) ErrorName() string
- func (e GetProfileReqValidationError) Field() string
- func (e GetProfileReqValidationError) Key() bool
- func (e GetProfileReqValidationError) Reason() string
- type GetSyncUserInfoReply
- func (*GetSyncUserInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncUserInfoReply) GetNodes() []*SyncUserNode
- func (x *GetSyncUserInfoReply) GetUserInfo() *v21.SyncUser
- func (*GetSyncUserInfoReply) ProtoMessage()
- func (x *GetSyncUserInfoReply) ProtoReflect() protoreflect.Message
- func (x *GetSyncUserInfoReply) Reset()
- func (x *GetSyncUserInfoReply) String() string
- func (m *GetSyncUserInfoReply) Validate() error
- func (m *GetSyncUserInfoReply) ValidateAll() error
- type GetSyncUserInfoReplyMultiError
- type GetSyncUserInfoReplyValidationError
- func (e GetSyncUserInfoReplyValidationError) Cause() error
- func (e GetSyncUserInfoReplyValidationError) Error() string
- func (e GetSyncUserInfoReplyValidationError) ErrorName() string
- func (e GetSyncUserInfoReplyValidationError) Field() string
- func (e GetSyncUserInfoReplyValidationError) Key() bool
- func (e GetSyncUserInfoReplyValidationError) Reason() string
- type GetSyncUserInfoReq
- func (*GetSyncUserInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncUserInfoReq) GetUserId() string
- func (*GetSyncUserInfoReq) ProtoMessage()
- func (x *GetSyncUserInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetSyncUserInfoReq) Reset()
- func (x *GetSyncUserInfoReq) String() string
- func (m *GetSyncUserInfoReq) Validate() error
- func (m *GetSyncUserInfoReq) ValidateAll() error
- type GetSyncUserInfoReqMultiError
- type GetSyncUserInfoReqValidationError
- func (e GetSyncUserInfoReqValidationError) Cause() error
- func (e GetSyncUserInfoReqValidationError) Error() string
- func (e GetSyncUserInfoReqValidationError) ErrorName() string
- func (e GetSyncUserInfoReqValidationError) Field() string
- func (e GetSyncUserInfoReqValidationError) Key() bool
- func (e GetSyncUserInfoReqValidationError) Reason() string
- type GetUserNodeByNodeIdAndCenterUserIdReply
- func (*GetUserNodeByNodeIdAndCenterUserIdReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNodeByNodeIdAndCenterUserIdReply) GetUserNode() *SyncUserNode
- func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoMessage()
- func (x *GetUserNodeByNodeIdAndCenterUserIdReply) ProtoReflect() protoreflect.Message
- func (x *GetUserNodeByNodeIdAndCenterUserIdReply) Reset()
- func (x *GetUserNodeByNodeIdAndCenterUserIdReply) String() string
- func (m *GetUserNodeByNodeIdAndCenterUserIdReply) Validate() error
- func (m *GetUserNodeByNodeIdAndCenterUserIdReply) ValidateAll() error
- type GetUserNodeByNodeIdAndCenterUserIdReplyMultiError
- type GetUserNodeByNodeIdAndCenterUserIdReplyValidationError
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Cause() error
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Error() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) ErrorName() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Field() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Key() bool
- func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Reason() string
- type GetUserNodeByNodeIdAndCenterUserIdReq
- func (*GetUserNodeByNodeIdAndCenterUserIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNodeByNodeIdAndCenterUserIdReq) GetNodeId() string
- func (x *GetUserNodeByNodeIdAndCenterUserIdReq) GetUserId() string
- func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoMessage()
- func (x *GetUserNodeByNodeIdAndCenterUserIdReq) ProtoReflect() protoreflect.Message
- func (x *GetUserNodeByNodeIdAndCenterUserIdReq) Reset()
- func (x *GetUserNodeByNodeIdAndCenterUserIdReq) String() string
- func (m *GetUserNodeByNodeIdAndCenterUserIdReq) Validate() error
- func (m *GetUserNodeByNodeIdAndCenterUserIdReq) ValidateAll() error
- type GetUserNodeByNodeIdAndCenterUserIdReqMultiError
- type GetUserNodeByNodeIdAndCenterUserIdReqValidationError
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Cause() error
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Error() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) ErrorName() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Field() string
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Key() bool
- func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Reason() string
- type IsRealReply
- func (*IsRealReply) Descriptor() ([]byte, []int)deprecated
- func (*IsRealReply) ProtoMessage()
- func (x *IsRealReply) ProtoReflect() protoreflect.Message
- func (x *IsRealReply) Reset()
- func (x *IsRealReply) String() string
- func (m *IsRealReply) Validate() error
- func (m *IsRealReply) ValidateAll() error
- type IsRealReplyMultiError
- type IsRealReplyValidationError
- func (e IsRealReplyValidationError) Cause() error
- func (e IsRealReplyValidationError) Error() string
- func (e IsRealReplyValidationError) ErrorName() string
- func (e IsRealReplyValidationError) Field() string
- func (e IsRealReplyValidationError) Key() bool
- func (e IsRealReplyValidationError) Reason() string
- type IsRealReq
- func (*IsRealReq) Descriptor() ([]byte, []int)deprecated
- func (x *IsRealReq) GetIdCard() string
- func (x *IsRealReq) GetUserId() string
- func (*IsRealReq) ProtoMessage()
- func (x *IsRealReq) ProtoReflect() protoreflect.Message
- func (x *IsRealReq) Reset()
- func (x *IsRealReq) String() string
- func (m *IsRealReq) Validate() error
- func (m *IsRealReq) ValidateAll() error
- type IsRealReqMultiError
- type IsRealReqValidationError
- type ListProfileReply
- func (*ListProfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListProfileReply) GetList() []*UserProfile
- func (x *ListProfileReply) GetTotal() int64
- func (*ListProfileReply) ProtoMessage()
- func (x *ListProfileReply) ProtoReflect() protoreflect.Message
- func (x *ListProfileReply) Reset()
- func (x *ListProfileReply) String() string
- func (m *ListProfileReply) Validate() error
- func (m *ListProfileReply) ValidateAll() error
- type ListProfileReplyMultiError
- type ListProfileReplyValidationError
- func (e ListProfileReplyValidationError) Cause() error
- func (e ListProfileReplyValidationError) Error() string
- func (e ListProfileReplyValidationError) ErrorName() string
- func (e ListProfileReplyValidationError) Field() string
- func (e ListProfileReplyValidationError) Key() bool
- func (e ListProfileReplyValidationError) Reason() string
- type ListProfileReq
- func (*ListProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListProfileReq) GetCond() map[string]string
- func (x *ListProfileReq) GetIsLimit() bool
- func (x *ListProfileReq) GetNodeId() string
- func (x *ListProfileReq) GetPage() *v21.Pagination
- func (x *ListProfileReq) GetSelectStr() []string
- func (x *ListProfileReq) GetSupplement() []string
- func (*ListProfileReq) ProtoMessage()
- func (x *ListProfileReq) ProtoReflect() protoreflect.Message
- func (x *ListProfileReq) Reset()
- func (x *ListProfileReq) String() string
- func (m *ListProfileReq) Validate() error
- func (m *ListProfileReq) ValidateAll() error
- type ListProfileReqMultiError
- type ListProfileReqValidationError
- func (e ListProfileReqValidationError) Cause() error
- func (e ListProfileReqValidationError) Error() string
- func (e ListProfileReqValidationError) ErrorName() string
- func (e ListProfileReqValidationError) Field() string
- func (e ListProfileReqValidationError) Key() bool
- func (e ListProfileReqValidationError) Reason() string
- type ProfileClient
- type ProfileServer
- type SyncUserInfoReply
- func (*SyncUserInfoReply) Descriptor() ([]byte, []int)deprecated
- func (*SyncUserInfoReply) ProtoMessage()
- func (x *SyncUserInfoReply) ProtoReflect() protoreflect.Message
- func (x *SyncUserInfoReply) Reset()
- func (x *SyncUserInfoReply) String() string
- func (m *SyncUserInfoReply) Validate() error
- func (m *SyncUserInfoReply) ValidateAll() error
- type SyncUserInfoReplyMultiError
- type SyncUserInfoReplyValidationError
- func (e SyncUserInfoReplyValidationError) Cause() error
- func (e SyncUserInfoReplyValidationError) Error() string
- func (e SyncUserInfoReplyValidationError) ErrorName() string
- func (e SyncUserInfoReplyValidationError) Field() string
- func (e SyncUserInfoReplyValidationError) Key() bool
- func (e SyncUserInfoReplyValidationError) Reason() string
- type SyncUserInfoReq
- func (*SyncUserInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *SyncUserInfoReq) GetUserInfo() *v21.SyncUser
- func (*SyncUserInfoReq) ProtoMessage()
- func (x *SyncUserInfoReq) ProtoReflect() protoreflect.Message
- func (x *SyncUserInfoReq) Reset()
- func (x *SyncUserInfoReq) String() string
- func (m *SyncUserInfoReq) Validate() error
- func (m *SyncUserInfoReq) ValidateAll() error
- type SyncUserInfoReqMultiError
- type SyncUserInfoReqValidationError
- func (e SyncUserInfoReqValidationError) Cause() error
- func (e SyncUserInfoReqValidationError) Error() string
- func (e SyncUserInfoReqValidationError) ErrorName() string
- func (e SyncUserInfoReqValidationError) Field() string
- func (e SyncUserInfoReqValidationError) Key() bool
- func (e SyncUserInfoReqValidationError) Reason() string
- type SyncUserNode
- func (*SyncUserNode) Descriptor() ([]byte, []int)deprecated
- func (x *SyncUserNode) GetCenterUserId() string
- func (x *SyncUserNode) GetFaceURL() string
- func (x *SyncUserNode) GetFromUserId() string
- func (x *SyncUserNode) GetNickname() string
- func (x *SyncUserNode) GetNodeId() string
- func (x *SyncUserNode) GetTenantId() string
- func (x *SyncUserNode) GetUserId() string
- func (*SyncUserNode) ProtoMessage()
- func (x *SyncUserNode) ProtoReflect() protoreflect.Message
- func (x *SyncUserNode) Reset()
- func (x *SyncUserNode) String() string
- func (m *SyncUserNode) Validate() error
- func (m *SyncUserNode) ValidateAll() error
- type SyncUserNodeMultiError
- type SyncUserNodeValidationError
- func (e SyncUserNodeValidationError) Cause() error
- func (e SyncUserNodeValidationError) Error() string
- func (e SyncUserNodeValidationError) ErrorName() string
- func (e SyncUserNodeValidationError) Field() string
- func (e SyncUserNodeValidationError) Key() bool
- func (e SyncUserNodeValidationError) Reason() string
- type UnimplementedProfileServer
- func (UnimplementedProfileServer) BatchInsert(context.Context, *BatchInsertProfileReq) (*BatchInsertProfileReply, error)
- func (UnimplementedProfileServer) FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error)
- func (UnimplementedProfileServer) GetByAccount(context.Context, *GetByAccountReq) (*GetByAccountReply, error)
- func (UnimplementedProfileServer) GetByCode(context.Context, *GetByCodeReq) (*GetByCodeReply, error)
- func (UnimplementedProfileServer) GetByEmail(context.Context, *GetByEmailReq) (*GetByEmailReply, error)
- func (UnimplementedProfileServer) GetByPhone(context.Context, *GetByPhoneReq) (*GetByPhoneReply, error)
- func (UnimplementedProfileServer) GetList(context.Context, *GetListReq) (*GetListReply, error)
- func (UnimplementedProfileServer) GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error)
- func (UnimplementedProfileServer) IsReal(context.Context, *IsRealReq) (*IsRealReply, error)
- func (UnimplementedProfileServer) ListProfile(context.Context, *ListProfileReq) (*ListProfileReply, error)
- func (UnimplementedProfileServer) UpdateProfile(context.Context, *UpdateProfileReq) (*UpdateProfileReply, error)
- type UnimplementedUserServer
- func (UnimplementedUserServer) BatchInsert(context.Context, *BatchInsertUserReq) (*BatchInsertUserReply, error)
- func (UnimplementedUserServer) CancelNodeAccount(context.Context, *CancelNodeAccountReq) (*CancelNodeAccountReply, error)
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserReq) (*CreateUserReply, error)
- func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserReply, error)
- func (UnimplementedUserServer) DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error)
- func (UnimplementedUserServer) GetNodeInfoByUserId(context.Context, *GetNodeInfoByUserIdReq) (*GetNodeInfoByUserIdReply, error)
- func (UnimplementedUserServer) GetSyncUserInfo(context.Context, *GetSyncUserInfoReq) (*GetSyncUserInfoReply, error)
- func (UnimplementedUserServer) GetUserNodeByNodeIdAndCenterUserId(context.Context, *GetUserNodeByNodeIdAndCenterUserIdReq) (*GetUserNodeByNodeIdAndCenterUserIdReply, error)
- func (UnimplementedUserServer) SyncUserInfo(context.Context, *SyncUserInfoReq) (*SyncUserInfoReply, error)
- func (UnimplementedUserServer) UpdatePassword(context.Context, *UpdatePasswordReq) (*UpdatePasswordReply, error)
- func (UnimplementedUserServer) VerifyPassword(context.Context, *VerifyPasswordReq) (*VerifyPasswordReply, error)
- type UnsafeProfileServer
- type UnsafeUserServer
- type UpdatePasswordReply
- func (*UpdatePasswordReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePasswordReply) ProtoMessage()
- func (x *UpdatePasswordReply) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordReply) Reset()
- func (x *UpdatePasswordReply) String() string
- func (m *UpdatePasswordReply) Validate() error
- func (m *UpdatePasswordReply) ValidateAll() error
- type UpdatePasswordReplyMultiError
- type UpdatePasswordReplyValidationError
- func (e UpdatePasswordReplyValidationError) Cause() error
- func (e UpdatePasswordReplyValidationError) Error() string
- func (e UpdatePasswordReplyValidationError) ErrorName() string
- func (e UpdatePasswordReplyValidationError) Field() string
- func (e UpdatePasswordReplyValidationError) Key() bool
- func (e UpdatePasswordReplyValidationError) Reason() string
- type UpdatePasswordReq
- func (*UpdatePasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordReq) GetPassword() string
- func (x *UpdatePasswordReq) GetUserId() string
- func (*UpdatePasswordReq) ProtoMessage()
- func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordReq) Reset()
- func (x *UpdatePasswordReq) String() string
- func (m *UpdatePasswordReq) Validate() error
- func (m *UpdatePasswordReq) ValidateAll() error
- type UpdatePasswordReqMultiError
- type UpdatePasswordReqValidationError
- func (e UpdatePasswordReqValidationError) Cause() error
- func (e UpdatePasswordReqValidationError) Error() string
- func (e UpdatePasswordReqValidationError) ErrorName() string
- func (e UpdatePasswordReqValidationError) Field() string
- func (e UpdatePasswordReqValidationError) Key() bool
- func (e UpdatePasswordReqValidationError) Reason() string
- type UpdateProfileReply
- func (*UpdateProfileReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateProfileReply) ProtoMessage()
- func (x *UpdateProfileReply) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileReply) Reset()
- func (x *UpdateProfileReply) String() string
- func (m *UpdateProfileReply) Validate() error
- func (m *UpdateProfileReply) ValidateAll() error
- type UpdateProfileReplyMultiError
- type UpdateProfileReplyValidationError
- func (e UpdateProfileReplyValidationError) Cause() error
- func (e UpdateProfileReplyValidationError) Error() string
- func (e UpdateProfileReplyValidationError) ErrorName() string
- func (e UpdateProfileReplyValidationError) Field() string
- func (e UpdateProfileReplyValidationError) Key() bool
- func (e UpdateProfileReplyValidationError) Reason() string
- type UpdateProfileReq
- func (*UpdateProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileReq) GetBirth() int64
- func (x *UpdateProfileReq) GetEmail() string
- func (x *UpdateProfileReq) GetFaceURL() string
- func (x *UpdateProfileReq) GetFullName() string
- func (x *UpdateProfileReq) GetGender() v2.Gender
- func (x *UpdateProfileReq) GetLastNodeId() string
- func (x *UpdateProfileReq) GetMessage() string
- func (x *UpdateProfileReq) GetNickname() string
- func (x *UpdateProfileReq) GetNodeId() string
- func (x *UpdateProfileReq) GetPersonId() string
- func (x *UpdateProfileReq) GetPhone() string
- func (x *UpdateProfileReq) GetStatus() int32
- func (x *UpdateProfileReq) GetUserId() string
- func (*UpdateProfileReq) ProtoMessage()
- func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileReq) Reset()
- func (x *UpdateProfileReq) String() string
- func (m *UpdateProfileReq) Validate() error
- func (m *UpdateProfileReq) ValidateAll() error
- type UpdateProfileReqMultiError
- type UpdateProfileReqValidationError
- func (e UpdateProfileReqValidationError) Cause() error
- func (e UpdateProfileReqValidationError) Error() string
- func (e UpdateProfileReqValidationError) ErrorName() string
- func (e UpdateProfileReqValidationError) Field() string
- func (e UpdateProfileReqValidationError) Key() bool
- func (e UpdateProfileReqValidationError) Reason() string
- type UserClient
- type UserData
- func (*UserData) Descriptor() ([]byte, []int)deprecated
- func (x *UserData) GetCreatedAt() int64
- func (x *UserData) GetDeletedAt() int64
- func (x *UserData) GetId() string
- func (x *UserData) GetPassword() string
- func (x *UserData) GetTenantId() string
- func (x *UserData) GetUpdatedAt() int64
- func (*UserData) ProtoMessage()
- func (x *UserData) ProtoReflect() protoreflect.Message
- func (x *UserData) Reset()
- func (x *UserData) String() string
- func (m *UserData) Validate() error
- func (m *UserData) ValidateAll() error
- type UserDataMultiError
- type UserDataValidationError
- type UserNode
- func (*UserNode) Descriptor() ([]byte, []int)deprecated
- func (x *UserNode) GetCode() string
- func (x *UserNode) GetLogo() string
- func (x *UserNode) GetName() string
- func (x *UserNode) GetNodeId() string
- func (*UserNode) ProtoMessage()
- func (x *UserNode) ProtoReflect() protoreflect.Message
- func (x *UserNode) Reset()
- func (x *UserNode) String() string
- func (m *UserNode) Validate() error
- func (m *UserNode) ValidateAll() error
- type UserNodeMultiError
- type UserNodeValidationError
- type UserOnlineType
- func (UserOnlineType) Descriptor() protoreflect.EnumDescriptor
- func (x UserOnlineType) Enum() *UserOnlineType
- func (UserOnlineType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserOnlineType) Number() protoreflect.EnumNumber
- func (x UserOnlineType) String() string
- func (UserOnlineType) Type() protoreflect.EnumType
- type UserProfile
- func (*UserProfile) Descriptor() ([]byte, []int)deprecated
- func (x *UserProfile) GetAccount() string
- func (x *UserProfile) GetAreaCode() int32
- func (x *UserProfile) GetBirth() int64
- func (x *UserProfile) GetCode() string
- func (x *UserProfile) GetCreatedAt() int64
- func (x *UserProfile) GetDeletedAt() int64
- func (x *UserProfile) GetEmail() string
- func (x *UserProfile) GetFaceURL() string
- func (x *UserProfile) GetFullName() string
- func (x *UserProfile) GetGender() v2.Gender
- func (x *UserProfile) GetId() string
- func (x *UserProfile) GetLastLoginNodeId() string
- func (x *UserProfile) GetNickname() string
- func (x *UserProfile) GetNodeId() string
- func (x *UserProfile) GetPersonId() string
- func (x *UserProfile) GetPhone() string
- func (x *UserProfile) GetShareCode() string
- func (x *UserProfile) GetStatus() int32
- func (x *UserProfile) GetTenantId() string
- func (x *UserProfile) GetUpdatedAt() int64
- func (*UserProfile) ProtoMessage()
- func (x *UserProfile) ProtoReflect() protoreflect.Message
- func (x *UserProfile) Reset()
- func (x *UserProfile) String() string
- func (m *UserProfile) Validate() error
- func (m *UserProfile) ValidateAll() error
- type UserProfileMultiError
- type UserProfileValidationError
- func (e UserProfileValidationError) Cause() error
- func (e UserProfileValidationError) Error() string
- func (e UserProfileValidationError) ErrorName() string
- func (e UserProfileValidationError) Field() string
- func (e UserProfileValidationError) Key() bool
- func (e UserProfileValidationError) Reason() string
- type UserServer
- type VerifyPasswordReply
- func (*VerifyPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPasswordReply) GetId() string
- func (x *VerifyPasswordReply) GetOk() bool
- func (*VerifyPasswordReply) ProtoMessage()
- func (x *VerifyPasswordReply) ProtoReflect() protoreflect.Message
- func (x *VerifyPasswordReply) Reset()
- func (x *VerifyPasswordReply) String() string
- func (m *VerifyPasswordReply) Validate() error
- func (m *VerifyPasswordReply) ValidateAll() error
- type VerifyPasswordReplyMultiError
- type VerifyPasswordReplyValidationError
- func (e VerifyPasswordReplyValidationError) Cause() error
- func (e VerifyPasswordReplyValidationError) Error() string
- func (e VerifyPasswordReplyValidationError) ErrorName() string
- func (e VerifyPasswordReplyValidationError) Field() string
- func (e VerifyPasswordReplyValidationError) Key() bool
- func (e VerifyPasswordReplyValidationError) Reason() string
- type VerifyPasswordReq
- func (*VerifyPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPasswordReq) GetPassword() string
- func (x *VerifyPasswordReq) GetUserId() string
- func (*VerifyPasswordReq) ProtoMessage()
- func (x *VerifyPasswordReq) ProtoReflect() protoreflect.Message
- func (x *VerifyPasswordReq) Reset()
- func (x *VerifyPasswordReq) String() string
- func (m *VerifyPasswordReq) Validate() error
- func (m *VerifyPasswordReq) ValidateAll() error
- type VerifyPasswordReqMultiError
- type VerifyPasswordReqValidationError
- func (e VerifyPasswordReqValidationError) Cause() error
- func (e VerifyPasswordReqValidationError) Error() string
- func (e VerifyPasswordReqValidationError) ErrorName() string
- func (e VerifyPasswordReqValidationError) Field() string
- func (e VerifyPasswordReqValidationError) Key() bool
- func (e VerifyPasswordReqValidationError) Reason() string
Constants ¶
const ( Profile_GetProfile_FullMethodName = "/api.user_center.user.v2.Profile/GetProfile" Profile_UpdateProfile_FullMethodName = "/api.user_center.user.v2.Profile/UpdateProfile" Profile_ListProfile_FullMethodName = "/api.user_center.user.v2.Profile/ListProfile" Profile_GetList_FullMethodName = "/api.user_center.user.v2.Profile/GetList" Profile_GetByAccount_FullMethodName = "/api.user_center.user.v2.Profile/GetByAccount" Profile_GetByPhone_FullMethodName = "/api.user_center.user.v2.Profile/GetByPhone" Profile_GetByEmail_FullMethodName = "/api.user_center.user.v2.Profile/GetByEmail" Profile_GetByCode_FullMethodName = "/api.user_center.user.v2.Profile/GetByCode" Profile_FindProfileByUserId_FullMethodName = "/api.user_center.user.v2.Profile/FindProfileByUserId" Profile_BatchInsert_FullMethodName = "/api.user_center.user.v2.Profile/BatchInsert" Profile_IsReal_FullMethodName = "/api.user_center.user.v2.Profile/IsReal" )
const ( User_CreateUser_FullMethodName = "/api.user_center.user.v2.User/CreateUser" User_UpdatePassword_FullMethodName = "/api.user_center.user.v2.User/UpdatePassword" User_DeleteUser_FullMethodName = "/api.user_center.user.v2.User/DeleteUser" User_VerifyPassword_FullMethodName = "/api.user_center.user.v2.User/VerifyPassword" User_BatchInsert_FullMethodName = "/api.user_center.user.v2.User/BatchInsert" User_GetSyncUserInfo_FullMethodName = "/api.user_center.user.v2.User/GetSyncUserInfo" User_SyncUserInfo_FullMethodName = "/api.user_center.user.v2.User/SyncUserInfo" User_GetNodeInfoByUserId_FullMethodName = "/api.user_center.user.v2.User/GetNodeInfoByUserId" User_DistributeUser_FullMethodName = "/api.user_center.user.v2.User/DistributeUser" User_GetUserNodeByNodeIdAndCenterUserId_FullMethodName = "/api.user_center.user.v2.User/GetUserNodeByNodeIdAndCenterUserId" User_CancelNodeAccount_FullMethodName = "/api.user_center.user.v2.User/CancelNodeAccount" )
Variables ¶
var ( ErrorProfileReason_name = map[int32]string{ 0: "PROFILE_NOT_FOUND", 2: "GET_DATE", 3: "FAILED_TO_EDIT_PROFILE", 4: "PHONE_IS_NOT_EMPTY", 5: "FAILED_DELETE_PROFILE", 6: "HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL", 7: "PARAMS_EMAIL_NOT_IS_USER_BIND", 8: "PARAMS_PHONE_NOT_IS_USER_BIND", 9: "EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY", 10: "BATCH_INSERT_ERROR", 11: "DATA_IS_NOT_EMPTY", 12: "USER_HAS_REAL_NAME", 13: "ID_NUMBER_HAS_BEEN_USED", 14: "USER_REAL_NAME_ERR", } ErrorProfileReason_value = map[string]int32{ "PROFILE_NOT_FOUND": 0, "GET_DATE": 2, "FAILED_TO_EDIT_PROFILE": 3, "PHONE_IS_NOT_EMPTY": 4, "FAILED_DELETE_PROFILE": 5, "HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL": 6, "PARAMS_EMAIL_NOT_IS_USER_BIND": 7, "PARAMS_PHONE_NOT_IS_USER_BIND": 8, "EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY": 9, "BATCH_INSERT_ERROR": 10, "DATA_IS_NOT_EMPTY": 11, "USER_HAS_REAL_NAME": 12, "ID_NUMBER_HAS_BEEN_USED": 13, "USER_REAL_NAME_ERR": 14, } )
Enum value maps for ErrorProfileReason.
var ( UserOnlineType_name = map[int32]string{ 0: "USER_ONLINE_TYPE_OFFLINE", 1: "USER_ONLINE_TYPE_ONLINE", } UserOnlineType_value = map[string]int32{ "USER_ONLINE_TYPE_OFFLINE": 0, "USER_ONLINE_TYPE_ONLINE": 1, } )
Enum value maps for UserOnlineType.
var ( ErrorReason_name = map[int32]string{ 0: "ERROR_REASON_PARAMS", 1: "ERROR_REASON_SYSTEM", 3: "ERROR_REASON_PASSWORD", 4: "ERROR_REASON_NAME_IS_EXIST", 5: "ERROR_CREATE_USER", 6: "EMAIL_ALREADY_EXISTS", 7: "JOIN_NODE_ERR", 8: "THIS_SHARE_CODE_IS_INVALID", 9: "USER_ALREADY_JOIN_NODE", 10: "NODE_NOT_FANG", } ErrorReason_value = map[string]int32{ "ERROR_REASON_PARAMS": 0, "ERROR_REASON_SYSTEM": 1, "ERROR_REASON_PASSWORD": 3, "ERROR_REASON_NAME_IS_EXIST": 4, "ERROR_CREATE_USER": 5, "EMAIL_ALREADY_EXISTS": 6, "JOIN_NODE_ERR": 7, "THIS_SHARE_CODE_IS_INVALID": 8, "USER_ALREADY_JOIN_NODE": 9, "NODE_NOT_FANG": 10, } )
Enum value maps for ErrorReason.
var File_api_user_center_user_v2_profile_error_proto protoreflect.FileDescriptor
var File_api_user_center_user_v2_user_error_proto protoreflect.FileDescriptor
var File_user_center_user_v2_profile_proto protoreflect.FileDescriptor
var File_user_center_user_v2_user_proto protoreflect.FileDescriptor
var Profile_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.user_center.user.v2.Profile", HandlerType: (*ProfileServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProfile", Handler: _Profile_GetProfile_Handler, }, { MethodName: "UpdateProfile", Handler: _Profile_UpdateProfile_Handler, }, { MethodName: "ListProfile", Handler: _Profile_ListProfile_Handler, }, { MethodName: "GetList", Handler: _Profile_GetList_Handler, }, { MethodName: "GetByAccount", Handler: _Profile_GetByAccount_Handler, }, { MethodName: "GetByPhone", Handler: _Profile_GetByPhone_Handler, }, { MethodName: "GetByEmail", Handler: _Profile_GetByEmail_Handler, }, { MethodName: "GetByCode", Handler: _Profile_GetByCode_Handler, }, { MethodName: "FindProfileByUserId", Handler: _Profile_FindProfileByUserId_Handler, }, { MethodName: "BatchInsert", Handler: _Profile_BatchInsert_Handler, }, { MethodName: "IsReal", Handler: _Profile_IsReal_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user_center/user/v2/profile.proto", }
Profile_ServiceDesc is the grpc.ServiceDesc for Profile service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.user_center.user.v2.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "UpdatePassword", Handler: _User_UpdatePassword_Handler, }, { MethodName: "DeleteUser", Handler: _User_DeleteUser_Handler, }, { MethodName: "VerifyPassword", Handler: _User_VerifyPassword_Handler, }, { MethodName: "BatchInsert", Handler: _User_BatchInsert_Handler, }, { MethodName: "GetSyncUserInfo", Handler: _User_GetSyncUserInfo_Handler, }, { MethodName: "SyncUserInfo", Handler: _User_SyncUserInfo_Handler, }, { MethodName: "GetNodeInfoByUserId", Handler: _User_GetNodeInfoByUserId_Handler, }, { MethodName: "DistributeUser", Handler: _User_DistributeUser_Handler, }, { MethodName: "GetUserNodeByNodeIdAndCenterUserId", Handler: _User_GetUserNodeByNodeIdAndCenterUserId_Handler, }, { MethodName: "CancelNodeAccount", Handler: _User_CancelNodeAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user_center/user/v2/user.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorBatchInsertError ¶
批量导入失败
func ErrorDataIsNotEmpty ¶
数据不能为空
func ErrorEmailAlreadyExists ¶
邮箱已被使用
func ErrorErrorCreateUser ¶
创建用户失败
func ErrorErrorReasonNameIsExist ¶
用户名已存在
func ErrorErrorReasonParams ¶
为某个枚举单独设置错误码
func ErrorErrorReasonPassword ¶
密码错误
func ErrorErrorReasonSystem ¶
系统错误
func ErrorExceededTheMaximumBatchProcessingQuantity ¶
func ErrorExceededTheMaximumBatchProcessingQuantity(format string, args ...interface{}) *errors.Error
超过批处理的最大数量
func ErrorFailedDeleteProfile ¶
删除用户信息失败
func ErrorFailedToEditProfile ¶
编辑用户异常
func ErrorHistoryPrivacyPasswordVerificationFail ¶
历史密码验证失败
func ErrorIdNumberHasBeenUsed ¶
身份证好已被他人绑定
func ErrorJoinNodeErr ¶
加入社区失败
func ErrorNodeNotFang ¶
社区不存在
func ErrorParamsEmailNotIsUserBind ¶
输入邮箱与用户绑定邮箱不一致
func ErrorParamsPhoneNotIsUserBind ¶
输入手机与用户绑定手机不一致
func ErrorPhoneIsNotEmpty ¶
手机号不能为空
func ErrorProfileNotFound ¶
用户信息未找到
func ErrorThisShareCodeIsInvalid ¶
推广码无效
func ErrorUserHasRealName ¶
用户已经实名
func ErrorUserRealNameErr ¶
实名认证失败
func IsExceededTheMaximumBatchProcessingQuantity ¶
超过批处理的最大数量
func IsHistoryPrivacyPasswordVerificationFail ¶
历史密码验证失败
func IsUserAlreadyJoinNode ¶
func RegisterProfileServer ¶
func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type BatchInsertProfileReply ¶
type BatchInsertProfileReply struct {
// contains filtered or unexported fields
}
func (*BatchInsertProfileReply) Descriptor
deprecated
func (*BatchInsertProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchInsertProfileReply.ProtoReflect.Descriptor instead.
func (*BatchInsertProfileReply) ProtoMessage ¶
func (*BatchInsertProfileReply) ProtoMessage()
func (*BatchInsertProfileReply) ProtoReflect ¶
func (x *BatchInsertProfileReply) ProtoReflect() protoreflect.Message
func (*BatchInsertProfileReply) Reset ¶
func (x *BatchInsertProfileReply) Reset()
func (*BatchInsertProfileReply) String ¶
func (x *BatchInsertProfileReply) String() string
func (*BatchInsertProfileReply) Validate ¶
func (m *BatchInsertProfileReply) Validate() error
Validate checks the field values on BatchInsertProfileReply 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 (*BatchInsertProfileReply) ValidateAll ¶
func (m *BatchInsertProfileReply) ValidateAll() error
ValidateAll checks the field values on BatchInsertProfileReply 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 BatchInsertProfileReplyMultiError, or nil if none found.
type BatchInsertProfileReplyMultiError ¶
type BatchInsertProfileReplyMultiError []error
BatchInsertProfileReplyMultiError is an error wrapping multiple validation errors returned by BatchInsertProfileReply.ValidateAll() if the designated constraints aren't met.
func (BatchInsertProfileReplyMultiError) AllErrors ¶
func (m BatchInsertProfileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchInsertProfileReplyMultiError) Error ¶
func (m BatchInsertProfileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchInsertProfileReplyValidationError ¶
type BatchInsertProfileReplyValidationError struct {
// contains filtered or unexported fields
}
BatchInsertProfileReplyValidationError is the validation error returned by BatchInsertProfileReply.Validate if the designated constraints aren't met.
func (BatchInsertProfileReplyValidationError) Cause ¶
func (e BatchInsertProfileReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchInsertProfileReplyValidationError) Error ¶
func (e BatchInsertProfileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchInsertProfileReplyValidationError) ErrorName ¶
func (e BatchInsertProfileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchInsertProfileReplyValidationError) Field ¶
func (e BatchInsertProfileReplyValidationError) Field() string
Field function returns field value.
func (BatchInsertProfileReplyValidationError) Key ¶
func (e BatchInsertProfileReplyValidationError) Key() bool
Key function returns key value.
func (BatchInsertProfileReplyValidationError) Reason ¶
func (e BatchInsertProfileReplyValidationError) Reason() string
Reason function returns reason value.
type BatchInsertProfileReq ¶
type BatchInsertProfileReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id List []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // 插入的数据 // contains filtered or unexported fields }
批量插入
func (*BatchInsertProfileReq) Descriptor
deprecated
func (*BatchInsertProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchInsertProfileReq.ProtoReflect.Descriptor instead.
func (*BatchInsertProfileReq) GetList ¶
func (x *BatchInsertProfileReq) GetList() []*UserProfile
func (*BatchInsertProfileReq) GetNodeId ¶
func (x *BatchInsertProfileReq) GetNodeId() string
func (*BatchInsertProfileReq) ProtoMessage ¶
func (*BatchInsertProfileReq) ProtoMessage()
func (*BatchInsertProfileReq) ProtoReflect ¶
func (x *BatchInsertProfileReq) ProtoReflect() protoreflect.Message
func (*BatchInsertProfileReq) Reset ¶
func (x *BatchInsertProfileReq) Reset()
func (*BatchInsertProfileReq) String ¶
func (x *BatchInsertProfileReq) String() string
func (*BatchInsertProfileReq) Validate ¶
func (m *BatchInsertProfileReq) Validate() error
Validate checks the field values on BatchInsertProfileReq 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 (*BatchInsertProfileReq) ValidateAll ¶
func (m *BatchInsertProfileReq) ValidateAll() error
ValidateAll checks the field values on BatchInsertProfileReq 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 BatchInsertProfileReqMultiError, or nil if none found.
type BatchInsertProfileReqMultiError ¶
type BatchInsertProfileReqMultiError []error
BatchInsertProfileReqMultiError is an error wrapping multiple validation errors returned by BatchInsertProfileReq.ValidateAll() if the designated constraints aren't met.
func (BatchInsertProfileReqMultiError) AllErrors ¶
func (m BatchInsertProfileReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchInsertProfileReqMultiError) Error ¶
func (m BatchInsertProfileReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchInsertProfileReqValidationError ¶
type BatchInsertProfileReqValidationError struct {
// contains filtered or unexported fields
}
BatchInsertProfileReqValidationError is the validation error returned by BatchInsertProfileReq.Validate if the designated constraints aren't met.
func (BatchInsertProfileReqValidationError) Cause ¶
func (e BatchInsertProfileReqValidationError) Cause() error
Cause function returns cause value.
func (BatchInsertProfileReqValidationError) Error ¶
func (e BatchInsertProfileReqValidationError) Error() string
Error satisfies the builtin error interface
func (BatchInsertProfileReqValidationError) ErrorName ¶
func (e BatchInsertProfileReqValidationError) ErrorName() string
ErrorName returns error name.
func (BatchInsertProfileReqValidationError) Field ¶
func (e BatchInsertProfileReqValidationError) Field() string
Field function returns field value.
func (BatchInsertProfileReqValidationError) Key ¶
func (e BatchInsertProfileReqValidationError) Key() bool
Key function returns key value.
func (BatchInsertProfileReqValidationError) Reason ¶
func (e BatchInsertProfileReqValidationError) Reason() string
Reason function returns reason value.
type BatchInsertUserReply ¶
type BatchInsertUserReply struct {
// contains filtered or unexported fields
}
func (*BatchInsertUserReply) Descriptor
deprecated
func (*BatchInsertUserReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchInsertUserReply.ProtoReflect.Descriptor instead.
func (*BatchInsertUserReply) ProtoMessage ¶
func (*BatchInsertUserReply) ProtoMessage()
func (*BatchInsertUserReply) ProtoReflect ¶
func (x *BatchInsertUserReply) ProtoReflect() protoreflect.Message
func (*BatchInsertUserReply) Reset ¶
func (x *BatchInsertUserReply) Reset()
func (*BatchInsertUserReply) String ¶
func (x *BatchInsertUserReply) String() string
func (*BatchInsertUserReply) Validate ¶
func (m *BatchInsertUserReply) Validate() error
Validate checks the field values on BatchInsertUserReply 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 (*BatchInsertUserReply) ValidateAll ¶
func (m *BatchInsertUserReply) ValidateAll() error
ValidateAll checks the field values on BatchInsertUserReply 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 BatchInsertUserReplyMultiError, or nil if none found.
type BatchInsertUserReplyMultiError ¶
type BatchInsertUserReplyMultiError []error
BatchInsertUserReplyMultiError is an error wrapping multiple validation errors returned by BatchInsertUserReply.ValidateAll() if the designated constraints aren't met.
func (BatchInsertUserReplyMultiError) AllErrors ¶
func (m BatchInsertUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchInsertUserReplyMultiError) Error ¶
func (m BatchInsertUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchInsertUserReplyValidationError ¶
type BatchInsertUserReplyValidationError struct {
// contains filtered or unexported fields
}
BatchInsertUserReplyValidationError is the validation error returned by BatchInsertUserReply.Validate if the designated constraints aren't met.
func (BatchInsertUserReplyValidationError) Cause ¶
func (e BatchInsertUserReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchInsertUserReplyValidationError) Error ¶
func (e BatchInsertUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchInsertUserReplyValidationError) ErrorName ¶
func (e BatchInsertUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchInsertUserReplyValidationError) Field ¶
func (e BatchInsertUserReplyValidationError) Field() string
Field function returns field value.
func (BatchInsertUserReplyValidationError) Key ¶
func (e BatchInsertUserReplyValidationError) Key() bool
Key function returns key value.
func (BatchInsertUserReplyValidationError) Reason ¶
func (e BatchInsertUserReplyValidationError) Reason() string
Reason function returns reason value.
type BatchInsertUserReq ¶
type BatchInsertUserReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id List []*UserData `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // 插入的数据 // contains filtered or unexported fields }
批量插入
func (*BatchInsertUserReq) Descriptor
deprecated
func (*BatchInsertUserReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchInsertUserReq.ProtoReflect.Descriptor instead.
func (*BatchInsertUserReq) GetList ¶
func (x *BatchInsertUserReq) GetList() []*UserData
func (*BatchInsertUserReq) GetNodeId ¶
func (x *BatchInsertUserReq) GetNodeId() string
func (*BatchInsertUserReq) ProtoMessage ¶
func (*BatchInsertUserReq) ProtoMessage()
func (*BatchInsertUserReq) ProtoReflect ¶
func (x *BatchInsertUserReq) ProtoReflect() protoreflect.Message
func (*BatchInsertUserReq) Reset ¶
func (x *BatchInsertUserReq) Reset()
func (*BatchInsertUserReq) String ¶
func (x *BatchInsertUserReq) String() string
func (*BatchInsertUserReq) Validate ¶
func (m *BatchInsertUserReq) Validate() error
Validate checks the field values on BatchInsertUserReq 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 (*BatchInsertUserReq) ValidateAll ¶
func (m *BatchInsertUserReq) ValidateAll() error
ValidateAll checks the field values on BatchInsertUserReq 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 BatchInsertUserReqMultiError, or nil if none found.
type BatchInsertUserReqMultiError ¶
type BatchInsertUserReqMultiError []error
BatchInsertUserReqMultiError is an error wrapping multiple validation errors returned by BatchInsertUserReq.ValidateAll() if the designated constraints aren't met.
func (BatchInsertUserReqMultiError) AllErrors ¶
func (m BatchInsertUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchInsertUserReqMultiError) Error ¶
func (m BatchInsertUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchInsertUserReqValidationError ¶
type BatchInsertUserReqValidationError struct {
// contains filtered or unexported fields
}
BatchInsertUserReqValidationError is the validation error returned by BatchInsertUserReq.Validate if the designated constraints aren't met.
func (BatchInsertUserReqValidationError) Cause ¶
func (e BatchInsertUserReqValidationError) Cause() error
Cause function returns cause value.
func (BatchInsertUserReqValidationError) Error ¶
func (e BatchInsertUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (BatchInsertUserReqValidationError) ErrorName ¶
func (e BatchInsertUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (BatchInsertUserReqValidationError) Field ¶
func (e BatchInsertUserReqValidationError) Field() string
Field function returns field value.
func (BatchInsertUserReqValidationError) Key ¶
func (e BatchInsertUserReqValidationError) Key() bool
Key function returns key value.
func (BatchInsertUserReqValidationError) Reason ¶
func (e BatchInsertUserReqValidationError) Reason() string
Reason function returns reason value.
type CancelNodeAccountReply ¶
type CancelNodeAccountReply struct {
// contains filtered or unexported fields
}
func (*CancelNodeAccountReply) Descriptor
deprecated
func (*CancelNodeAccountReply) Descriptor() ([]byte, []int)
Deprecated: Use CancelNodeAccountReply.ProtoReflect.Descriptor instead.
func (*CancelNodeAccountReply) ProtoMessage ¶
func (*CancelNodeAccountReply) ProtoMessage()
func (*CancelNodeAccountReply) ProtoReflect ¶
func (x *CancelNodeAccountReply) ProtoReflect() protoreflect.Message
func (*CancelNodeAccountReply) Reset ¶
func (x *CancelNodeAccountReply) Reset()
func (*CancelNodeAccountReply) String ¶
func (x *CancelNodeAccountReply) String() string
func (*CancelNodeAccountReply) Validate ¶
func (m *CancelNodeAccountReply) Validate() error
Validate checks the field values on CancelNodeAccountReply 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 (*CancelNodeAccountReply) ValidateAll ¶
func (m *CancelNodeAccountReply) ValidateAll() error
ValidateAll checks the field values on CancelNodeAccountReply 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 CancelNodeAccountReplyMultiError, or nil if none found.
type CancelNodeAccountReplyMultiError ¶
type CancelNodeAccountReplyMultiError []error
CancelNodeAccountReplyMultiError is an error wrapping multiple validation errors returned by CancelNodeAccountReply.ValidateAll() if the designated constraints aren't met.
func (CancelNodeAccountReplyMultiError) AllErrors ¶
func (m CancelNodeAccountReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelNodeAccountReplyMultiError) Error ¶
func (m CancelNodeAccountReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelNodeAccountReplyValidationError ¶
type CancelNodeAccountReplyValidationError struct {
// contains filtered or unexported fields
}
CancelNodeAccountReplyValidationError is the validation error returned by CancelNodeAccountReply.Validate if the designated constraints aren't met.
func (CancelNodeAccountReplyValidationError) Cause ¶
func (e CancelNodeAccountReplyValidationError) Cause() error
Cause function returns cause value.
func (CancelNodeAccountReplyValidationError) Error ¶
func (e CancelNodeAccountReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CancelNodeAccountReplyValidationError) ErrorName ¶
func (e CancelNodeAccountReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CancelNodeAccountReplyValidationError) Field ¶
func (e CancelNodeAccountReplyValidationError) Field() string
Field function returns field value.
func (CancelNodeAccountReplyValidationError) Key ¶
func (e CancelNodeAccountReplyValidationError) Key() bool
Key function returns key value.
func (CancelNodeAccountReplyValidationError) Reason ¶
func (e CancelNodeAccountReplyValidationError) Reason() string
Reason function returns reason value.
type CancelNodeAccountReq ¶
type CancelNodeAccountReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID // contains filtered or unexported fields }
注销账号 -------------------------------------------
func (*CancelNodeAccountReq) Descriptor
deprecated
func (*CancelNodeAccountReq) Descriptor() ([]byte, []int)
Deprecated: Use CancelNodeAccountReq.ProtoReflect.Descriptor instead.
func (*CancelNodeAccountReq) GetUserId ¶
func (x *CancelNodeAccountReq) GetUserId() string
func (*CancelNodeAccountReq) ProtoMessage ¶
func (*CancelNodeAccountReq) ProtoMessage()
func (*CancelNodeAccountReq) ProtoReflect ¶
func (x *CancelNodeAccountReq) ProtoReflect() protoreflect.Message
func (*CancelNodeAccountReq) Reset ¶
func (x *CancelNodeAccountReq) Reset()
func (*CancelNodeAccountReq) String ¶
func (x *CancelNodeAccountReq) String() string
func (*CancelNodeAccountReq) Validate ¶
func (m *CancelNodeAccountReq) Validate() error
Validate checks the field values on CancelNodeAccountReq 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 (*CancelNodeAccountReq) ValidateAll ¶
func (m *CancelNodeAccountReq) ValidateAll() error
ValidateAll checks the field values on CancelNodeAccountReq 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 CancelNodeAccountReqMultiError, or nil if none found.
type CancelNodeAccountReqMultiError ¶
type CancelNodeAccountReqMultiError []error
CancelNodeAccountReqMultiError is an error wrapping multiple validation errors returned by CancelNodeAccountReq.ValidateAll() if the designated constraints aren't met.
func (CancelNodeAccountReqMultiError) AllErrors ¶
func (m CancelNodeAccountReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelNodeAccountReqMultiError) Error ¶
func (m CancelNodeAccountReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelNodeAccountReqValidationError ¶
type CancelNodeAccountReqValidationError struct {
// contains filtered or unexported fields
}
CancelNodeAccountReqValidationError is the validation error returned by CancelNodeAccountReq.Validate if the designated constraints aren't met.
func (CancelNodeAccountReqValidationError) Cause ¶
func (e CancelNodeAccountReqValidationError) Cause() error
Cause function returns cause value.
func (CancelNodeAccountReqValidationError) Error ¶
func (e CancelNodeAccountReqValidationError) Error() string
Error satisfies the builtin error interface
func (CancelNodeAccountReqValidationError) ErrorName ¶
func (e CancelNodeAccountReqValidationError) ErrorName() string
ErrorName returns error name.
func (CancelNodeAccountReqValidationError) Field ¶
func (e CancelNodeAccountReqValidationError) Field() string
Field function returns field value.
func (CancelNodeAccountReqValidationError) Key ¶
func (e CancelNodeAccountReqValidationError) Key() bool
Key function returns key value.
func (CancelNodeAccountReqValidationError) Reason ¶
func (e CancelNodeAccountReqValidationError) Reason() string
Reason function returns reason value.
type CreateUserReply ¶
type CreateUserReply struct {
// contains filtered or unexported fields
}
func (*CreateUserReply) Descriptor
deprecated
func (*CreateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.
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 CreateUserReq ¶
type CreateUserReq struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` //账号 AccountType v2.AccountType `protobuf:"varint,2,opt,name=accountType,proto3,enum=api.common.enum.v2.AccountType" json:"accountType,omitempty"` //账号类型 Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // 密码 Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 AreaCode int32 `protobuf:"varint,5,opt,name=areaCode,proto3" json:"areaCode,omitempty"` // 区号 FaceUrl string `protobuf:"bytes,7,opt,name=faceUrl,proto3" json:"faceUrl,omitempty"` // 头像 Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` // 邮箱 Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号 Gender v2.Gender `protobuf:"varint,10,opt,name=gender,proto3,enum=api.common.enum.v2.Gender" json:"gender,omitempty"` // 性别 1,女;2,男 IsGenerate int32 `protobuf:"varint,11,opt,name=isGenerate,proto3" json:"isGenerate,omitempty"` //是否后台生成账号 NodeId string `protobuf:"bytes,12,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id TenantId string `protobuf:"bytes,13,opt,name=tenantId,proto3" json:"tenantId,omitempty"` // 租户id FromUserId string `protobuf:"bytes,14,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"` //来源用户id // contains filtered or unexported fields }
创建用户 -------------------------------------------
func (*CreateUserReq) Descriptor
deprecated
func (*CreateUserReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReq.ProtoReflect.Descriptor instead.
func (*CreateUserReq) GetAccount ¶
func (x *CreateUserReq) GetAccount() string
func (*CreateUserReq) GetAccountType ¶
func (x *CreateUserReq) GetAccountType() v2.AccountType
func (*CreateUserReq) GetAreaCode ¶
func (x *CreateUserReq) GetAreaCode() int32
func (*CreateUserReq) GetEmail ¶
func (x *CreateUserReq) GetEmail() string
func (*CreateUserReq) GetFaceUrl ¶
func (x *CreateUserReq) GetFaceUrl() string
func (*CreateUserReq) GetFromUserId ¶
func (x *CreateUserReq) GetFromUserId() string
func (*CreateUserReq) GetGender ¶
func (x *CreateUserReq) GetGender() v2.Gender
func (*CreateUserReq) GetIsGenerate ¶
func (x *CreateUserReq) GetIsGenerate() int32
func (*CreateUserReq) GetNickname ¶
func (x *CreateUserReq) GetNickname() string
func (*CreateUserReq) GetNodeId ¶
func (x *CreateUserReq) GetNodeId() string
func (*CreateUserReq) GetPassword ¶
func (x *CreateUserReq) GetPassword() string
func (*CreateUserReq) GetPhone ¶
func (x *CreateUserReq) GetPhone() string
func (*CreateUserReq) GetShareCode ¶
func (x *CreateUserReq) GetShareCode() string
func (*CreateUserReq) GetTenantId ¶
func (x *CreateUserReq) GetTenantId() string
func (*CreateUserReq) ProtoMessage ¶
func (*CreateUserReq) ProtoMessage()
func (*CreateUserReq) ProtoReflect ¶
func (x *CreateUserReq) ProtoReflect() protoreflect.Message
func (*CreateUserReq) Reset ¶
func (x *CreateUserReq) Reset()
func (*CreateUserReq) String ¶
func (x *CreateUserReq) String() string
func (*CreateUserReq) Validate ¶
func (m *CreateUserReq) Validate() error
Validate checks the field values on CreateUserReq 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 (*CreateUserReq) ValidateAll ¶
func (m *CreateUserReq) ValidateAll() error
ValidateAll checks the field values on CreateUserReq 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 CreateUserReqMultiError, or nil if none found.
type CreateUserReqMultiError ¶
type CreateUserReqMultiError []error
CreateUserReqMultiError is an error wrapping multiple validation errors returned by CreateUserReq.ValidateAll() if the designated constraints aren't met.
func (CreateUserReqMultiError) AllErrors ¶
func (m CreateUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserReqMultiError) Error ¶
func (m CreateUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserReqValidationError ¶
type CreateUserReqValidationError struct {
// contains filtered or unexported fields
}
CreateUserReqValidationError is the validation error returned by CreateUserReq.Validate if the designated constraints aren't met.
func (CreateUserReqValidationError) Cause ¶
func (e CreateUserReqValidationError) Cause() error
Cause function returns cause value.
func (CreateUserReqValidationError) Error ¶
func (e CreateUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserReqValidationError) ErrorName ¶
func (e CreateUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserReqValidationError) Field ¶
func (e CreateUserReqValidationError) Field() string
Field function returns field value.
func (CreateUserReqValidationError) Key ¶
func (e CreateUserReqValidationError) Key() bool
Key function returns key value.
func (CreateUserReqValidationError) Reason ¶
func (e CreateUserReqValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReply ¶
type DeleteUserReply struct {
// contains filtered or unexported fields
}
func (*DeleteUserReply) Descriptor
deprecated
func (*DeleteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.
func (*DeleteUserReply) ProtoMessage ¶
func (*DeleteUserReply) ProtoMessage()
func (*DeleteUserReply) ProtoReflect ¶
func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
func (*DeleteUserReply) Reset ¶
func (x *DeleteUserReply) Reset()
func (*DeleteUserReply) String ¶
func (x *DeleteUserReply) String() string
func (*DeleteUserReply) Validate ¶
func (m *DeleteUserReply) Validate() error
Validate checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserReply) ValidateAll ¶
func (m *DeleteUserReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReplyMultiError, or nil if none found.
type DeleteUserReplyMultiError ¶
type DeleteUserReplyMultiError []error
DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserReplyMultiError) AllErrors ¶
func (m DeleteUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserReplyMultiError) Error ¶
func (m DeleteUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserReplyValidationError ¶
type DeleteUserReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.
func (DeleteUserReplyValidationError) Cause ¶
func (e DeleteUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserReplyValidationError) Error ¶
func (e DeleteUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserReplyValidationError) ErrorName ¶
func (e DeleteUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserReplyValidationError) Field ¶
func (e DeleteUserReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserReplyValidationError) Key ¶
func (e DeleteUserReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserReplyValidationError) Reason ¶
func (e DeleteUserReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReq ¶
type DeleteUserReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id // contains filtered or unexported fields }
删除用户 -------------------------------------------
func (*DeleteUserReq) Descriptor
deprecated
func (*DeleteUserReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReq.ProtoReflect.Descriptor instead.
func (*DeleteUserReq) GetUserId ¶
func (x *DeleteUserReq) GetUserId() string
func (*DeleteUserReq) ProtoMessage ¶
func (*DeleteUserReq) ProtoMessage()
func (*DeleteUserReq) ProtoReflect ¶
func (x *DeleteUserReq) ProtoReflect() protoreflect.Message
func (*DeleteUserReq) Reset ¶
func (x *DeleteUserReq) Reset()
func (*DeleteUserReq) String ¶
func (x *DeleteUserReq) String() string
func (*DeleteUserReq) Validate ¶
func (m *DeleteUserReq) Validate() error
Validate checks the field values on DeleteUserReq 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 (*DeleteUserReq) ValidateAll ¶
func (m *DeleteUserReq) ValidateAll() error
ValidateAll checks the field values on DeleteUserReq 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 DeleteUserReqMultiError, or nil if none found.
type DeleteUserReqMultiError ¶
type DeleteUserReqMultiError []error
DeleteUserReqMultiError is an error wrapping multiple validation errors returned by DeleteUserReq.ValidateAll() if the designated constraints aren't met.
func (DeleteUserReqMultiError) AllErrors ¶
func (m DeleteUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserReqMultiError) Error ¶
func (m DeleteUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserReqValidationError ¶
type DeleteUserReqValidationError struct {
// contains filtered or unexported fields
}
DeleteUserReqValidationError is the validation error returned by DeleteUserReq.Validate if the designated constraints aren't met.
func (DeleteUserReqValidationError) Cause ¶
func (e DeleteUserReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserReqValidationError) Error ¶
func (e DeleteUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserReqValidationError) ErrorName ¶
func (e DeleteUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserReqValidationError) Field ¶
func (e DeleteUserReqValidationError) Field() string
Field function returns field value.
func (DeleteUserReqValidationError) Key ¶
func (e DeleteUserReqValidationError) Key() bool
Key function returns key value.
func (DeleteUserReqValidationError) Reason ¶
func (e DeleteUserReqValidationError) Reason() string
Reason function returns reason value.
type DistributeUserReply ¶
type DistributeUserReply struct {
// contains filtered or unexported fields
}
func (*DistributeUserReply) Descriptor
deprecated
func (*DistributeUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DistributeUserReply.ProtoReflect.Descriptor instead.
func (*DistributeUserReply) ProtoMessage ¶
func (*DistributeUserReply) ProtoMessage()
func (*DistributeUserReply) ProtoReflect ¶
func (x *DistributeUserReply) ProtoReflect() protoreflect.Message
func (*DistributeUserReply) Reset ¶
func (x *DistributeUserReply) Reset()
func (*DistributeUserReply) String ¶
func (x *DistributeUserReply) String() string
func (*DistributeUserReply) Validate ¶
func (m *DistributeUserReply) Validate() error
Validate checks the field values on DistributeUserReply 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 (*DistributeUserReply) ValidateAll ¶
func (m *DistributeUserReply) ValidateAll() error
ValidateAll checks the field values on DistributeUserReply 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 DistributeUserReplyMultiError, or nil if none found.
type DistributeUserReplyMultiError ¶
type DistributeUserReplyMultiError []error
DistributeUserReplyMultiError is an error wrapping multiple validation errors returned by DistributeUserReply.ValidateAll() if the designated constraints aren't met.
func (DistributeUserReplyMultiError) AllErrors ¶
func (m DistributeUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeUserReplyMultiError) Error ¶
func (m DistributeUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeUserReplyValidationError ¶
type DistributeUserReplyValidationError struct {
// contains filtered or unexported fields
}
DistributeUserReplyValidationError is the validation error returned by DistributeUserReply.Validate if the designated constraints aren't met.
func (DistributeUserReplyValidationError) Cause ¶
func (e DistributeUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DistributeUserReplyValidationError) Error ¶
func (e DistributeUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeUserReplyValidationError) ErrorName ¶
func (e DistributeUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeUserReplyValidationError) Field ¶
func (e DistributeUserReplyValidationError) Field() string
Field function returns field value.
func (DistributeUserReplyValidationError) Key ¶
func (e DistributeUserReplyValidationError) Key() bool
Key function returns key value.
func (DistributeUserReplyValidationError) Reason ¶
func (e DistributeUserReplyValidationError) Reason() string
Reason function returns reason value.
type DistributeUserReq ¶
type DistributeUserReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 用户id Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // 节点code IsJoinDistribute bool `protobuf:"varint,4,opt,name=isJoinDistribute,proto3" json:"isJoinDistribute,omitempty"` // 是否加入社区下发 // contains filtered or unexported fields }
下发用户信息
func (*DistributeUserReq) Descriptor
deprecated
func (*DistributeUserReq) Descriptor() ([]byte, []int)
Deprecated: Use DistributeUserReq.ProtoReflect.Descriptor instead.
func (*DistributeUserReq) GetCode ¶
func (x *DistributeUserReq) GetCode() string
func (*DistributeUserReq) GetIsJoinDistribute ¶
func (x *DistributeUserReq) GetIsJoinDistribute() bool
func (*DistributeUserReq) GetNodeId ¶
func (x *DistributeUserReq) GetNodeId() string
func (*DistributeUserReq) GetUserId ¶
func (x *DistributeUserReq) GetUserId() string
func (*DistributeUserReq) ProtoMessage ¶
func (*DistributeUserReq) ProtoMessage()
func (*DistributeUserReq) ProtoReflect ¶
func (x *DistributeUserReq) ProtoReflect() protoreflect.Message
func (*DistributeUserReq) Reset ¶
func (x *DistributeUserReq) Reset()
func (*DistributeUserReq) String ¶
func (x *DistributeUserReq) String() string
func (*DistributeUserReq) Validate ¶
func (m *DistributeUserReq) Validate() error
Validate checks the field values on DistributeUserReq 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 (*DistributeUserReq) ValidateAll ¶
func (m *DistributeUserReq) ValidateAll() error
ValidateAll checks the field values on DistributeUserReq 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 DistributeUserReqMultiError, or nil if none found.
type DistributeUserReqMultiError ¶
type DistributeUserReqMultiError []error
DistributeUserReqMultiError is an error wrapping multiple validation errors returned by DistributeUserReq.ValidateAll() if the designated constraints aren't met.
func (DistributeUserReqMultiError) AllErrors ¶
func (m DistributeUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeUserReqMultiError) Error ¶
func (m DistributeUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeUserReqValidationError ¶
type DistributeUserReqValidationError struct {
// contains filtered or unexported fields
}
DistributeUserReqValidationError is the validation error returned by DistributeUserReq.Validate if the designated constraints aren't met.
func (DistributeUserReqValidationError) Cause ¶
func (e DistributeUserReqValidationError) Cause() error
Cause function returns cause value.
func (DistributeUserReqValidationError) Error ¶
func (e DistributeUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeUserReqValidationError) ErrorName ¶
func (e DistributeUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeUserReqValidationError) Field ¶
func (e DistributeUserReqValidationError) Field() string
Field function returns field value.
func (DistributeUserReqValidationError) Key ¶
func (e DistributeUserReqValidationError) Key() bool
Key function returns key value.
func (DistributeUserReqValidationError) Reason ¶
func (e DistributeUserReqValidationError) Reason() string
Reason function returns reason value.
type ErrorProfileReason ¶
type ErrorProfileReason int32
const ( // 用户信息未找到 ErrorProfileReason_PROFILE_NOT_FOUND ErrorProfileReason = 0 // 获取数据失败 ErrorProfileReason_GET_DATE ErrorProfileReason = 2 // 编辑用户异常 ErrorProfileReason_FAILED_TO_EDIT_PROFILE ErrorProfileReason = 3 // 手机号不能为空 ErrorProfileReason_PHONE_IS_NOT_EMPTY ErrorProfileReason = 4 // 删除用户信息失败 ErrorProfileReason_FAILED_DELETE_PROFILE ErrorProfileReason = 5 // 历史密码验证失败 ErrorProfileReason_HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL ErrorProfileReason = 6 // 输入邮箱与用户绑定邮箱不一致 ErrorProfileReason_PARAMS_EMAIL_NOT_IS_USER_BIND ErrorProfileReason = 7 // 输入手机与用户绑定手机不一致 ErrorProfileReason_PARAMS_PHONE_NOT_IS_USER_BIND ErrorProfileReason = 8 // 超过批处理的最大数量 ErrorProfileReason_EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY ErrorProfileReason = 9 // 批量导入失败 ErrorProfileReason_BATCH_INSERT_ERROR ErrorProfileReason = 10 // 数据不能为空 ErrorProfileReason_DATA_IS_NOT_EMPTY ErrorProfileReason = 11 // 用户已经实名 ErrorProfileReason_USER_HAS_REAL_NAME ErrorProfileReason = 12 // 身份证好已被他人绑定 ErrorProfileReason_ID_NUMBER_HAS_BEEN_USED ErrorProfileReason = 13 // 实名认证失败 ErrorProfileReason_USER_REAL_NAME_ERR ErrorProfileReason = 14 )
func (ErrorProfileReason) Descriptor ¶
func (ErrorProfileReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorProfileReason) Enum ¶
func (x ErrorProfileReason) Enum() *ErrorProfileReason
func (ErrorProfileReason) EnumDescriptor
deprecated
func (ErrorProfileReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorProfileReason.Descriptor instead.
func (ErrorProfileReason) Number ¶
func (x ErrorProfileReason) Number() protoreflect.EnumNumber
func (ErrorProfileReason) String ¶
func (x ErrorProfileReason) String() string
func (ErrorProfileReason) Type ¶
func (ErrorProfileReason) Type() protoreflect.EnumType
type ErrorReason ¶
type ErrorReason int32
错误
const ( // 为某个枚举单独设置错误码 ErrorReason_ERROR_REASON_PARAMS ErrorReason = 0 // 参数错误 ErrorReason_ERROR_REASON_SYSTEM ErrorReason = 1 // 系统错误 ErrorReason_ERROR_REASON_PASSWORD ErrorReason = 3 // 密码错误 ErrorReason_ERROR_REASON_NAME_IS_EXIST ErrorReason = 4 // 用户名已存在 ErrorReason_ERROR_CREATE_USER ErrorReason = 5 // 创建用户失败 ErrorReason_EMAIL_ALREADY_EXISTS ErrorReason = 6 // 邮箱已被使用 ErrorReason_JOIN_NODE_ERR ErrorReason = 7 //加入社区失败 // 推广码无效 ErrorReason_THIS_SHARE_CODE_IS_INVALID ErrorReason = 8 ErrorReason_USER_ALREADY_JOIN_NODE ErrorReason = 9 ErrorReason_NODE_NOT_FANG ErrorReason = 10 //社区不存在 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type FindProfileByUserReply ¶
type FindProfileByUserReply struct { Data []*UserProfile `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FindProfileByUserReply) Descriptor
deprecated
func (*FindProfileByUserReply) Descriptor() ([]byte, []int)
Deprecated: Use FindProfileByUserReply.ProtoReflect.Descriptor instead.
func (*FindProfileByUserReply) GetData ¶
func (x *FindProfileByUserReply) GetData() []*UserProfile
func (*FindProfileByUserReply) ProtoMessage ¶
func (*FindProfileByUserReply) ProtoMessage()
func (*FindProfileByUserReply) ProtoReflect ¶
func (x *FindProfileByUserReply) ProtoReflect() protoreflect.Message
func (*FindProfileByUserReply) Reset ¶
func (x *FindProfileByUserReply) Reset()
func (*FindProfileByUserReply) String ¶
func (x *FindProfileByUserReply) String() string
func (*FindProfileByUserReply) Validate ¶
func (m *FindProfileByUserReply) Validate() error
Validate checks the field values on FindProfileByUserReply 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 (*FindProfileByUserReply) ValidateAll ¶
func (m *FindProfileByUserReply) ValidateAll() error
ValidateAll checks the field values on FindProfileByUserReply 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 FindProfileByUserReplyMultiError, or nil if none found.
type FindProfileByUserReplyMultiError ¶
type FindProfileByUserReplyMultiError []error
FindProfileByUserReplyMultiError is an error wrapping multiple validation errors returned by FindProfileByUserReply.ValidateAll() if the designated constraints aren't met.
func (FindProfileByUserReplyMultiError) AllErrors ¶
func (m FindProfileByUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindProfileByUserReplyMultiError) Error ¶
func (m FindProfileByUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindProfileByUserReplyValidationError ¶
type FindProfileByUserReplyValidationError struct {
// contains filtered or unexported fields
}
FindProfileByUserReplyValidationError is the validation error returned by FindProfileByUserReply.Validate if the designated constraints aren't met.
func (FindProfileByUserReplyValidationError) Cause ¶
func (e FindProfileByUserReplyValidationError) Cause() error
Cause function returns cause value.
func (FindProfileByUserReplyValidationError) Error ¶
func (e FindProfileByUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindProfileByUserReplyValidationError) ErrorName ¶
func (e FindProfileByUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindProfileByUserReplyValidationError) Field ¶
func (e FindProfileByUserReplyValidationError) Field() string
Field function returns field value.
func (FindProfileByUserReplyValidationError) Key ¶
func (e FindProfileByUserReplyValidationError) Key() bool
Key function returns key value.
func (FindProfileByUserReplyValidationError) Reason ¶
func (e FindProfileByUserReplyValidationError) Reason() string
Reason function returns reason value.
type FindProfileByUserReq ¶
type FindProfileByUserReq struct { UserIds []string `protobuf:"bytes,3,rep,name=userIds,proto3" json:"userIds,omitempty"` // 用户 id 数组 NodeId string `protobuf:"bytes,4,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id // contains filtered or unexported fields }
根据ids获取用户信息
func (*FindProfileByUserReq) Descriptor
deprecated
func (*FindProfileByUserReq) Descriptor() ([]byte, []int)
Deprecated: Use FindProfileByUserReq.ProtoReflect.Descriptor instead.
func (*FindProfileByUserReq) GetNodeId ¶
func (x *FindProfileByUserReq) GetNodeId() string
func (*FindProfileByUserReq) GetUserIds ¶
func (x *FindProfileByUserReq) GetUserIds() []string
func (*FindProfileByUserReq) ProtoMessage ¶
func (*FindProfileByUserReq) ProtoMessage()
func (*FindProfileByUserReq) ProtoReflect ¶
func (x *FindProfileByUserReq) ProtoReflect() protoreflect.Message
func (*FindProfileByUserReq) Reset ¶
func (x *FindProfileByUserReq) Reset()
func (*FindProfileByUserReq) String ¶
func (x *FindProfileByUserReq) String() string
func (*FindProfileByUserReq) Validate ¶
func (m *FindProfileByUserReq) Validate() error
Validate checks the field values on FindProfileByUserReq 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 (*FindProfileByUserReq) ValidateAll ¶
func (m *FindProfileByUserReq) ValidateAll() error
ValidateAll checks the field values on FindProfileByUserReq 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 FindProfileByUserReqMultiError, or nil if none found.
type FindProfileByUserReqMultiError ¶
type FindProfileByUserReqMultiError []error
FindProfileByUserReqMultiError is an error wrapping multiple validation errors returned by FindProfileByUserReq.ValidateAll() if the designated constraints aren't met.
func (FindProfileByUserReqMultiError) AllErrors ¶
func (m FindProfileByUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindProfileByUserReqMultiError) Error ¶
func (m FindProfileByUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindProfileByUserReqValidationError ¶
type FindProfileByUserReqValidationError struct {
// contains filtered or unexported fields
}
FindProfileByUserReqValidationError is the validation error returned by FindProfileByUserReq.Validate if the designated constraints aren't met.
func (FindProfileByUserReqValidationError) Cause ¶
func (e FindProfileByUserReqValidationError) Cause() error
Cause function returns cause value.
func (FindProfileByUserReqValidationError) Error ¶
func (e FindProfileByUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (FindProfileByUserReqValidationError) ErrorName ¶
func (e FindProfileByUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (FindProfileByUserReqValidationError) Field ¶
func (e FindProfileByUserReqValidationError) Field() string
Field function returns field value.
func (FindProfileByUserReqValidationError) Key ¶
func (e FindProfileByUserReqValidationError) Key() bool
Key function returns key value.
func (FindProfileByUserReqValidationError) Reason ¶
func (e FindProfileByUserReqValidationError) Reason() string
Reason function returns reason value.
type GetByAccountReply ¶
type GetByAccountReply struct { Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息 // contains filtered or unexported fields }
func (*GetByAccountReply) Descriptor
deprecated
func (*GetByAccountReply) Descriptor() ([]byte, []int)
Deprecated: Use GetByAccountReply.ProtoReflect.Descriptor instead.
func (*GetByAccountReply) GetProfile ¶
func (x *GetByAccountReply) GetProfile() *UserProfile
func (*GetByAccountReply) ProtoMessage ¶
func (*GetByAccountReply) ProtoMessage()
func (*GetByAccountReply) ProtoReflect ¶
func (x *GetByAccountReply) ProtoReflect() protoreflect.Message
func (*GetByAccountReply) Reset ¶
func (x *GetByAccountReply) Reset()
func (*GetByAccountReply) String ¶
func (x *GetByAccountReply) String() string
func (*GetByAccountReply) Validate ¶
func (m *GetByAccountReply) Validate() error
Validate checks the field values on GetByAccountReply 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 (*GetByAccountReply) ValidateAll ¶
func (m *GetByAccountReply) ValidateAll() error
ValidateAll checks the field values on GetByAccountReply 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 GetByAccountReplyMultiError, or nil if none found.
type GetByAccountReplyMultiError ¶
type GetByAccountReplyMultiError []error
GetByAccountReplyMultiError is an error wrapping multiple validation errors returned by GetByAccountReply.ValidateAll() if the designated constraints aren't met.
func (GetByAccountReplyMultiError) AllErrors ¶
func (m GetByAccountReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByAccountReplyMultiError) Error ¶
func (m GetByAccountReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByAccountReplyValidationError ¶
type GetByAccountReplyValidationError struct {
// contains filtered or unexported fields
}
GetByAccountReplyValidationError is the validation error returned by GetByAccountReply.Validate if the designated constraints aren't met.
func (GetByAccountReplyValidationError) Cause ¶
func (e GetByAccountReplyValidationError) Cause() error
Cause function returns cause value.
func (GetByAccountReplyValidationError) Error ¶
func (e GetByAccountReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetByAccountReplyValidationError) ErrorName ¶
func (e GetByAccountReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetByAccountReplyValidationError) Field ¶
func (e GetByAccountReplyValidationError) Field() string
Field function returns field value.
func (GetByAccountReplyValidationError) Key ¶
func (e GetByAccountReplyValidationError) Key() bool
Key function returns key value.
func (GetByAccountReplyValidationError) Reason ¶
func (e GetByAccountReplyValidationError) Reason() string
Reason function returns reason value.
type GetByAccountReq ¶
type GetByAccountReq struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` //账号 // contains filtered or unexported fields }
根据账号获取用户信息 -------------------------------------------
func (*GetByAccountReq) Descriptor
deprecated
func (*GetByAccountReq) Descriptor() ([]byte, []int)
Deprecated: Use GetByAccountReq.ProtoReflect.Descriptor instead.
func (*GetByAccountReq) GetAccount ¶
func (x *GetByAccountReq) GetAccount() string
func (*GetByAccountReq) ProtoMessage ¶
func (*GetByAccountReq) ProtoMessage()
func (*GetByAccountReq) ProtoReflect ¶
func (x *GetByAccountReq) ProtoReflect() protoreflect.Message
func (*GetByAccountReq) Reset ¶
func (x *GetByAccountReq) Reset()
func (*GetByAccountReq) String ¶
func (x *GetByAccountReq) String() string
func (*GetByAccountReq) Validate ¶
func (m *GetByAccountReq) Validate() error
Validate checks the field values on GetByAccountReq 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 (*GetByAccountReq) ValidateAll ¶
func (m *GetByAccountReq) ValidateAll() error
ValidateAll checks the field values on GetByAccountReq 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 GetByAccountReqMultiError, or nil if none found.
type GetByAccountReqMultiError ¶
type GetByAccountReqMultiError []error
GetByAccountReqMultiError is an error wrapping multiple validation errors returned by GetByAccountReq.ValidateAll() if the designated constraints aren't met.
func (GetByAccountReqMultiError) AllErrors ¶
func (m GetByAccountReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByAccountReqMultiError) Error ¶
func (m GetByAccountReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByAccountReqValidationError ¶
type GetByAccountReqValidationError struct {
// contains filtered or unexported fields
}
GetByAccountReqValidationError is the validation error returned by GetByAccountReq.Validate if the designated constraints aren't met.
func (GetByAccountReqValidationError) Cause ¶
func (e GetByAccountReqValidationError) Cause() error
Cause function returns cause value.
func (GetByAccountReqValidationError) Error ¶
func (e GetByAccountReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetByAccountReqValidationError) ErrorName ¶
func (e GetByAccountReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetByAccountReqValidationError) Field ¶
func (e GetByAccountReqValidationError) Field() string
Field function returns field value.
func (GetByAccountReqValidationError) Key ¶
func (e GetByAccountReqValidationError) Key() bool
Key function returns key value.
func (GetByAccountReqValidationError) Reason ¶
func (e GetByAccountReqValidationError) Reason() string
Reason function returns reason value.
type GetByCodeReply ¶
type GetByCodeReply struct { Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息 // contains filtered or unexported fields }
func (*GetByCodeReply) Descriptor
deprecated
func (*GetByCodeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetByCodeReply.ProtoReflect.Descriptor instead.
func (*GetByCodeReply) GetProfile ¶
func (x *GetByCodeReply) GetProfile() *UserProfile
func (*GetByCodeReply) ProtoMessage ¶
func (*GetByCodeReply) ProtoMessage()
func (*GetByCodeReply) ProtoReflect ¶
func (x *GetByCodeReply) ProtoReflect() protoreflect.Message
func (*GetByCodeReply) Reset ¶
func (x *GetByCodeReply) Reset()
func (*GetByCodeReply) String ¶
func (x *GetByCodeReply) String() string
func (*GetByCodeReply) Validate ¶
func (m *GetByCodeReply) Validate() error
Validate checks the field values on GetByCodeReply 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 (*GetByCodeReply) ValidateAll ¶
func (m *GetByCodeReply) ValidateAll() error
ValidateAll checks the field values on GetByCodeReply 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 GetByCodeReplyMultiError, or nil if none found.
type GetByCodeReplyMultiError ¶
type GetByCodeReplyMultiError []error
GetByCodeReplyMultiError is an error wrapping multiple validation errors returned by GetByCodeReply.ValidateAll() if the designated constraints aren't met.
func (GetByCodeReplyMultiError) AllErrors ¶
func (m GetByCodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByCodeReplyMultiError) Error ¶
func (m GetByCodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByCodeReplyValidationError ¶
type GetByCodeReplyValidationError struct {
// contains filtered or unexported fields
}
GetByCodeReplyValidationError is the validation error returned by GetByCodeReply.Validate if the designated constraints aren't met.
func (GetByCodeReplyValidationError) Cause ¶
func (e GetByCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetByCodeReplyValidationError) Error ¶
func (e GetByCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetByCodeReplyValidationError) ErrorName ¶
func (e GetByCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetByCodeReplyValidationError) Field ¶
func (e GetByCodeReplyValidationError) Field() string
Field function returns field value.
func (GetByCodeReplyValidationError) Key ¶
func (e GetByCodeReplyValidationError) Key() bool
Key function returns key value.
func (GetByCodeReplyValidationError) Reason ¶
func (e GetByCodeReplyValidationError) Reason() string
Reason function returns reason value.
type GetByCodeReq ¶
type GetByCodeReq struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //编码 // contains filtered or unexported fields }
根据邮箱获取用户信息 -------------------------------------------
func (*GetByCodeReq) Descriptor
deprecated
func (*GetByCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use GetByCodeReq.ProtoReflect.Descriptor instead.
func (*GetByCodeReq) GetCode ¶
func (x *GetByCodeReq) GetCode() string
func (*GetByCodeReq) ProtoMessage ¶
func (*GetByCodeReq) ProtoMessage()
func (*GetByCodeReq) ProtoReflect ¶
func (x *GetByCodeReq) ProtoReflect() protoreflect.Message
func (*GetByCodeReq) Reset ¶
func (x *GetByCodeReq) Reset()
func (*GetByCodeReq) String ¶
func (x *GetByCodeReq) String() string
func (*GetByCodeReq) Validate ¶
func (m *GetByCodeReq) Validate() error
Validate checks the field values on GetByCodeReq 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 (*GetByCodeReq) ValidateAll ¶
func (m *GetByCodeReq) ValidateAll() error
ValidateAll checks the field values on GetByCodeReq 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 GetByCodeReqMultiError, or nil if none found.
type GetByCodeReqMultiError ¶
type GetByCodeReqMultiError []error
GetByCodeReqMultiError is an error wrapping multiple validation errors returned by GetByCodeReq.ValidateAll() if the designated constraints aren't met.
func (GetByCodeReqMultiError) AllErrors ¶
func (m GetByCodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByCodeReqMultiError) Error ¶
func (m GetByCodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByCodeReqValidationError ¶
type GetByCodeReqValidationError struct {
// contains filtered or unexported fields
}
GetByCodeReqValidationError is the validation error returned by GetByCodeReq.Validate if the designated constraints aren't met.
func (GetByCodeReqValidationError) Cause ¶
func (e GetByCodeReqValidationError) Cause() error
Cause function returns cause value.
func (GetByCodeReqValidationError) Error ¶
func (e GetByCodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetByCodeReqValidationError) ErrorName ¶
func (e GetByCodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetByCodeReqValidationError) Field ¶
func (e GetByCodeReqValidationError) Field() string
Field function returns field value.
func (GetByCodeReqValidationError) Key ¶
func (e GetByCodeReqValidationError) Key() bool
Key function returns key value.
func (GetByCodeReqValidationError) Reason ¶
func (e GetByCodeReqValidationError) Reason() string
Reason function returns reason value.
type GetByEmailReply ¶
type GetByEmailReply struct { Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息 // contains filtered or unexported fields }
func (*GetByEmailReply) Descriptor
deprecated
func (*GetByEmailReply) Descriptor() ([]byte, []int)
Deprecated: Use GetByEmailReply.ProtoReflect.Descriptor instead.
func (*GetByEmailReply) GetProfile ¶
func (x *GetByEmailReply) GetProfile() *UserProfile
func (*GetByEmailReply) ProtoMessage ¶
func (*GetByEmailReply) ProtoMessage()
func (*GetByEmailReply) ProtoReflect ¶
func (x *GetByEmailReply) ProtoReflect() protoreflect.Message
func (*GetByEmailReply) Reset ¶
func (x *GetByEmailReply) Reset()
func (*GetByEmailReply) String ¶
func (x *GetByEmailReply) String() string
func (*GetByEmailReply) Validate ¶
func (m *GetByEmailReply) Validate() error
Validate checks the field values on GetByEmailReply 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 (*GetByEmailReply) ValidateAll ¶
func (m *GetByEmailReply) ValidateAll() error
ValidateAll checks the field values on GetByEmailReply 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 GetByEmailReplyMultiError, or nil if none found.
type GetByEmailReplyMultiError ¶
type GetByEmailReplyMultiError []error
GetByEmailReplyMultiError is an error wrapping multiple validation errors returned by GetByEmailReply.ValidateAll() if the designated constraints aren't met.
func (GetByEmailReplyMultiError) AllErrors ¶
func (m GetByEmailReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByEmailReplyMultiError) Error ¶
func (m GetByEmailReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByEmailReplyValidationError ¶
type GetByEmailReplyValidationError struct {
// contains filtered or unexported fields
}
GetByEmailReplyValidationError is the validation error returned by GetByEmailReply.Validate if the designated constraints aren't met.
func (GetByEmailReplyValidationError) Cause ¶
func (e GetByEmailReplyValidationError) Cause() error
Cause function returns cause value.
func (GetByEmailReplyValidationError) Error ¶
func (e GetByEmailReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetByEmailReplyValidationError) ErrorName ¶
func (e GetByEmailReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetByEmailReplyValidationError) Field ¶
func (e GetByEmailReplyValidationError) Field() string
Field function returns field value.
func (GetByEmailReplyValidationError) Key ¶
func (e GetByEmailReplyValidationError) Key() bool
Key function returns key value.
func (GetByEmailReplyValidationError) Reason ¶
func (e GetByEmailReplyValidationError) Reason() string
Reason function returns reason value.
type GetByEmailReq ¶
type GetByEmailReq struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` //手机号 // contains filtered or unexported fields }
根据邮箱获取用户信息 -------------------------------------------
func (*GetByEmailReq) Descriptor
deprecated
func (*GetByEmailReq) Descriptor() ([]byte, []int)
Deprecated: Use GetByEmailReq.ProtoReflect.Descriptor instead.
func (*GetByEmailReq) GetEmail ¶
func (x *GetByEmailReq) GetEmail() string
func (*GetByEmailReq) ProtoMessage ¶
func (*GetByEmailReq) ProtoMessage()
func (*GetByEmailReq) ProtoReflect ¶
func (x *GetByEmailReq) ProtoReflect() protoreflect.Message
func (*GetByEmailReq) Reset ¶
func (x *GetByEmailReq) Reset()
func (*GetByEmailReq) String ¶
func (x *GetByEmailReq) String() string
func (*GetByEmailReq) Validate ¶
func (m *GetByEmailReq) Validate() error
Validate checks the field values on GetByEmailReq 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 (*GetByEmailReq) ValidateAll ¶
func (m *GetByEmailReq) ValidateAll() error
ValidateAll checks the field values on GetByEmailReq 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 GetByEmailReqMultiError, or nil if none found.
type GetByEmailReqMultiError ¶
type GetByEmailReqMultiError []error
GetByEmailReqMultiError is an error wrapping multiple validation errors returned by GetByEmailReq.ValidateAll() if the designated constraints aren't met.
func (GetByEmailReqMultiError) AllErrors ¶
func (m GetByEmailReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByEmailReqMultiError) Error ¶
func (m GetByEmailReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByEmailReqValidationError ¶
type GetByEmailReqValidationError struct {
// contains filtered or unexported fields
}
GetByEmailReqValidationError is the validation error returned by GetByEmailReq.Validate if the designated constraints aren't met.
func (GetByEmailReqValidationError) Cause ¶
func (e GetByEmailReqValidationError) Cause() error
Cause function returns cause value.
func (GetByEmailReqValidationError) Error ¶
func (e GetByEmailReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetByEmailReqValidationError) ErrorName ¶
func (e GetByEmailReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetByEmailReqValidationError) Field ¶
func (e GetByEmailReqValidationError) Field() string
Field function returns field value.
func (GetByEmailReqValidationError) Key ¶
func (e GetByEmailReqValidationError) Key() bool
Key function returns key value.
func (GetByEmailReqValidationError) Reason ¶
func (e GetByEmailReqValidationError) Reason() string
Reason function returns reason value.
type GetByPhoneReply ¶
type GetByPhoneReply struct { Profiles []*UserProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` //用户信息 // contains filtered or unexported fields }
func (*GetByPhoneReply) Descriptor
deprecated
func (*GetByPhoneReply) Descriptor() ([]byte, []int)
Deprecated: Use GetByPhoneReply.ProtoReflect.Descriptor instead.
func (*GetByPhoneReply) GetProfiles ¶
func (x *GetByPhoneReply) GetProfiles() []*UserProfile
func (*GetByPhoneReply) ProtoMessage ¶
func (*GetByPhoneReply) ProtoMessage()
func (*GetByPhoneReply) ProtoReflect ¶
func (x *GetByPhoneReply) ProtoReflect() protoreflect.Message
func (*GetByPhoneReply) Reset ¶
func (x *GetByPhoneReply) Reset()
func (*GetByPhoneReply) String ¶
func (x *GetByPhoneReply) String() string
func (*GetByPhoneReply) Validate ¶
func (m *GetByPhoneReply) Validate() error
Validate checks the field values on GetByPhoneReply 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 (*GetByPhoneReply) ValidateAll ¶
func (m *GetByPhoneReply) ValidateAll() error
ValidateAll checks the field values on GetByPhoneReply 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 GetByPhoneReplyMultiError, or nil if none found.
type GetByPhoneReplyMultiError ¶
type GetByPhoneReplyMultiError []error
GetByPhoneReplyMultiError is an error wrapping multiple validation errors returned by GetByPhoneReply.ValidateAll() if the designated constraints aren't met.
func (GetByPhoneReplyMultiError) AllErrors ¶
func (m GetByPhoneReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByPhoneReplyMultiError) Error ¶
func (m GetByPhoneReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByPhoneReplyValidationError ¶
type GetByPhoneReplyValidationError struct {
// contains filtered or unexported fields
}
GetByPhoneReplyValidationError is the validation error returned by GetByPhoneReply.Validate if the designated constraints aren't met.
func (GetByPhoneReplyValidationError) Cause ¶
func (e GetByPhoneReplyValidationError) Cause() error
Cause function returns cause value.
func (GetByPhoneReplyValidationError) Error ¶
func (e GetByPhoneReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetByPhoneReplyValidationError) ErrorName ¶
func (e GetByPhoneReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetByPhoneReplyValidationError) Field ¶
func (e GetByPhoneReplyValidationError) Field() string
Field function returns field value.
func (GetByPhoneReplyValidationError) Key ¶
func (e GetByPhoneReplyValidationError) Key() bool
Key function returns key value.
func (GetByPhoneReplyValidationError) Reason ¶
func (e GetByPhoneReplyValidationError) Reason() string
Reason function returns reason value.
type GetByPhoneReq ¶
type GetByPhoneReq struct { Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 // contains filtered or unexported fields }
根据手机号获取用户信息 -------------------------------------------
func (*GetByPhoneReq) Descriptor
deprecated
func (*GetByPhoneReq) Descriptor() ([]byte, []int)
Deprecated: Use GetByPhoneReq.ProtoReflect.Descriptor instead.
func (*GetByPhoneReq) GetPhone ¶
func (x *GetByPhoneReq) GetPhone() string
func (*GetByPhoneReq) ProtoMessage ¶
func (*GetByPhoneReq) ProtoMessage()
func (*GetByPhoneReq) ProtoReflect ¶
func (x *GetByPhoneReq) ProtoReflect() protoreflect.Message
func (*GetByPhoneReq) Reset ¶
func (x *GetByPhoneReq) Reset()
func (*GetByPhoneReq) String ¶
func (x *GetByPhoneReq) String() string
func (*GetByPhoneReq) Validate ¶
func (m *GetByPhoneReq) Validate() error
Validate checks the field values on GetByPhoneReq 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 (*GetByPhoneReq) ValidateAll ¶
func (m *GetByPhoneReq) ValidateAll() error
ValidateAll checks the field values on GetByPhoneReq 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 GetByPhoneReqMultiError, or nil if none found.
type GetByPhoneReqMultiError ¶
type GetByPhoneReqMultiError []error
GetByPhoneReqMultiError is an error wrapping multiple validation errors returned by GetByPhoneReq.ValidateAll() if the designated constraints aren't met.
func (GetByPhoneReqMultiError) AllErrors ¶
func (m GetByPhoneReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByPhoneReqMultiError) Error ¶
func (m GetByPhoneReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByPhoneReqValidationError ¶
type GetByPhoneReqValidationError struct {
// contains filtered or unexported fields
}
GetByPhoneReqValidationError is the validation error returned by GetByPhoneReq.Validate if the designated constraints aren't met.
func (GetByPhoneReqValidationError) Cause ¶
func (e GetByPhoneReqValidationError) Cause() error
Cause function returns cause value.
func (GetByPhoneReqValidationError) Error ¶
func (e GetByPhoneReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetByPhoneReqValidationError) ErrorName ¶
func (e GetByPhoneReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetByPhoneReqValidationError) Field ¶
func (e GetByPhoneReqValidationError) Field() string
Field function returns field value.
func (GetByPhoneReqValidationError) Key ¶
func (e GetByPhoneReqValidationError) Key() bool
Key function returns key value.
func (GetByPhoneReqValidationError) Reason ¶
func (e GetByPhoneReqValidationError) Reason() string
Reason function returns reason value.
type GetListReply ¶
type GetListReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetListReply) Descriptor
deprecated
func (*GetListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetListReply.ProtoReflect.Descriptor instead.
func (*GetListReply) GetList ¶
func (x *GetListReply) GetList() []*UserProfile
func (*GetListReply) GetTotal ¶
func (x *GetListReply) GetTotal() int64
func (*GetListReply) ProtoMessage ¶
func (*GetListReply) ProtoMessage()
func (*GetListReply) ProtoReflect ¶
func (x *GetListReply) ProtoReflect() protoreflect.Message
func (*GetListReply) Reset ¶
func (x *GetListReply) Reset()
func (*GetListReply) String ¶
func (x *GetListReply) String() string
func (*GetListReply) Validate ¶
func (m *GetListReply) Validate() error
Validate checks the field values on GetListReply 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 (*GetListReply) ValidateAll ¶
func (m *GetListReply) ValidateAll() error
ValidateAll checks the field values on GetListReply 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 GetListReplyMultiError, or nil if none found.
type GetListReplyMultiError ¶
type GetListReplyMultiError []error
GetListReplyMultiError is an error wrapping multiple validation errors returned by GetListReply.ValidateAll() if the designated constraints aren't met.
func (GetListReplyMultiError) AllErrors ¶
func (m GetListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListReplyMultiError) Error ¶
func (m GetListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListReplyValidationError ¶
type GetListReplyValidationError struct {
// contains filtered or unexported fields
}
GetListReplyValidationError is the validation error returned by GetListReply.Validate if the designated constraints aren't met.
func (GetListReplyValidationError) Cause ¶
func (e GetListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetListReplyValidationError) Error ¶
func (e GetListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetListReplyValidationError) ErrorName ¶
func (e GetListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetListReplyValidationError) Field ¶
func (e GetListReplyValidationError) Field() string
Field function returns field value.
func (GetListReplyValidationError) Key ¶
func (e GetListReplyValidationError) Key() bool
Key function returns key value.
func (GetListReplyValidationError) Reason ¶
func (e GetListReplyValidationError) Reason() string
Reason function returns reason value.
type GetListReq ¶
type GetListReq struct { Page *v21.Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息 Nickname *string `protobuf:"bytes,2,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` // 昵称 Account *string `protobuf:"bytes,3,opt,name=account,proto3,oneof" json:"account,omitempty"` // 账号 Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` // 用户code 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"` // 邮箱 FullName *string `protobuf:"bytes,7,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"` // 真实名称 PersonId *string `protobuf:"bytes,8,opt,name=personId,proto3,oneof" json:"personId,omitempty"` // 身份证号 // contains filtered or unexported fields }
获取用户列表
func (*GetListReq) Descriptor
deprecated
func (*GetListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetListReq.ProtoReflect.Descriptor instead.
func (*GetListReq) GetAccount ¶
func (x *GetListReq) GetAccount() string
func (*GetListReq) GetCode ¶
func (x *GetListReq) GetCode() string
func (*GetListReq) GetEmail ¶
func (x *GetListReq) GetEmail() string
func (*GetListReq) GetFullName ¶
func (x *GetListReq) GetFullName() string
func (*GetListReq) GetNickname ¶
func (x *GetListReq) GetNickname() string
func (*GetListReq) GetPage ¶
func (x *GetListReq) GetPage() *v21.Pagination
func (*GetListReq) GetPersonId ¶
func (x *GetListReq) GetPersonId() string
func (*GetListReq) GetPhone ¶
func (x *GetListReq) GetPhone() string
func (*GetListReq) ProtoMessage ¶
func (*GetListReq) ProtoMessage()
func (*GetListReq) ProtoReflect ¶
func (x *GetListReq) ProtoReflect() protoreflect.Message
func (*GetListReq) Reset ¶
func (x *GetListReq) Reset()
func (*GetListReq) String ¶
func (x *GetListReq) String() string
func (*GetListReq) Validate ¶
func (m *GetListReq) Validate() error
Validate checks the field values on GetListReq 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 (*GetListReq) ValidateAll ¶
func (m *GetListReq) ValidateAll() error
ValidateAll checks the field values on GetListReq 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 GetListReqMultiError, or nil if none found.
type GetListReqMultiError ¶
type GetListReqMultiError []error
GetListReqMultiError is an error wrapping multiple validation errors returned by GetListReq.ValidateAll() if the designated constraints aren't met.
func (GetListReqMultiError) AllErrors ¶
func (m GetListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListReqMultiError) Error ¶
func (m GetListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListReqValidationError ¶
type GetListReqValidationError struct {
// contains filtered or unexported fields
}
GetListReqValidationError is the validation error returned by GetListReq.Validate if the designated constraints aren't met.
func (GetListReqValidationError) Cause ¶
func (e GetListReqValidationError) Cause() error
Cause function returns cause value.
func (GetListReqValidationError) Error ¶
func (e GetListReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetListReqValidationError) ErrorName ¶
func (e GetListReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetListReqValidationError) Field ¶
func (e GetListReqValidationError) Field() string
Field function returns field value.
func (GetListReqValidationError) Key ¶
func (e GetListReqValidationError) Key() bool
Key function returns key value.
func (GetListReqValidationError) Reason ¶
func (e GetListReqValidationError) Reason() string
Reason function returns reason value.
type GetNodeInfoByUserIdReply ¶
type GetNodeInfoByUserIdReply struct { UserNodes []*UserNode `protobuf:"bytes,1,rep,name=userNodes,proto3" json:"userNodes,omitempty"` // 用户所在的节点 // contains filtered or unexported fields }
func (*GetNodeInfoByUserIdReply) Descriptor
deprecated
func (*GetNodeInfoByUserIdReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoByUserIdReply.ProtoReflect.Descriptor instead.
func (*GetNodeInfoByUserIdReply) GetUserNodes ¶
func (x *GetNodeInfoByUserIdReply) GetUserNodes() []*UserNode
func (*GetNodeInfoByUserIdReply) ProtoMessage ¶
func (*GetNodeInfoByUserIdReply) ProtoMessage()
func (*GetNodeInfoByUserIdReply) ProtoReflect ¶
func (x *GetNodeInfoByUserIdReply) ProtoReflect() protoreflect.Message
func (*GetNodeInfoByUserIdReply) Reset ¶
func (x *GetNodeInfoByUserIdReply) Reset()
func (*GetNodeInfoByUserIdReply) String ¶
func (x *GetNodeInfoByUserIdReply) String() string
func (*GetNodeInfoByUserIdReply) Validate ¶
func (m *GetNodeInfoByUserIdReply) Validate() error
Validate checks the field values on GetNodeInfoByUserIdReply 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 (*GetNodeInfoByUserIdReply) ValidateAll ¶
func (m *GetNodeInfoByUserIdReply) ValidateAll() error
ValidateAll checks the field values on GetNodeInfoByUserIdReply 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 GetNodeInfoByUserIdReplyMultiError, or nil if none found.
type GetNodeInfoByUserIdReplyMultiError ¶
type GetNodeInfoByUserIdReplyMultiError []error
GetNodeInfoByUserIdReplyMultiError is an error wrapping multiple validation errors returned by GetNodeInfoByUserIdReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeInfoByUserIdReplyMultiError) AllErrors ¶
func (m GetNodeInfoByUserIdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeInfoByUserIdReplyMultiError) Error ¶
func (m GetNodeInfoByUserIdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeInfoByUserIdReplyValidationError ¶
type GetNodeInfoByUserIdReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeInfoByUserIdReplyValidationError is the validation error returned by GetNodeInfoByUserIdReply.Validate if the designated constraints aren't met.
func (GetNodeInfoByUserIdReplyValidationError) Cause ¶
func (e GetNodeInfoByUserIdReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeInfoByUserIdReplyValidationError) Error ¶
func (e GetNodeInfoByUserIdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeInfoByUserIdReplyValidationError) ErrorName ¶
func (e GetNodeInfoByUserIdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeInfoByUserIdReplyValidationError) Field ¶
func (e GetNodeInfoByUserIdReplyValidationError) Field() string
Field function returns field value.
func (GetNodeInfoByUserIdReplyValidationError) Key ¶
func (e GetNodeInfoByUserIdReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeInfoByUserIdReplyValidationError) Reason ¶
func (e GetNodeInfoByUserIdReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeInfoByUserIdReq ¶
type GetNodeInfoByUserIdReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id // contains filtered or unexported fields }
func (*GetNodeInfoByUserIdReq) Descriptor
deprecated
func (*GetNodeInfoByUserIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoByUserIdReq.ProtoReflect.Descriptor instead.
func (*GetNodeInfoByUserIdReq) GetUserId ¶
func (x *GetNodeInfoByUserIdReq) GetUserId() string
func (*GetNodeInfoByUserIdReq) ProtoMessage ¶
func (*GetNodeInfoByUserIdReq) ProtoMessage()
func (*GetNodeInfoByUserIdReq) ProtoReflect ¶
func (x *GetNodeInfoByUserIdReq) ProtoReflect() protoreflect.Message
func (*GetNodeInfoByUserIdReq) Reset ¶
func (x *GetNodeInfoByUserIdReq) Reset()
func (*GetNodeInfoByUserIdReq) String ¶
func (x *GetNodeInfoByUserIdReq) String() string
func (*GetNodeInfoByUserIdReq) Validate ¶
func (m *GetNodeInfoByUserIdReq) Validate() error
Validate checks the field values on GetNodeInfoByUserIdReq 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 (*GetNodeInfoByUserIdReq) ValidateAll ¶
func (m *GetNodeInfoByUserIdReq) ValidateAll() error
ValidateAll checks the field values on GetNodeInfoByUserIdReq 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 GetNodeInfoByUserIdReqMultiError, or nil if none found.
type GetNodeInfoByUserIdReqMultiError ¶
type GetNodeInfoByUserIdReqMultiError []error
GetNodeInfoByUserIdReqMultiError is an error wrapping multiple validation errors returned by GetNodeInfoByUserIdReq.ValidateAll() if the designated constraints aren't met.
func (GetNodeInfoByUserIdReqMultiError) AllErrors ¶
func (m GetNodeInfoByUserIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeInfoByUserIdReqMultiError) Error ¶
func (m GetNodeInfoByUserIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeInfoByUserIdReqValidationError ¶
type GetNodeInfoByUserIdReqValidationError struct {
// contains filtered or unexported fields
}
GetNodeInfoByUserIdReqValidationError is the validation error returned by GetNodeInfoByUserIdReq.Validate if the designated constraints aren't met.
func (GetNodeInfoByUserIdReqValidationError) Cause ¶
func (e GetNodeInfoByUserIdReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodeInfoByUserIdReqValidationError) Error ¶
func (e GetNodeInfoByUserIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeInfoByUserIdReqValidationError) ErrorName ¶
func (e GetNodeInfoByUserIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeInfoByUserIdReqValidationError) Field ¶
func (e GetNodeInfoByUserIdReqValidationError) Field() string
Field function returns field value.
func (GetNodeInfoByUserIdReqValidationError) Key ¶
func (e GetNodeInfoByUserIdReqValidationError) Key() bool
Key function returns key value.
func (GetNodeInfoByUserIdReqValidationError) Reason ¶
func (e GetNodeInfoByUserIdReqValidationError) Reason() string
Reason function returns reason value.
type GetProfileReply ¶
type GetProfileReply struct { Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*GetProfileReply) Descriptor
deprecated
func (*GetProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileReply.ProtoReflect.Descriptor instead.
func (*GetProfileReply) GetProfile ¶
func (x *GetProfileReply) GetProfile() *UserProfile
func (*GetProfileReply) ProtoMessage ¶
func (*GetProfileReply) ProtoMessage()
func (*GetProfileReply) ProtoReflect ¶
func (x *GetProfileReply) ProtoReflect() protoreflect.Message
func (*GetProfileReply) Reset ¶
func (x *GetProfileReply) Reset()
func (*GetProfileReply) String ¶
func (x *GetProfileReply) String() string
func (*GetProfileReply) Validate ¶
func (m *GetProfileReply) Validate() error
Validate checks the field values on GetProfileReply 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 (*GetProfileReply) ValidateAll ¶
func (m *GetProfileReply) ValidateAll() error
ValidateAll checks the field values on GetProfileReply 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 GetProfileReplyMultiError, or nil if none found.
type GetProfileReplyMultiError ¶
type GetProfileReplyMultiError []error
GetProfileReplyMultiError is an error wrapping multiple validation errors returned by GetProfileReply.ValidateAll() if the designated constraints aren't met.
func (GetProfileReplyMultiError) AllErrors ¶
func (m GetProfileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileReplyMultiError) Error ¶
func (m GetProfileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileReplyValidationError ¶
type GetProfileReplyValidationError struct {
// contains filtered or unexported fields
}
GetProfileReplyValidationError is the validation error returned by GetProfileReply.Validate if the designated constraints aren't met.
func (GetProfileReplyValidationError) Cause ¶
func (e GetProfileReplyValidationError) Cause() error
Cause function returns cause value.
func (GetProfileReplyValidationError) Error ¶
func (e GetProfileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileReplyValidationError) ErrorName ¶
func (e GetProfileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileReplyValidationError) Field ¶
func (e GetProfileReplyValidationError) Field() string
Field function returns field value.
func (GetProfileReplyValidationError) Key ¶
func (e GetProfileReplyValidationError) Key() bool
Key function returns key value.
func (GetProfileReplyValidationError) Reason ¶
func (e GetProfileReplyValidationError) Reason() string
Reason function returns reason value.
type GetProfileReq ¶
type GetProfileReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id SelectStr []string `protobuf:"bytes,2,rep,name=selectStr,proto3" json:"selectStr,omitempty"` // 目标字段的数组 // contains filtered or unexported fields }
获取用户信息
func (*GetProfileReq) Descriptor
deprecated
func (*GetProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileReq.ProtoReflect.Descriptor instead.
func (*GetProfileReq) GetSelectStr ¶
func (x *GetProfileReq) GetSelectStr() []string
func (*GetProfileReq) GetUserId ¶
func (x *GetProfileReq) GetUserId() string
func (*GetProfileReq) ProtoMessage ¶
func (*GetProfileReq) ProtoMessage()
func (*GetProfileReq) ProtoReflect ¶
func (x *GetProfileReq) ProtoReflect() protoreflect.Message
func (*GetProfileReq) Reset ¶
func (x *GetProfileReq) Reset()
func (*GetProfileReq) String ¶
func (x *GetProfileReq) String() string
func (*GetProfileReq) Validate ¶
func (m *GetProfileReq) Validate() error
Validate checks the field values on GetProfileReq 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 (*GetProfileReq) ValidateAll ¶
func (m *GetProfileReq) ValidateAll() error
ValidateAll checks the field values on GetProfileReq 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 GetProfileReqMultiError, or nil if none found.
type GetProfileReqMultiError ¶
type GetProfileReqMultiError []error
GetProfileReqMultiError is an error wrapping multiple validation errors returned by GetProfileReq.ValidateAll() if the designated constraints aren't met.
func (GetProfileReqMultiError) AllErrors ¶
func (m GetProfileReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProfileReqMultiError) Error ¶
func (m GetProfileReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProfileReqValidationError ¶
type GetProfileReqValidationError struct {
// contains filtered or unexported fields
}
GetProfileReqValidationError is the validation error returned by GetProfileReq.Validate if the designated constraints aren't met.
func (GetProfileReqValidationError) Cause ¶
func (e GetProfileReqValidationError) Cause() error
Cause function returns cause value.
func (GetProfileReqValidationError) Error ¶
func (e GetProfileReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProfileReqValidationError) ErrorName ¶
func (e GetProfileReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProfileReqValidationError) Field ¶
func (e GetProfileReqValidationError) Field() string
Field function returns field value.
func (GetProfileReqValidationError) Key ¶
func (e GetProfileReqValidationError) Key() bool
Key function returns key value.
func (GetProfileReqValidationError) Reason ¶
func (e GetProfileReqValidationError) Reason() string
Reason function returns reason value.
type GetSyncUserInfoReply ¶
type GetSyncUserInfoReply struct { UserInfo *v21.SyncUser `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"` //用户信息 Nodes []*SyncUserNode `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` //用户所在的节点 // contains filtered or unexported fields }
func (*GetSyncUserInfoReply) Descriptor
deprecated
func (*GetSyncUserInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncUserInfoReply.ProtoReflect.Descriptor instead.
func (*GetSyncUserInfoReply) GetNodes ¶
func (x *GetSyncUserInfoReply) GetNodes() []*SyncUserNode
func (*GetSyncUserInfoReply) GetUserInfo ¶
func (x *GetSyncUserInfoReply) GetUserInfo() *v21.SyncUser
func (*GetSyncUserInfoReply) ProtoMessage ¶
func (*GetSyncUserInfoReply) ProtoMessage()
func (*GetSyncUserInfoReply) ProtoReflect ¶
func (x *GetSyncUserInfoReply) ProtoReflect() protoreflect.Message
func (*GetSyncUserInfoReply) Reset ¶
func (x *GetSyncUserInfoReply) Reset()
func (*GetSyncUserInfoReply) String ¶
func (x *GetSyncUserInfoReply) String() string
func (*GetSyncUserInfoReply) Validate ¶
func (m *GetSyncUserInfoReply) Validate() error
Validate checks the field values on GetSyncUserInfoReply 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 (*GetSyncUserInfoReply) ValidateAll ¶
func (m *GetSyncUserInfoReply) ValidateAll() error
ValidateAll checks the field values on GetSyncUserInfoReply 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 GetSyncUserInfoReplyMultiError, or nil if none found.
type GetSyncUserInfoReplyMultiError ¶
type GetSyncUserInfoReplyMultiError []error
GetSyncUserInfoReplyMultiError is an error wrapping multiple validation errors returned by GetSyncUserInfoReply.ValidateAll() if the designated constraints aren't met.
func (GetSyncUserInfoReplyMultiError) AllErrors ¶
func (m GetSyncUserInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSyncUserInfoReplyMultiError) Error ¶
func (m GetSyncUserInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSyncUserInfoReplyValidationError ¶
type GetSyncUserInfoReplyValidationError struct {
// contains filtered or unexported fields
}
GetSyncUserInfoReplyValidationError is the validation error returned by GetSyncUserInfoReply.Validate if the designated constraints aren't met.
func (GetSyncUserInfoReplyValidationError) Cause ¶
func (e GetSyncUserInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSyncUserInfoReplyValidationError) Error ¶
func (e GetSyncUserInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSyncUserInfoReplyValidationError) ErrorName ¶
func (e GetSyncUserInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSyncUserInfoReplyValidationError) Field ¶
func (e GetSyncUserInfoReplyValidationError) Field() string
Field function returns field value.
func (GetSyncUserInfoReplyValidationError) Key ¶
func (e GetSyncUserInfoReplyValidationError) Key() bool
Key function returns key value.
func (GetSyncUserInfoReplyValidationError) Reason ¶
func (e GetSyncUserInfoReplyValidationError) Reason() string
Reason function returns reason value.
type GetSyncUserInfoReq ¶
type GetSyncUserInfoReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id // contains filtered or unexported fields }
获取同步用户信息
func (*GetSyncUserInfoReq) Descriptor
deprecated
func (*GetSyncUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncUserInfoReq.ProtoReflect.Descriptor instead.
func (*GetSyncUserInfoReq) GetUserId ¶
func (x *GetSyncUserInfoReq) GetUserId() string
func (*GetSyncUserInfoReq) ProtoMessage ¶
func (*GetSyncUserInfoReq) ProtoMessage()
func (*GetSyncUserInfoReq) ProtoReflect ¶
func (x *GetSyncUserInfoReq) ProtoReflect() protoreflect.Message
func (*GetSyncUserInfoReq) Reset ¶
func (x *GetSyncUserInfoReq) Reset()
func (*GetSyncUserInfoReq) String ¶
func (x *GetSyncUserInfoReq) String() string
func (*GetSyncUserInfoReq) Validate ¶
func (m *GetSyncUserInfoReq) Validate() error
Validate checks the field values on GetSyncUserInfoReq 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 (*GetSyncUserInfoReq) ValidateAll ¶
func (m *GetSyncUserInfoReq) ValidateAll() error
ValidateAll checks the field values on GetSyncUserInfoReq 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 GetSyncUserInfoReqMultiError, or nil if none found.
type GetSyncUserInfoReqMultiError ¶
type GetSyncUserInfoReqMultiError []error
GetSyncUserInfoReqMultiError is an error wrapping multiple validation errors returned by GetSyncUserInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetSyncUserInfoReqMultiError) AllErrors ¶
func (m GetSyncUserInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSyncUserInfoReqMultiError) Error ¶
func (m GetSyncUserInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSyncUserInfoReqValidationError ¶
type GetSyncUserInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetSyncUserInfoReqValidationError is the validation error returned by GetSyncUserInfoReq.Validate if the designated constraints aren't met.
func (GetSyncUserInfoReqValidationError) Cause ¶
func (e GetSyncUserInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetSyncUserInfoReqValidationError) Error ¶
func (e GetSyncUserInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetSyncUserInfoReqValidationError) ErrorName ¶
func (e GetSyncUserInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetSyncUserInfoReqValidationError) Field ¶
func (e GetSyncUserInfoReqValidationError) Field() string
Field function returns field value.
func (GetSyncUserInfoReqValidationError) Key ¶
func (e GetSyncUserInfoReqValidationError) Key() bool
Key function returns key value.
func (GetSyncUserInfoReqValidationError) Reason ¶
func (e GetSyncUserInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetUserNodeByNodeIdAndCenterUserIdReply ¶
type GetUserNodeByNodeIdAndCenterUserIdReply struct { UserNode *SyncUserNode `protobuf:"bytes,1,opt,name=userNode,proto3" json:"userNode,omitempty"` //用户所在的节点 // contains filtered or unexported fields }
func (*GetUserNodeByNodeIdAndCenterUserIdReply) Descriptor
deprecated
func (*GetUserNodeByNodeIdAndCenterUserIdReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNodeByNodeIdAndCenterUserIdReply.ProtoReflect.Descriptor instead.
func (*GetUserNodeByNodeIdAndCenterUserIdReply) GetUserNode ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReply) GetUserNode() *SyncUserNode
func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoMessage ¶
func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoMessage()
func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoReflect ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReply) ProtoReflect() protoreflect.Message
func (*GetUserNodeByNodeIdAndCenterUserIdReply) Reset ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReply) Reset()
func (*GetUserNodeByNodeIdAndCenterUserIdReply) String ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReply) String() string
func (*GetUserNodeByNodeIdAndCenterUserIdReply) Validate ¶
func (m *GetUserNodeByNodeIdAndCenterUserIdReply) Validate() error
Validate checks the field values on GetUserNodeByNodeIdAndCenterUserIdReply 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 (*GetUserNodeByNodeIdAndCenterUserIdReply) ValidateAll ¶
func (m *GetUserNodeByNodeIdAndCenterUserIdReply) ValidateAll() error
ValidateAll checks the field values on GetUserNodeByNodeIdAndCenterUserIdReply 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 GetUserNodeByNodeIdAndCenterUserIdReplyMultiError, or nil if none found.
type GetUserNodeByNodeIdAndCenterUserIdReplyMultiError ¶
type GetUserNodeByNodeIdAndCenterUserIdReplyMultiError []error
GetUserNodeByNodeIdAndCenterUserIdReplyMultiError is an error wrapping multiple validation errors returned by GetUserNodeByNodeIdAndCenterUserIdReply.ValidateAll() if the designated constraints aren't met.
func (GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) AllErrors ¶
func (m GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) Error ¶
func (m GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserNodeByNodeIdAndCenterUserIdReplyValidationError ¶
type GetUserNodeByNodeIdAndCenterUserIdReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserNodeByNodeIdAndCenterUserIdReplyValidationError is the validation error returned by GetUserNodeByNodeIdAndCenterUserIdReply.Validate if the designated constraints aren't met.
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Cause ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Error ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) ErrorName ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Field ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Field() string
Field function returns field value.
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Key ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Key() bool
Key function returns key value.
func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Reason ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserNodeByNodeIdAndCenterUserIdReq ¶
type GetUserNodeByNodeIdAndCenterUserIdReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 用户id // contains filtered or unexported fields }
下发用户信息
func (*GetUserNodeByNodeIdAndCenterUserIdReq) Descriptor
deprecated
func (*GetUserNodeByNodeIdAndCenterUserIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNodeByNodeIdAndCenterUserIdReq.ProtoReflect.Descriptor instead.
func (*GetUserNodeByNodeIdAndCenterUserIdReq) GetNodeId ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReq) GetNodeId() string
func (*GetUserNodeByNodeIdAndCenterUserIdReq) GetUserId ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReq) GetUserId() string
func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoMessage ¶
func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoMessage()
func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoReflect ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReq) ProtoReflect() protoreflect.Message
func (*GetUserNodeByNodeIdAndCenterUserIdReq) Reset ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReq) Reset()
func (*GetUserNodeByNodeIdAndCenterUserIdReq) String ¶
func (x *GetUserNodeByNodeIdAndCenterUserIdReq) String() string
func (*GetUserNodeByNodeIdAndCenterUserIdReq) Validate ¶
func (m *GetUserNodeByNodeIdAndCenterUserIdReq) Validate() error
Validate checks the field values on GetUserNodeByNodeIdAndCenterUserIdReq 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 (*GetUserNodeByNodeIdAndCenterUserIdReq) ValidateAll ¶
func (m *GetUserNodeByNodeIdAndCenterUserIdReq) ValidateAll() error
ValidateAll checks the field values on GetUserNodeByNodeIdAndCenterUserIdReq 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 GetUserNodeByNodeIdAndCenterUserIdReqMultiError, or nil if none found.
type GetUserNodeByNodeIdAndCenterUserIdReqMultiError ¶
type GetUserNodeByNodeIdAndCenterUserIdReqMultiError []error
GetUserNodeByNodeIdAndCenterUserIdReqMultiError is an error wrapping multiple validation errors returned by GetUserNodeByNodeIdAndCenterUserIdReq.ValidateAll() if the designated constraints aren't met.
func (GetUserNodeByNodeIdAndCenterUserIdReqMultiError) AllErrors ¶
func (m GetUserNodeByNodeIdAndCenterUserIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserNodeByNodeIdAndCenterUserIdReqMultiError) Error ¶
func (m GetUserNodeByNodeIdAndCenterUserIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserNodeByNodeIdAndCenterUserIdReqValidationError ¶
type GetUserNodeByNodeIdAndCenterUserIdReqValidationError struct {
// contains filtered or unexported fields
}
GetUserNodeByNodeIdAndCenterUserIdReqValidationError is the validation error returned by GetUserNodeByNodeIdAndCenterUserIdReq.Validate if the designated constraints aren't met.
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Cause ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Cause() error
Cause function returns cause value.
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Error ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) ErrorName ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Field ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Field() string
Field function returns field value.
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Key ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Key() bool
Key function returns key value.
func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Reason ¶
func (e GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Reason() string
Reason function returns reason value.
type IsRealReply ¶
type IsRealReply struct {
// contains filtered or unexported fields
}
func (*IsRealReply) Descriptor
deprecated
func (*IsRealReply) Descriptor() ([]byte, []int)
Deprecated: Use IsRealReply.ProtoReflect.Descriptor instead.
func (*IsRealReply) ProtoMessage ¶
func (*IsRealReply) ProtoMessage()
func (*IsRealReply) ProtoReflect ¶
func (x *IsRealReply) ProtoReflect() protoreflect.Message
func (*IsRealReply) Reset ¶
func (x *IsRealReply) Reset()
func (*IsRealReply) String ¶
func (x *IsRealReply) String() string
func (*IsRealReply) Validate ¶
func (m *IsRealReply) Validate() error
Validate checks the field values on IsRealReply 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 (*IsRealReply) ValidateAll ¶
func (m *IsRealReply) ValidateAll() error
ValidateAll checks the field values on IsRealReply 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 IsRealReplyMultiError, or nil if none found.
type IsRealReplyMultiError ¶
type IsRealReplyMultiError []error
IsRealReplyMultiError is an error wrapping multiple validation errors returned by IsRealReply.ValidateAll() if the designated constraints aren't met.
func (IsRealReplyMultiError) AllErrors ¶
func (m IsRealReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsRealReplyMultiError) Error ¶
func (m IsRealReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsRealReplyValidationError ¶
type IsRealReplyValidationError struct {
// contains filtered or unexported fields
}
IsRealReplyValidationError is the validation error returned by IsRealReply.Validate if the designated constraints aren't met.
func (IsRealReplyValidationError) Cause ¶
func (e IsRealReplyValidationError) Cause() error
Cause function returns cause value.
func (IsRealReplyValidationError) Error ¶
func (e IsRealReplyValidationError) Error() string
Error satisfies the builtin error interface
func (IsRealReplyValidationError) ErrorName ¶
func (e IsRealReplyValidationError) ErrorName() string
ErrorName returns error name.
func (IsRealReplyValidationError) Field ¶
func (e IsRealReplyValidationError) Field() string
Field function returns field value.
func (IsRealReplyValidationError) Key ¶
func (e IsRealReplyValidationError) Key() bool
Key function returns key value.
func (IsRealReplyValidationError) Reason ¶
func (e IsRealReplyValidationError) Reason() string
Reason function returns reason value.
type IsRealReq ¶
type IsRealReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 节点 id IdCard string `protobuf:"bytes,2,opt,name=idCard,proto3" json:"idCard,omitempty"` // 身份证件 // contains filtered or unexported fields }
是否实名
func (*IsRealReq) Descriptor
deprecated
func (*IsRealReq) ProtoMessage ¶
func (*IsRealReq) ProtoMessage()
func (*IsRealReq) ProtoReflect ¶
func (x *IsRealReq) ProtoReflect() protoreflect.Message
func (*IsRealReq) Validate ¶
Validate checks the field values on IsRealReq 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 (*IsRealReq) ValidateAll ¶
ValidateAll checks the field values on IsRealReq 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 IsRealReqMultiError, or nil if none found.
type IsRealReqMultiError ¶
type IsRealReqMultiError []error
IsRealReqMultiError is an error wrapping multiple validation errors returned by IsRealReq.ValidateAll() if the designated constraints aren't met.
func (IsRealReqMultiError) AllErrors ¶
func (m IsRealReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsRealReqMultiError) Error ¶
func (m IsRealReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsRealReqValidationError ¶
type IsRealReqValidationError struct {
// contains filtered or unexported fields
}
IsRealReqValidationError is the validation error returned by IsRealReq.Validate if the designated constraints aren't met.
func (IsRealReqValidationError) Cause ¶
func (e IsRealReqValidationError) Cause() error
Cause function returns cause value.
func (IsRealReqValidationError) Error ¶
func (e IsRealReqValidationError) Error() string
Error satisfies the builtin error interface
func (IsRealReqValidationError) ErrorName ¶
func (e IsRealReqValidationError) ErrorName() string
ErrorName returns error name.
func (IsRealReqValidationError) Field ¶
func (e IsRealReqValidationError) Field() string
Field function returns field value.
func (IsRealReqValidationError) Key ¶
func (e IsRealReqValidationError) Key() bool
Key function returns key value.
func (IsRealReqValidationError) Reason ¶
func (e IsRealReqValidationError) Reason() string
Reason function returns reason value.
type ListProfileReply ¶
type ListProfileReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListProfileReply) Descriptor
deprecated
func (*ListProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use ListProfileReply.ProtoReflect.Descriptor instead.
func (*ListProfileReply) GetList ¶
func (x *ListProfileReply) GetList() []*UserProfile
func (*ListProfileReply) GetTotal ¶
func (x *ListProfileReply) GetTotal() int64
func (*ListProfileReply) ProtoMessage ¶
func (*ListProfileReply) ProtoMessage()
func (*ListProfileReply) ProtoReflect ¶
func (x *ListProfileReply) ProtoReflect() protoreflect.Message
func (*ListProfileReply) Reset ¶
func (x *ListProfileReply) Reset()
func (*ListProfileReply) String ¶
func (x *ListProfileReply) String() string
func (*ListProfileReply) Validate ¶
func (m *ListProfileReply) Validate() error
Validate checks the field values on ListProfileReply 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 (*ListProfileReply) ValidateAll ¶
func (m *ListProfileReply) ValidateAll() error
ValidateAll checks the field values on ListProfileReply 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 ListProfileReplyMultiError, or nil if none found.
type ListProfileReplyMultiError ¶
type ListProfileReplyMultiError []error
ListProfileReplyMultiError is an error wrapping multiple validation errors returned by ListProfileReply.ValidateAll() if the designated constraints aren't met.
func (ListProfileReplyMultiError) AllErrors ¶
func (m ListProfileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProfileReplyMultiError) Error ¶
func (m ListProfileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProfileReplyValidationError ¶
type ListProfileReplyValidationError struct {
// contains filtered or unexported fields
}
ListProfileReplyValidationError is the validation error returned by ListProfileReply.Validate if the designated constraints aren't met.
func (ListProfileReplyValidationError) Cause ¶
func (e ListProfileReplyValidationError) Cause() error
Cause function returns cause value.
func (ListProfileReplyValidationError) Error ¶
func (e ListProfileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfileReplyValidationError) ErrorName ¶
func (e ListProfileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListProfileReplyValidationError) Field ¶
func (e ListProfileReplyValidationError) Field() string
Field function returns field value.
func (ListProfileReplyValidationError) Key ¶
func (e ListProfileReplyValidationError) Key() bool
Key function returns key value.
func (ListProfileReplyValidationError) Reason ¶
func (e ListProfileReplyValidationError) Reason() string
Reason function returns reason value.
type ListProfileReq ¶
type ListProfileReq struct { Page *v21.Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息 IsLimit bool `protobuf:"varint,2,opt,name=isLimit,proto3" json:"isLimit,omitempty"` // 是否分页 false:(返回全部) true:(会通过 size 和 num 进行分页) SelectStr []string `protobuf:"bytes,3,rep,name=selectStr,proto3" json:"selectStr,omitempty"` // 目标字段的数组 Cond map[string]string `` //直接赋值判定条件 /* 149-byte string literal not displayed */ Supplement []string `protobuf:"bytes,5,rep,name=supplement,proto3" json:"supplement,omitempty"` //补充条件 NodeId string `protobuf:"bytes,6,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id // contains filtered or unexported fields }
获取用户列表
func (*ListProfileReq) Descriptor
deprecated
func (*ListProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use ListProfileReq.ProtoReflect.Descriptor instead.
func (*ListProfileReq) GetCond ¶
func (x *ListProfileReq) GetCond() map[string]string
func (*ListProfileReq) GetIsLimit ¶
func (x *ListProfileReq) GetIsLimit() bool
func (*ListProfileReq) GetNodeId ¶
func (x *ListProfileReq) GetNodeId() string
func (*ListProfileReq) GetPage ¶
func (x *ListProfileReq) GetPage() *v21.Pagination
func (*ListProfileReq) GetSelectStr ¶
func (x *ListProfileReq) GetSelectStr() []string
func (*ListProfileReq) GetSupplement ¶
func (x *ListProfileReq) GetSupplement() []string
func (*ListProfileReq) ProtoMessage ¶
func (*ListProfileReq) ProtoMessage()
func (*ListProfileReq) ProtoReflect ¶
func (x *ListProfileReq) ProtoReflect() protoreflect.Message
func (*ListProfileReq) Reset ¶
func (x *ListProfileReq) Reset()
func (*ListProfileReq) String ¶
func (x *ListProfileReq) String() string
func (*ListProfileReq) Validate ¶
func (m *ListProfileReq) Validate() error
Validate checks the field values on ListProfileReq 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 (*ListProfileReq) ValidateAll ¶
func (m *ListProfileReq) ValidateAll() error
ValidateAll checks the field values on ListProfileReq 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 ListProfileReqMultiError, or nil if none found.
type ListProfileReqMultiError ¶
type ListProfileReqMultiError []error
ListProfileReqMultiError is an error wrapping multiple validation errors returned by ListProfileReq.ValidateAll() if the designated constraints aren't met.
func (ListProfileReqMultiError) AllErrors ¶
func (m ListProfileReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProfileReqMultiError) Error ¶
func (m ListProfileReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProfileReqValidationError ¶
type ListProfileReqValidationError struct {
// contains filtered or unexported fields
}
ListProfileReqValidationError is the validation error returned by ListProfileReq.Validate if the designated constraints aren't met.
func (ListProfileReqValidationError) Cause ¶
func (e ListProfileReqValidationError) Cause() error
Cause function returns cause value.
func (ListProfileReqValidationError) Error ¶
func (e ListProfileReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfileReqValidationError) ErrorName ¶
func (e ListProfileReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListProfileReqValidationError) Field ¶
func (e ListProfileReqValidationError) Field() string
Field function returns field value.
func (ListProfileReqValidationError) Key ¶
func (e ListProfileReqValidationError) Key() bool
Key function returns key value.
func (ListProfileReqValidationError) Reason ¶
func (e ListProfileReqValidationError) Reason() string
Reason function returns reason value.
type ProfileClient ¶
type ProfileClient interface { // 基本接口 // 获取用户信息 GetProfile(ctx context.Context, in *GetProfileReq, opts ...grpc.CallOption) (*GetProfileReply, error) // 更新用户新 UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*UpdateProfileReply, error) // 获取用户列表 ListProfile(ctx context.Context, in *ListProfileReq, opts ...grpc.CallOption) (*ListProfileReply, error) // 获取用户列表 GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListReply, error) // 根据账号获取用户信息 GetByAccount(ctx context.Context, in *GetByAccountReq, opts ...grpc.CallOption) (*GetByAccountReply, error) // 根据手机号获取用户信息 GetByPhone(ctx context.Context, in *GetByPhoneReq, opts ...grpc.CallOption) (*GetByPhoneReply, error) // 根据邮箱获取用户信息 GetByEmail(ctx context.Context, in *GetByEmailReq, opts ...grpc.CallOption) (*GetByEmailReply, error) // 根据code获取用户信息 GetByCode(ctx context.Context, in *GetByCodeReq, opts ...grpc.CallOption) (*GetByCodeReply, error) // 工具方法 // 根据ids获取用户信息 FindProfileByUserId(ctx context.Context, in *FindProfileByUserReq, opts ...grpc.CallOption) (*FindProfileByUserReply, error) // 批量插入 BatchInsert(ctx context.Context, in *BatchInsertProfileReq, opts ...grpc.CallOption) (*BatchInsertProfileReply, error) // 是否实名 IsReal(ctx context.Context, in *IsRealReq, opts ...grpc.CallOption) (*IsRealReply, error) }
ProfileClient is the client API for Profile 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.
Profile 服务
func NewProfileClient ¶
func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient
type ProfileServer ¶
type ProfileServer interface { // 基本接口 // 获取用户信息 GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error) // 更新用户新 UpdateProfile(context.Context, *UpdateProfileReq) (*UpdateProfileReply, error) // 获取用户列表 ListProfile(context.Context, *ListProfileReq) (*ListProfileReply, error) // 获取用户列表 GetList(context.Context, *GetListReq) (*GetListReply, error) // 根据账号获取用户信息 GetByAccount(context.Context, *GetByAccountReq) (*GetByAccountReply, error) // 根据手机号获取用户信息 GetByPhone(context.Context, *GetByPhoneReq) (*GetByPhoneReply, error) // 根据邮箱获取用户信息 GetByEmail(context.Context, *GetByEmailReq) (*GetByEmailReply, error) // 根据code获取用户信息 GetByCode(context.Context, *GetByCodeReq) (*GetByCodeReply, error) // 工具方法 // 根据ids获取用户信息 FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error) // 批量插入 BatchInsert(context.Context, *BatchInsertProfileReq) (*BatchInsertProfileReply, error) // 是否实名 IsReal(context.Context, *IsRealReq) (*IsRealReply, error) // contains filtered or unexported methods }
ProfileServer is the server API for Profile service. All implementations must embed UnimplementedProfileServer for forward compatibility
Profile 服务
type SyncUserInfoReply ¶
type SyncUserInfoReply struct {
// contains filtered or unexported fields
}
func (*SyncUserInfoReply) Descriptor
deprecated
func (*SyncUserInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use SyncUserInfoReply.ProtoReflect.Descriptor instead.
func (*SyncUserInfoReply) ProtoMessage ¶
func (*SyncUserInfoReply) ProtoMessage()
func (*SyncUserInfoReply) ProtoReflect ¶
func (x *SyncUserInfoReply) ProtoReflect() protoreflect.Message
func (*SyncUserInfoReply) Reset ¶
func (x *SyncUserInfoReply) Reset()
func (*SyncUserInfoReply) String ¶
func (x *SyncUserInfoReply) String() string
func (*SyncUserInfoReply) Validate ¶
func (m *SyncUserInfoReply) Validate() error
Validate checks the field values on SyncUserInfoReply 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 (*SyncUserInfoReply) ValidateAll ¶
func (m *SyncUserInfoReply) ValidateAll() error
ValidateAll checks the field values on SyncUserInfoReply 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 SyncUserInfoReplyMultiError, or nil if none found.
type SyncUserInfoReplyMultiError ¶
type SyncUserInfoReplyMultiError []error
SyncUserInfoReplyMultiError is an error wrapping multiple validation errors returned by SyncUserInfoReply.ValidateAll() if the designated constraints aren't met.
func (SyncUserInfoReplyMultiError) AllErrors ¶
func (m SyncUserInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncUserInfoReplyMultiError) Error ¶
func (m SyncUserInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncUserInfoReplyValidationError ¶
type SyncUserInfoReplyValidationError struct {
// contains filtered or unexported fields
}
SyncUserInfoReplyValidationError is the validation error returned by SyncUserInfoReply.Validate if the designated constraints aren't met.
func (SyncUserInfoReplyValidationError) Cause ¶
func (e SyncUserInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (SyncUserInfoReplyValidationError) Error ¶
func (e SyncUserInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SyncUserInfoReplyValidationError) ErrorName ¶
func (e SyncUserInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SyncUserInfoReplyValidationError) Field ¶
func (e SyncUserInfoReplyValidationError) Field() string
Field function returns field value.
func (SyncUserInfoReplyValidationError) Key ¶
func (e SyncUserInfoReplyValidationError) Key() bool
Key function returns key value.
func (SyncUserInfoReplyValidationError) Reason ¶
func (e SyncUserInfoReplyValidationError) Reason() string
Reason function returns reason value.
type SyncUserInfoReq ¶
type SyncUserInfoReq struct { UserInfo *v21.SyncUser `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"` //用户信息 // contains filtered or unexported fields }
同步用户信息
func (*SyncUserInfoReq) Descriptor
deprecated
func (*SyncUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use SyncUserInfoReq.ProtoReflect.Descriptor instead.
func (*SyncUserInfoReq) GetUserInfo ¶
func (x *SyncUserInfoReq) GetUserInfo() *v21.SyncUser
func (*SyncUserInfoReq) ProtoMessage ¶
func (*SyncUserInfoReq) ProtoMessage()
func (*SyncUserInfoReq) ProtoReflect ¶
func (x *SyncUserInfoReq) ProtoReflect() protoreflect.Message
func (*SyncUserInfoReq) Reset ¶
func (x *SyncUserInfoReq) Reset()
func (*SyncUserInfoReq) String ¶
func (x *SyncUserInfoReq) String() string
func (*SyncUserInfoReq) Validate ¶
func (m *SyncUserInfoReq) Validate() error
Validate checks the field values on SyncUserInfoReq 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 (*SyncUserInfoReq) ValidateAll ¶
func (m *SyncUserInfoReq) ValidateAll() error
ValidateAll checks the field values on SyncUserInfoReq 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 SyncUserInfoReqMultiError, or nil if none found.
type SyncUserInfoReqMultiError ¶
type SyncUserInfoReqMultiError []error
SyncUserInfoReqMultiError is an error wrapping multiple validation errors returned by SyncUserInfoReq.ValidateAll() if the designated constraints aren't met.
func (SyncUserInfoReqMultiError) AllErrors ¶
func (m SyncUserInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncUserInfoReqMultiError) Error ¶
func (m SyncUserInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncUserInfoReqValidationError ¶
type SyncUserInfoReqValidationError struct {
// contains filtered or unexported fields
}
SyncUserInfoReqValidationError is the validation error returned by SyncUserInfoReq.Validate if the designated constraints aren't met.
func (SyncUserInfoReqValidationError) Cause ¶
func (e SyncUserInfoReqValidationError) Cause() error
Cause function returns cause value.
func (SyncUserInfoReqValidationError) Error ¶
func (e SyncUserInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (SyncUserInfoReqValidationError) ErrorName ¶
func (e SyncUserInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (SyncUserInfoReqValidationError) Field ¶
func (e SyncUserInfoReqValidationError) Field() string
Field function returns field value.
func (SyncUserInfoReqValidationError) Key ¶
func (e SyncUserInfoReqValidationError) Key() bool
Key function returns key value.
func (SyncUserInfoReqValidationError) Reason ¶
func (e SyncUserInfoReqValidationError) Reason() string
Reason function returns reason value.
type SyncUserNode ¶
type SyncUserNode struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id FaceURL string `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"` // 头像 Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 FromUserId string `protobuf:"bytes,4,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"` // 推广来源用户id UserId string `protobuf:"bytes,5,opt,name=userId,proto3" json:"userId,omitempty"` // 用户所在节点id CenterUserId string `protobuf:"bytes,6,opt,name=centerUserId,proto3" json:"centerUserId,omitempty"` // 用户中心的id TenantId string `protobuf:"bytes,7,opt,name=tenantId,proto3" json:"tenantId,omitempty"` // 租户id // contains filtered or unexported fields }
同步的用户节点信息
func (*SyncUserNode) Descriptor
deprecated
func (*SyncUserNode) Descriptor() ([]byte, []int)
Deprecated: Use SyncUserNode.ProtoReflect.Descriptor instead.
func (*SyncUserNode) GetCenterUserId ¶
func (x *SyncUserNode) GetCenterUserId() string
func (*SyncUserNode) GetFaceURL ¶
func (x *SyncUserNode) GetFaceURL() string
func (*SyncUserNode) GetFromUserId ¶
func (x *SyncUserNode) GetFromUserId() string
func (*SyncUserNode) GetNickname ¶
func (x *SyncUserNode) GetNickname() string
func (*SyncUserNode) GetNodeId ¶
func (x *SyncUserNode) GetNodeId() string
func (*SyncUserNode) GetTenantId ¶
func (x *SyncUserNode) GetTenantId() string
func (*SyncUserNode) GetUserId ¶
func (x *SyncUserNode) GetUserId() string
func (*SyncUserNode) ProtoMessage ¶
func (*SyncUserNode) ProtoMessage()
func (*SyncUserNode) ProtoReflect ¶
func (x *SyncUserNode) ProtoReflect() protoreflect.Message
func (*SyncUserNode) Reset ¶
func (x *SyncUserNode) Reset()
func (*SyncUserNode) String ¶
func (x *SyncUserNode) String() string
func (*SyncUserNode) Validate ¶
func (m *SyncUserNode) Validate() error
Validate checks the field values on SyncUserNode 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 (*SyncUserNode) ValidateAll ¶
func (m *SyncUserNode) ValidateAll() error
ValidateAll checks the field values on SyncUserNode 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 SyncUserNodeMultiError, or nil if none found.
type SyncUserNodeMultiError ¶
type SyncUserNodeMultiError []error
SyncUserNodeMultiError is an error wrapping multiple validation errors returned by SyncUserNode.ValidateAll() if the designated constraints aren't met.
func (SyncUserNodeMultiError) AllErrors ¶
func (m SyncUserNodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncUserNodeMultiError) Error ¶
func (m SyncUserNodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncUserNodeValidationError ¶
type SyncUserNodeValidationError struct {
// contains filtered or unexported fields
}
SyncUserNodeValidationError is the validation error returned by SyncUserNode.Validate if the designated constraints aren't met.
func (SyncUserNodeValidationError) Cause ¶
func (e SyncUserNodeValidationError) Cause() error
Cause function returns cause value.
func (SyncUserNodeValidationError) Error ¶
func (e SyncUserNodeValidationError) Error() string
Error satisfies the builtin error interface
func (SyncUserNodeValidationError) ErrorName ¶
func (e SyncUserNodeValidationError) ErrorName() string
ErrorName returns error name.
func (SyncUserNodeValidationError) Field ¶
func (e SyncUserNodeValidationError) Field() string
Field function returns field value.
func (SyncUserNodeValidationError) Key ¶
func (e SyncUserNodeValidationError) Key() bool
Key function returns key value.
func (SyncUserNodeValidationError) Reason ¶
func (e SyncUserNodeValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProfileServer ¶
type UnimplementedProfileServer struct { }
UnimplementedProfileServer must be embedded to have forward compatible implementations.
func (UnimplementedProfileServer) BatchInsert ¶
func (UnimplementedProfileServer) BatchInsert(context.Context, *BatchInsertProfileReq) (*BatchInsertProfileReply, error)
func (UnimplementedProfileServer) FindProfileByUserId ¶
func (UnimplementedProfileServer) FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error)
func (UnimplementedProfileServer) GetByAccount ¶
func (UnimplementedProfileServer) GetByAccount(context.Context, *GetByAccountReq) (*GetByAccountReply, error)
func (UnimplementedProfileServer) GetByCode ¶
func (UnimplementedProfileServer) GetByCode(context.Context, *GetByCodeReq) (*GetByCodeReply, error)
func (UnimplementedProfileServer) GetByEmail ¶
func (UnimplementedProfileServer) GetByEmail(context.Context, *GetByEmailReq) (*GetByEmailReply, error)
func (UnimplementedProfileServer) GetByPhone ¶
func (UnimplementedProfileServer) GetByPhone(context.Context, *GetByPhoneReq) (*GetByPhoneReply, error)
func (UnimplementedProfileServer) GetList ¶
func (UnimplementedProfileServer) GetList(context.Context, *GetListReq) (*GetListReply, error)
func (UnimplementedProfileServer) GetProfile ¶
func (UnimplementedProfileServer) GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error)
func (UnimplementedProfileServer) IsReal ¶
func (UnimplementedProfileServer) IsReal(context.Context, *IsRealReq) (*IsRealReply, error)
func (UnimplementedProfileServer) ListProfile ¶
func (UnimplementedProfileServer) ListProfile(context.Context, *ListProfileReq) (*ListProfileReply, error)
func (UnimplementedProfileServer) UpdateProfile ¶
func (UnimplementedProfileServer) UpdateProfile(context.Context, *UpdateProfileReq) (*UpdateProfileReply, error)
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) BatchInsert ¶
func (UnimplementedUserServer) BatchInsert(context.Context, *BatchInsertUserReq) (*BatchInsertUserReply, error)
func (UnimplementedUserServer) CancelNodeAccount ¶
func (UnimplementedUserServer) CancelNodeAccount(context.Context, *CancelNodeAccountReq) (*CancelNodeAccountReply, error)
func (UnimplementedUserServer) CreateUser ¶
func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserReq) (*CreateUserReply, error)
func (UnimplementedUserServer) DeleteUser ¶
func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserReply, error)
func (UnimplementedUserServer) DistributeUser ¶
func (UnimplementedUserServer) DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error)
func (UnimplementedUserServer) GetNodeInfoByUserId ¶
func (UnimplementedUserServer) GetNodeInfoByUserId(context.Context, *GetNodeInfoByUserIdReq) (*GetNodeInfoByUserIdReply, error)
func (UnimplementedUserServer) GetSyncUserInfo ¶
func (UnimplementedUserServer) GetSyncUserInfo(context.Context, *GetSyncUserInfoReq) (*GetSyncUserInfoReply, error)
func (UnimplementedUserServer) GetUserNodeByNodeIdAndCenterUserId ¶
func (UnimplementedUserServer) GetUserNodeByNodeIdAndCenterUserId(context.Context, *GetUserNodeByNodeIdAndCenterUserIdReq) (*GetUserNodeByNodeIdAndCenterUserIdReply, error)
func (UnimplementedUserServer) SyncUserInfo ¶
func (UnimplementedUserServer) SyncUserInfo(context.Context, *SyncUserInfoReq) (*SyncUserInfoReply, error)
func (UnimplementedUserServer) UpdatePassword ¶
func (UnimplementedUserServer) UpdatePassword(context.Context, *UpdatePasswordReq) (*UpdatePasswordReply, error)
func (UnimplementedUserServer) VerifyPassword ¶
func (UnimplementedUserServer) VerifyPassword(context.Context, *VerifyPasswordReq) (*VerifyPasswordReply, error)
type UnsafeProfileServer ¶
type UnsafeProfileServer interface {
// contains filtered or unexported methods
}
UnsafeProfileServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServer will result in compilation errors.
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UpdatePasswordReply ¶
type UpdatePasswordReply struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordReply) Descriptor
deprecated
func (*UpdatePasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordReply.ProtoReflect.Descriptor instead.
func (*UpdatePasswordReply) ProtoMessage ¶
func (*UpdatePasswordReply) ProtoMessage()
func (*UpdatePasswordReply) ProtoReflect ¶
func (x *UpdatePasswordReply) ProtoReflect() protoreflect.Message
func (*UpdatePasswordReply) Reset ¶
func (x *UpdatePasswordReply) Reset()
func (*UpdatePasswordReply) String ¶
func (x *UpdatePasswordReply) String() string
func (*UpdatePasswordReply) Validate ¶
func (m *UpdatePasswordReply) Validate() error
Validate checks the field values on UpdatePasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdatePasswordReply) ValidateAll ¶
func (m *UpdatePasswordReply) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordReplyMultiError, or nil if none found.
type UpdatePasswordReplyMultiError ¶
type UpdatePasswordReplyMultiError []error
UpdatePasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReply.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordReplyMultiError) AllErrors ¶
func (m UpdatePasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordReplyMultiError) Error ¶
func (m UpdatePasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordReplyValidationError ¶
type UpdatePasswordReplyValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordReplyValidationError is the validation error returned by UpdatePasswordReply.Validate if the designated constraints aren't met.
func (UpdatePasswordReplyValidationError) Cause ¶
func (e UpdatePasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordReplyValidationError) Error ¶
func (e UpdatePasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordReplyValidationError) ErrorName ¶
func (e UpdatePasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordReplyValidationError) Field ¶
func (e UpdatePasswordReplyValidationError) Field() string
Field function returns field value.
func (UpdatePasswordReplyValidationError) Key ¶
func (e UpdatePasswordReplyValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordReplyValidationError) Reason ¶
func (e UpdatePasswordReplyValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordReq ¶
type UpdatePasswordReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 // contains filtered or unexported fields }
更新密码 -------------------------------------------
func (*UpdatePasswordReq) Descriptor
deprecated
func (*UpdatePasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordReq.ProtoReflect.Descriptor instead.
func (*UpdatePasswordReq) GetPassword ¶
func (x *UpdatePasswordReq) GetPassword() string
func (*UpdatePasswordReq) GetUserId ¶
func (x *UpdatePasswordReq) GetUserId() string
func (*UpdatePasswordReq) ProtoMessage ¶
func (*UpdatePasswordReq) ProtoMessage()
func (*UpdatePasswordReq) ProtoReflect ¶
func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message
func (*UpdatePasswordReq) Reset ¶
func (x *UpdatePasswordReq) Reset()
func (*UpdatePasswordReq) String ¶
func (x *UpdatePasswordReq) String() string
func (*UpdatePasswordReq) Validate ¶
func (m *UpdatePasswordReq) Validate() error
Validate checks the field values on UpdatePasswordReq 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 (*UpdatePasswordReq) ValidateAll ¶
func (m *UpdatePasswordReq) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordReq 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 UpdatePasswordReqMultiError, or nil if none found.
type UpdatePasswordReqMultiError ¶
type UpdatePasswordReqMultiError []error
UpdatePasswordReqMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReq.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordReqMultiError) AllErrors ¶
func (m UpdatePasswordReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordReqMultiError) Error ¶
func (m UpdatePasswordReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordReqValidationError ¶
type UpdatePasswordReqValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordReqValidationError is the validation error returned by UpdatePasswordReq.Validate if the designated constraints aren't met.
func (UpdatePasswordReqValidationError) Cause ¶
func (e UpdatePasswordReqValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordReqValidationError) Error ¶
func (e UpdatePasswordReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordReqValidationError) ErrorName ¶
func (e UpdatePasswordReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordReqValidationError) Field ¶
func (e UpdatePasswordReqValidationError) Field() string
Field function returns field value.
func (UpdatePasswordReqValidationError) Key ¶
func (e UpdatePasswordReqValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordReqValidationError) Reason ¶
func (e UpdatePasswordReqValidationError) Reason() string
Reason function returns reason value.
type UpdateProfileReply ¶
type UpdateProfileReply struct {
// contains filtered or unexported fields
}
func (*UpdateProfileReply) Descriptor
deprecated
func (*UpdateProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileReply.ProtoReflect.Descriptor instead.
func (*UpdateProfileReply) ProtoMessage ¶
func (*UpdateProfileReply) ProtoMessage()
func (*UpdateProfileReply) ProtoReflect ¶
func (x *UpdateProfileReply) ProtoReflect() protoreflect.Message
func (*UpdateProfileReply) Reset ¶
func (x *UpdateProfileReply) Reset()
func (*UpdateProfileReply) String ¶
func (x *UpdateProfileReply) String() string
func (*UpdateProfileReply) Validate ¶
func (m *UpdateProfileReply) Validate() error
Validate checks the field values on UpdateProfileReply 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 (*UpdateProfileReply) ValidateAll ¶
func (m *UpdateProfileReply) ValidateAll() error
ValidateAll checks the field values on UpdateProfileReply 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 UpdateProfileReplyMultiError, or nil if none found.
type UpdateProfileReplyMultiError ¶
type UpdateProfileReplyMultiError []error
UpdateProfileReplyMultiError is an error wrapping multiple validation errors returned by UpdateProfileReply.ValidateAll() if the designated constraints aren't met.
func (UpdateProfileReplyMultiError) AllErrors ¶
func (m UpdateProfileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProfileReplyMultiError) Error ¶
func (m UpdateProfileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProfileReplyValidationError ¶
type UpdateProfileReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateProfileReplyValidationError is the validation error returned by UpdateProfileReply.Validate if the designated constraints aren't met.
func (UpdateProfileReplyValidationError) Cause ¶
func (e UpdateProfileReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileReplyValidationError) Error ¶
func (e UpdateProfileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileReplyValidationError) ErrorName ¶
func (e UpdateProfileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileReplyValidationError) Field ¶
func (e UpdateProfileReplyValidationError) Field() string
Field function returns field value.
func (UpdateProfileReplyValidationError) Key ¶
func (e UpdateProfileReplyValidationError) Key() bool
Key function returns key value.
func (UpdateProfileReplyValidationError) Reason ¶
func (e UpdateProfileReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateProfileReq ¶
type UpdateProfileReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id FaceURL *string `protobuf:"bytes,2,opt,name=faceURL,proto3,oneof" json:"faceURL,omitempty"` // 头像地址 Nickname *string `protobuf:"bytes,3,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` // 昵称 Gender *v2.Gender `protobuf:"varint,4,opt,name=gender,proto3,enum=api.common.enum.v2.Gender,oneof" json:"gender,omitempty"` // 性别 Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"` // 签名 Phone *string `protobuf:"bytes,6,opt,name=phone,proto3,oneof" json:"phone,omitempty"` // 电话 Email *string `protobuf:"bytes,7,opt,name=email,proto3,oneof" json:"email,omitempty"` // 邮箱 Birth *int64 `protobuf:"varint,9,opt,name=birth,proto3,oneof" json:"birth,omitempty"` // 生日 NodeId *string `protobuf:"bytes,10,opt,name=nodeId,proto3,oneof" json:"nodeId,omitempty"` // 节点 id FullName *string `protobuf:"bytes,11,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"` // 真实名称 PersonId *string `protobuf:"bytes,12,opt,name=personId,proto3,oneof" json:"personId,omitempty"` // 身份证号 LastNodeId *string `protobuf:"bytes,13,opt,name=lastNodeId,proto3,oneof" json:"lastNodeId,omitempty"` // 最后一次登录节点id Status *int32 `protobuf:"varint,14,opt,name=status,proto3,oneof" json:"status,omitempty"` //用户状态 // contains filtered or unexported fields }
更新用户信息
func (*UpdateProfileReq) Descriptor
deprecated
func (*UpdateProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileReq.ProtoReflect.Descriptor instead.
func (*UpdateProfileReq) GetBirth ¶
func (x *UpdateProfileReq) GetBirth() int64
func (*UpdateProfileReq) GetEmail ¶
func (x *UpdateProfileReq) GetEmail() string
func (*UpdateProfileReq) GetFaceURL ¶
func (x *UpdateProfileReq) GetFaceURL() string
func (*UpdateProfileReq) GetFullName ¶
func (x *UpdateProfileReq) GetFullName() string
func (*UpdateProfileReq) GetGender ¶
func (x *UpdateProfileReq) GetGender() v2.Gender
func (*UpdateProfileReq) GetLastNodeId ¶
func (x *UpdateProfileReq) GetLastNodeId() string
func (*UpdateProfileReq) GetMessage ¶
func (x *UpdateProfileReq) GetMessage() string
func (*UpdateProfileReq) GetNickname ¶
func (x *UpdateProfileReq) GetNickname() string
func (*UpdateProfileReq) GetNodeId ¶
func (x *UpdateProfileReq) GetNodeId() string
func (*UpdateProfileReq) GetPersonId ¶
func (x *UpdateProfileReq) GetPersonId() string
func (*UpdateProfileReq) GetPhone ¶
func (x *UpdateProfileReq) GetPhone() string
func (*UpdateProfileReq) GetStatus ¶
func (x *UpdateProfileReq) GetStatus() int32
func (*UpdateProfileReq) GetUserId ¶
func (x *UpdateProfileReq) GetUserId() string
func (*UpdateProfileReq) ProtoMessage ¶
func (*UpdateProfileReq) ProtoMessage()
func (*UpdateProfileReq) ProtoReflect ¶
func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message
func (*UpdateProfileReq) Reset ¶
func (x *UpdateProfileReq) Reset()
func (*UpdateProfileReq) String ¶
func (x *UpdateProfileReq) String() string
func (*UpdateProfileReq) Validate ¶
func (m *UpdateProfileReq) Validate() error
Validate checks the field values on UpdateProfileReq 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 (*UpdateProfileReq) ValidateAll ¶
func (m *UpdateProfileReq) ValidateAll() error
ValidateAll checks the field values on UpdateProfileReq 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 UpdateProfileReqMultiError, or nil if none found.
type UpdateProfileReqMultiError ¶
type UpdateProfileReqMultiError []error
UpdateProfileReqMultiError is an error wrapping multiple validation errors returned by UpdateProfileReq.ValidateAll() if the designated constraints aren't met.
func (UpdateProfileReqMultiError) AllErrors ¶
func (m UpdateProfileReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProfileReqMultiError) Error ¶
func (m UpdateProfileReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProfileReqValidationError ¶
type UpdateProfileReqValidationError struct {
// contains filtered or unexported fields
}
UpdateProfileReqValidationError is the validation error returned by UpdateProfileReq.Validate if the designated constraints aren't met.
func (UpdateProfileReqValidationError) Cause ¶
func (e UpdateProfileReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateProfileReqValidationError) Error ¶
func (e UpdateProfileReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileReqValidationError) ErrorName ¶
func (e UpdateProfileReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProfileReqValidationError) Field ¶
func (e UpdateProfileReqValidationError) Field() string
Field function returns field value.
func (UpdateProfileReqValidationError) Key ¶
func (e UpdateProfileReqValidationError) Key() bool
Key function returns key value.
func (UpdateProfileReqValidationError) Reason ¶
func (e UpdateProfileReqValidationError) Reason() string
Reason function returns reason value.
type UserClient ¶
type UserClient interface { // 创建用户 CreateUser(ctx context.Context, in *CreateUserReq, opts ...grpc.CallOption) (*CreateUserReply, error) // 修改用户密码 UpdatePassword(ctx context.Context, in *UpdatePasswordReq, opts ...grpc.CallOption) (*UpdatePasswordReply, error) // 删除用户 DeleteUser(ctx context.Context, in *DeleteUserReq, opts ...grpc.CallOption) (*DeleteUserReply, error) // 校验密码 VerifyPassword(ctx context.Context, in *VerifyPasswordReq, opts ...grpc.CallOption) (*VerifyPasswordReply, error) // 批量插入 BatchInsert(ctx context.Context, in *BatchInsertUserReq, opts ...grpc.CallOption) (*BatchInsertUserReply, error) // 获取同步用户信息 GetSyncUserInfo(ctx context.Context, in *GetSyncUserInfoReq, opts ...grpc.CallOption) (*GetSyncUserInfoReply, error) // 同步用户信息 SyncUserInfo(ctx context.Context, in *SyncUserInfoReq, opts ...grpc.CallOption) (*SyncUserInfoReply, error) // userId 查询nodeId GetNodeInfoByUserId(ctx context.Context, in *GetNodeInfoByUserIdReq, opts ...grpc.CallOption) (*GetNodeInfoByUserIdReply, error) // 直接下发用户数据 DistributeUser(ctx context.Context, in *DistributeUserReq, opts ...grpc.CallOption) (*DistributeUserReply, error) // 更具node和用户中心id获取用户信息 GetUserNodeByNodeIdAndCenterUserId(ctx context.Context, in *GetUserNodeByNodeIdAndCenterUserIdReq, opts ...grpc.CallOption) (*GetUserNodeByNodeIdAndCenterUserIdReply, error) // 注销节点账号 CancelNodeAccount(ctx context.Context, in *CancelNodeAccountReq, opts ...grpc.CallOption) (*CancelNodeAccountReply, 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 UserData ¶
type UserData struct { CreatedAt int64 `protobuf:"varint,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // 更新时间 DeletedAt int64 `protobuf:"varint,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` // 删除时间 Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // profile id 和 userId 等价 Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // 密码 TenantId string `protobuf:"bytes,6,opt,name=tenantId,proto3" json:"tenantId,omitempty"` // 租户id // contains filtered or unexported fields }
func (*UserData) Descriptor
deprecated
func (*UserData) GetCreatedAt ¶
func (*UserData) GetDeletedAt ¶
func (*UserData) GetPassword ¶
func (*UserData) GetTenantId ¶
func (*UserData) GetUpdatedAt ¶
func (*UserData) ProtoMessage ¶
func (*UserData) ProtoMessage()
func (*UserData) ProtoReflect ¶
func (x *UserData) ProtoReflect() protoreflect.Message
func (*UserData) Validate ¶
Validate checks the field values on UserData 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 (*UserData) ValidateAll ¶
ValidateAll checks the field values on UserData 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 UserDataMultiError, or nil if none found.
type UserDataMultiError ¶
type UserDataMultiError []error
UserDataMultiError is an error wrapping multiple validation errors returned by UserData.ValidateAll() if the designated constraints aren't met.
func (UserDataMultiError) AllErrors ¶
func (m UserDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserDataMultiError) Error ¶
func (m UserDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserDataValidationError ¶
type UserDataValidationError struct {
// contains filtered or unexported fields
}
UserDataValidationError is the validation error returned by UserData.Validate if the designated constraints aren't met.
func (UserDataValidationError) Cause ¶
func (e UserDataValidationError) Cause() error
Cause function returns cause value.
func (UserDataValidationError) Error ¶
func (e UserDataValidationError) Error() string
Error satisfies the builtin error interface
func (UserDataValidationError) ErrorName ¶
func (e UserDataValidationError) ErrorName() string
ErrorName returns error name.
func (UserDataValidationError) Field ¶
func (e UserDataValidationError) Field() string
Field function returns field value.
func (UserDataValidationError) Key ¶
func (e UserDataValidationError) Key() bool
Key function returns key value.
func (UserDataValidationError) Reason ¶
func (e UserDataValidationError) Reason() string
Reason function returns reason value.
type UserNode ¶
type UserNode struct { Logo string `protobuf:"bytes,1,opt,name=logo,proto3" json:"logo,omitempty"` // 节点logo Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 节点名称 NodeId string `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点id Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // 节点code // contains filtered or unexported fields }
func (*UserNode) Descriptor
deprecated
func (*UserNode) ProtoMessage ¶
func (*UserNode) ProtoMessage()
func (*UserNode) ProtoReflect ¶
func (x *UserNode) ProtoReflect() protoreflect.Message
func (*UserNode) Validate ¶
Validate checks the field values on UserNode 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 (*UserNode) ValidateAll ¶
ValidateAll checks the field values on UserNode 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 UserNodeMultiError, or nil if none found.
type UserNodeMultiError ¶
type UserNodeMultiError []error
UserNodeMultiError is an error wrapping multiple validation errors returned by UserNode.ValidateAll() if the designated constraints aren't met.
func (UserNodeMultiError) AllErrors ¶
func (m UserNodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserNodeMultiError) Error ¶
func (m UserNodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNodeValidationError ¶
type UserNodeValidationError struct {
// contains filtered or unexported fields
}
UserNodeValidationError is the validation error returned by UserNode.Validate if the designated constraints aren't met.
func (UserNodeValidationError) Cause ¶
func (e UserNodeValidationError) Cause() error
Cause function returns cause value.
func (UserNodeValidationError) Error ¶
func (e UserNodeValidationError) Error() string
Error satisfies the builtin error interface
func (UserNodeValidationError) ErrorName ¶
func (e UserNodeValidationError) ErrorName() string
ErrorName returns error name.
func (UserNodeValidationError) Field ¶
func (e UserNodeValidationError) Field() string
Field function returns field value.
func (UserNodeValidationError) Key ¶
func (e UserNodeValidationError) Key() bool
Key function returns key value.
func (UserNodeValidationError) Reason ¶
func (e UserNodeValidationError) Reason() string
Reason function returns reason value.
type UserOnlineType ¶
type UserOnlineType int32
用户在线状态
const ( UserOnlineType_USER_ONLINE_TYPE_OFFLINE UserOnlineType = 0 // 离线 UserOnlineType_USER_ONLINE_TYPE_ONLINE UserOnlineType = 1 // 在线 )
func (UserOnlineType) Descriptor ¶
func (UserOnlineType) Descriptor() protoreflect.EnumDescriptor
func (UserOnlineType) Enum ¶
func (x UserOnlineType) Enum() *UserOnlineType
func (UserOnlineType) EnumDescriptor
deprecated
func (UserOnlineType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserOnlineType.Descriptor instead.
func (UserOnlineType) Number ¶
func (x UserOnlineType) Number() protoreflect.EnumNumber
func (UserOnlineType) String ¶
func (x UserOnlineType) String() string
func (UserOnlineType) Type ¶
func (UserOnlineType) Type() protoreflect.EnumType
type UserProfile ¶
type UserProfile struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // profile id 和 userId 等价 FaceURL string `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"` // 头像地址 Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"` // 账号 Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` // 用户code Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` // 电话 Gender v2.Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=api.common.enum.v2.Gender" json:"gender,omitempty"` // 性别 Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"` // 邮箱 Birth int64 `protobuf:"varint,10,opt,name=birth,proto3" json:"birth,omitempty"` // 生日 FullName string `protobuf:"bytes,11,opt,name=fullName,proto3" json:"fullName,omitempty"` // 真实名称 PersonId string `protobuf:"bytes,12,opt,name=personId,proto3" json:"personId,omitempty"` // 身份证号 CreatedAt int64 `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // 更新时间 DeletedAt int64 `protobuf:"varint,15,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` // 删除时间 AreaCode int32 `protobuf:"varint,16,opt,name=areaCode,proto3" json:"areaCode,omitempty"` //手机区号 Status int32 `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"` // 账户状态 1 -> 正常,2->冻结 TenantId string `protobuf:"bytes,18,opt,name=tenantId,proto3" json:"tenantId,omitempty"` // 租户id NodeId string `protobuf:"bytes,19,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //用户注册节点 LastLoginNodeId string `protobuf:"bytes,20,opt,name=lastLoginNodeId,proto3" json:"lastLoginNodeId,omitempty"` //上次登录节点 // contains filtered or unexported fields }
用户信息
func (*UserProfile) Descriptor
deprecated
func (*UserProfile) Descriptor() ([]byte, []int)
Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.
func (*UserProfile) GetAccount ¶
func (x *UserProfile) GetAccount() string
func (*UserProfile) GetAreaCode ¶
func (x *UserProfile) GetAreaCode() int32
func (*UserProfile) GetBirth ¶
func (x *UserProfile) GetBirth() int64
func (*UserProfile) GetCode ¶
func (x *UserProfile) GetCode() string
func (*UserProfile) GetCreatedAt ¶
func (x *UserProfile) GetCreatedAt() int64
func (*UserProfile) GetDeletedAt ¶
func (x *UserProfile) GetDeletedAt() int64
func (*UserProfile) GetEmail ¶
func (x *UserProfile) GetEmail() string
func (*UserProfile) GetFaceURL ¶
func (x *UserProfile) GetFaceURL() string
func (*UserProfile) GetFullName ¶
func (x *UserProfile) GetFullName() string
func (*UserProfile) GetGender ¶
func (x *UserProfile) GetGender() v2.Gender
func (*UserProfile) GetId ¶
func (x *UserProfile) GetId() string
func (*UserProfile) GetLastLoginNodeId ¶
func (x *UserProfile) GetLastLoginNodeId() string
func (*UserProfile) GetNickname ¶
func (x *UserProfile) GetNickname() string
func (*UserProfile) GetNodeId ¶
func (x *UserProfile) GetNodeId() string
func (*UserProfile) GetPersonId ¶
func (x *UserProfile) GetPersonId() string
func (*UserProfile) GetPhone ¶
func (x *UserProfile) GetPhone() string
func (*UserProfile) GetShareCode ¶
func (x *UserProfile) GetShareCode() string
func (*UserProfile) GetStatus ¶
func (x *UserProfile) GetStatus() int32
func (*UserProfile) GetTenantId ¶
func (x *UserProfile) GetTenantId() string
func (*UserProfile) GetUpdatedAt ¶
func (x *UserProfile) GetUpdatedAt() int64
func (*UserProfile) ProtoMessage ¶
func (*UserProfile) ProtoMessage()
func (*UserProfile) ProtoReflect ¶
func (x *UserProfile) ProtoReflect() protoreflect.Message
func (*UserProfile) Reset ¶
func (x *UserProfile) Reset()
func (*UserProfile) String ¶
func (x *UserProfile) String() string
func (*UserProfile) Validate ¶
func (m *UserProfile) Validate() error
Validate checks the field values on UserProfile 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 (*UserProfile) ValidateAll ¶
func (m *UserProfile) ValidateAll() error
ValidateAll checks the field values on UserProfile 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 UserProfileMultiError, or nil if none found.
type UserProfileMultiError ¶
type UserProfileMultiError []error
UserProfileMultiError is an error wrapping multiple validation errors returned by UserProfile.ValidateAll() if the designated constraints aren't met.
func (UserProfileMultiError) AllErrors ¶
func (m UserProfileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserProfileMultiError) Error ¶
func (m UserProfileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserProfileValidationError ¶
type UserProfileValidationError struct {
// contains filtered or unexported fields
}
UserProfileValidationError is the validation error returned by UserProfile.Validate if the designated constraints aren't met.
func (UserProfileValidationError) Cause ¶
func (e UserProfileValidationError) Cause() error
Cause function returns cause value.
func (UserProfileValidationError) Error ¶
func (e UserProfileValidationError) Error() string
Error satisfies the builtin error interface
func (UserProfileValidationError) ErrorName ¶
func (e UserProfileValidationError) ErrorName() string
ErrorName returns error name.
func (UserProfileValidationError) Field ¶
func (e UserProfileValidationError) Field() string
Field function returns field value.
func (UserProfileValidationError) Key ¶
func (e UserProfileValidationError) Key() bool
Key function returns key value.
func (UserProfileValidationError) Reason ¶
func (e UserProfileValidationError) Reason() string
Reason function returns reason value.
type UserServer ¶
type UserServer interface { // 创建用户 CreateUser(context.Context, *CreateUserReq) (*CreateUserReply, error) // 修改用户密码 UpdatePassword(context.Context, *UpdatePasswordReq) (*UpdatePasswordReply, error) // 删除用户 DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserReply, error) // 校验密码 VerifyPassword(context.Context, *VerifyPasswordReq) (*VerifyPasswordReply, error) // 批量插入 BatchInsert(context.Context, *BatchInsertUserReq) (*BatchInsertUserReply, error) // 获取同步用户信息 GetSyncUserInfo(context.Context, *GetSyncUserInfoReq) (*GetSyncUserInfoReply, error) // 同步用户信息 SyncUserInfo(context.Context, *SyncUserInfoReq) (*SyncUserInfoReply, error) // userId 查询nodeId GetNodeInfoByUserId(context.Context, *GetNodeInfoByUserIdReq) (*GetNodeInfoByUserIdReply, error) // 直接下发用户数据 DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error) // 更具node和用户中心id获取用户信息 GetUserNodeByNodeIdAndCenterUserId(context.Context, *GetUserNodeByNodeIdAndCenterUserIdReq) (*GetUserNodeByNodeIdAndCenterUserIdReply, error) // 注销节点账号 CancelNodeAccount(context.Context, *CancelNodeAccountReq) (*CancelNodeAccountReply, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility
type VerifyPasswordReply ¶
type VerifyPasswordReply struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*VerifyPasswordReply) Descriptor
deprecated
func (*VerifyPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPasswordReply.ProtoReflect.Descriptor instead.
func (*VerifyPasswordReply) GetId ¶
func (x *VerifyPasswordReply) GetId() string
func (*VerifyPasswordReply) GetOk ¶
func (x *VerifyPasswordReply) GetOk() bool
func (*VerifyPasswordReply) ProtoMessage ¶
func (*VerifyPasswordReply) ProtoMessage()
func (*VerifyPasswordReply) ProtoReflect ¶
func (x *VerifyPasswordReply) ProtoReflect() protoreflect.Message
func (*VerifyPasswordReply) Reset ¶
func (x *VerifyPasswordReply) Reset()
func (*VerifyPasswordReply) String ¶
func (x *VerifyPasswordReply) String() string
func (*VerifyPasswordReply) Validate ¶
func (m *VerifyPasswordReply) Validate() error
Validate checks the field values on VerifyPasswordReply 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 (*VerifyPasswordReply) ValidateAll ¶
func (m *VerifyPasswordReply) ValidateAll() error
ValidateAll checks the field values on VerifyPasswordReply 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 VerifyPasswordReplyMultiError, or nil if none found.
type VerifyPasswordReplyMultiError ¶
type VerifyPasswordReplyMultiError []error
VerifyPasswordReplyMultiError is an error wrapping multiple validation errors returned by VerifyPasswordReply.ValidateAll() if the designated constraints aren't met.
func (VerifyPasswordReplyMultiError) AllErrors ¶
func (m VerifyPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerifyPasswordReplyMultiError) Error ¶
func (m VerifyPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerifyPasswordReplyValidationError ¶
type VerifyPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
VerifyPasswordReplyValidationError is the validation error returned by VerifyPasswordReply.Validate if the designated constraints aren't met.
func (VerifyPasswordReplyValidationError) Cause ¶
func (e VerifyPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (VerifyPasswordReplyValidationError) Error ¶
func (e VerifyPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyPasswordReplyValidationError) ErrorName ¶
func (e VerifyPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyPasswordReplyValidationError) Field ¶
func (e VerifyPasswordReplyValidationError) Field() string
Field function returns field value.
func (VerifyPasswordReplyValidationError) Key ¶
func (e VerifyPasswordReplyValidationError) Key() bool
Key function returns key value.
func (VerifyPasswordReplyValidationError) Reason ¶
func (e VerifyPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type VerifyPasswordReq ¶
type VerifyPasswordReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 // contains filtered or unexported fields }
校验密码 -------------------------------------------
func (*VerifyPasswordReq) Descriptor
deprecated
func (*VerifyPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPasswordReq.ProtoReflect.Descriptor instead.
func (*VerifyPasswordReq) GetPassword ¶
func (x *VerifyPasswordReq) GetPassword() string
func (*VerifyPasswordReq) GetUserId ¶
func (x *VerifyPasswordReq) GetUserId() string
func (*VerifyPasswordReq) ProtoMessage ¶
func (*VerifyPasswordReq) ProtoMessage()
func (*VerifyPasswordReq) ProtoReflect ¶
func (x *VerifyPasswordReq) ProtoReflect() protoreflect.Message
func (*VerifyPasswordReq) Reset ¶
func (x *VerifyPasswordReq) Reset()
func (*VerifyPasswordReq) String ¶
func (x *VerifyPasswordReq) String() string
func (*VerifyPasswordReq) Validate ¶
func (m *VerifyPasswordReq) Validate() error
Validate checks the field values on VerifyPasswordReq 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 (*VerifyPasswordReq) ValidateAll ¶
func (m *VerifyPasswordReq) ValidateAll() error
ValidateAll checks the field values on VerifyPasswordReq 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 VerifyPasswordReqMultiError, or nil if none found.
type VerifyPasswordReqMultiError ¶
type VerifyPasswordReqMultiError []error
VerifyPasswordReqMultiError is an error wrapping multiple validation errors returned by VerifyPasswordReq.ValidateAll() if the designated constraints aren't met.
func (VerifyPasswordReqMultiError) AllErrors ¶
func (m VerifyPasswordReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerifyPasswordReqMultiError) Error ¶
func (m VerifyPasswordReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerifyPasswordReqValidationError ¶
type VerifyPasswordReqValidationError struct {
// contains filtered or unexported fields
}
VerifyPasswordReqValidationError is the validation error returned by VerifyPasswordReq.Validate if the designated constraints aren't met.
func (VerifyPasswordReqValidationError) Cause ¶
func (e VerifyPasswordReqValidationError) Cause() error
Cause function returns cause value.
func (VerifyPasswordReqValidationError) Error ¶
func (e VerifyPasswordReqValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyPasswordReqValidationError) ErrorName ¶
func (e VerifyPasswordReqValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyPasswordReqValidationError) Field ¶
func (e VerifyPasswordReqValidationError) Field() string
Field function returns field value.
func (VerifyPasswordReqValidationError) Key ¶
func (e VerifyPasswordReqValidationError) Key() bool
Key function returns key value.
func (VerifyPasswordReqValidationError) Reason ¶
func (e VerifyPasswordReqValidationError) Reason() string
Reason function returns reason value.