Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorAccountAlreadyExists(format string, args ...interface{}) *errors.Error
- func ErrorCacheDataNotFound(format string, args ...interface{}) *errors.Error
- func ErrorDeleteUserFailed(format string, args ...interface{}) *errors.Error
- func ErrorFailedDeleteProfile(format string, args ...interface{}) *errors.Error
- func ErrorFailedToCreateUser(format string, args ...interface{}) *errors.Error
- func ErrorFailedToEditProfile(format string, args ...interface{}) *errors.Error
- func ErrorFailedToEditUser(format string, args ...interface{}) *errors.Error
- func ErrorFailedUpdateUserPassword(format string, args ...interface{}) *errors.Error
- func ErrorGetDate(format string, args ...interface{}) *errors.Error
- func ErrorGetUserStatusFailed(format string, args ...interface{}) *errors.Error
- func ErrorHistoryPrivacyPasswordVerificationFail(format string, args ...interface{}) *errors.Error
- func ErrorNotSetPrivacyPassword(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 ErrorSearchProfileErr(format string, args ...interface{}) *errors.Error
- func ErrorSetPrivacyPasswordFail(format string, args ...interface{}) *errors.Error
- func ErrorThisShareCodeIsInvalid(format string, args ...interface{}) *errors.Error
- func ErrorUserIsNotCustomer(format string, args ...interface{}) *errors.Error
- func ErrorUserNotFound(format string, args ...interface{}) *errors.Error
- func IsAccountAlreadyExists(err error) bool
- func IsCacheDataNotFound(err error) bool
- func IsDeleteUserFailed(err error) bool
- func IsFailedDeleteProfile(err error) bool
- func IsFailedToCreateUser(err error) bool
- func IsFailedToEditProfile(err error) bool
- func IsFailedToEditUser(err error) bool
- func IsFailedUpdateUserPassword(err error) bool
- func IsGetDate(err error) bool
- func IsGetUserStatusFailed(err error) bool
- func IsHistoryPrivacyPasswordVerificationFail(err error) bool
- func IsNotSetPrivacyPassword(err error) bool
- func IsParamsEmailNotIsUserBind(err error) bool
- func IsParamsPhoneNotIsUserBind(err error) bool
- func IsPhoneIsNotEmpty(err error) bool
- func IsProfileNotFound(err error) bool
- func IsSearchProfileErr(err error) bool
- func IsSetPrivacyPasswordFail(err error) bool
- func IsThisShareCodeIsInvalid(err error) bool
- func IsUserIsNotCustomer(err error) bool
- func IsUserNotFound(err error) bool
- func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- 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 ErrorUserReason
- func (ErrorUserReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorUserReason) Enum() *ErrorUserReason
- func (ErrorUserReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorUserReason) Number() protoreflect.EnumNumber
- func (x ErrorUserReason) String() string
- func (ErrorUserReason) Type() protoreflect.EnumType
- type FindFullProfileByUserIdReply
- func (*FindFullProfileByUserIdReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindFullProfileByUserIdReply) GetList() []*v2.UserProfile
- func (*FindFullProfileByUserIdReply) ProtoMessage()
- func (x *FindFullProfileByUserIdReply) ProtoReflect() protoreflect.Message
- func (x *FindFullProfileByUserIdReply) Reset()
- func (x *FindFullProfileByUserIdReply) String() string
- func (m *FindFullProfileByUserIdReply) Validate() error
- func (m *FindFullProfileByUserIdReply) ValidateAll() error
- type FindFullProfileByUserIdReplyMultiError
- type FindFullProfileByUserIdReplyValidationError
- func (e FindFullProfileByUserIdReplyValidationError) Cause() error
- func (e FindFullProfileByUserIdReplyValidationError) Error() string
- func (e FindFullProfileByUserIdReplyValidationError) ErrorName() string
- func (e FindFullProfileByUserIdReplyValidationError) Field() string
- func (e FindFullProfileByUserIdReplyValidationError) Key() bool
- func (e FindFullProfileByUserIdReplyValidationError) Reason() string
- type FindFullProfileByUserIdReq
- func (*FindFullProfileByUserIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindFullProfileByUserIdReq) GetUserIds() []string
- func (*FindFullProfileByUserIdReq) ProtoMessage()
- func (x *FindFullProfileByUserIdReq) ProtoReflect() protoreflect.Message
- func (x *FindFullProfileByUserIdReq) Reset()
- func (x *FindFullProfileByUserIdReq) String() string
- func (m *FindFullProfileByUserIdReq) Validate() error
- func (m *FindFullProfileByUserIdReq) ValidateAll() error
- type FindFullProfileByUserIdReqMultiError
- type FindFullProfileByUserIdReqValidationError
- func (e FindFullProfileByUserIdReqValidationError) Cause() error
- func (e FindFullProfileByUserIdReqValidationError) Error() string
- func (e FindFullProfileByUserIdReqValidationError) ErrorName() string
- func (e FindFullProfileByUserIdReqValidationError) Field() string
- func (e FindFullProfileByUserIdReqValidationError) Key() bool
- func (e FindFullProfileByUserIdReqValidationError) Reason() string
- type FindProfileByUserReply
- func (*FindProfileByUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindProfileByUserReply) GetList() []*v2.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) 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 GetAllUserIDReply
- func (*GetAllUserIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllUserIDReply) GetUserIds() []string
- func (*GetAllUserIDReply) ProtoMessage()
- func (x *GetAllUserIDReply) ProtoReflect() protoreflect.Message
- func (x *GetAllUserIDReply) Reset()
- func (x *GetAllUserIDReply) String() string
- func (m *GetAllUserIDReply) Validate() error
- func (m *GetAllUserIDReply) ValidateAll() error
- type GetAllUserIDReplyMultiError
- type GetAllUserIDReplyValidationError
- func (e GetAllUserIDReplyValidationError) Cause() error
- func (e GetAllUserIDReplyValidationError) Error() string
- func (e GetAllUserIDReplyValidationError) ErrorName() string
- func (e GetAllUserIDReplyValidationError) Field() string
- func (e GetAllUserIDReplyValidationError) Key() bool
- func (e GetAllUserIDReplyValidationError) Reason() string
- type GetAllUserIDReq
- func (*GetAllUserIDReq) Descriptor() ([]byte, []int)deprecated
- func (*GetAllUserIDReq) ProtoMessage()
- func (x *GetAllUserIDReq) ProtoReflect() protoreflect.Message
- func (x *GetAllUserIDReq) Reset()
- func (x *GetAllUserIDReq) String() string
- func (m *GetAllUserIDReq) Validate() error
- func (m *GetAllUserIDReq) ValidateAll() error
- type GetAllUserIDReqMultiError
- type GetAllUserIDReqValidationError
- func (e GetAllUserIDReqValidationError) Cause() error
- func (e GetAllUserIDReqValidationError) Error() string
- func (e GetAllUserIDReqValidationError) ErrorName() string
- func (e GetAllUserIDReqValidationError) Field() string
- func (e GetAllUserIDReqValidationError) Key() bool
- func (e GetAllUserIDReqValidationError) Reason() string
- type GetGlobalReceiveMessageOptReply
- func (*GetGlobalReceiveMessageOptReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalReceiveMessageOptReply) GetGlobalRecvMsgOpt() int32
- func (*GetGlobalReceiveMessageOptReply) ProtoMessage()
- func (x *GetGlobalReceiveMessageOptReply) ProtoReflect() protoreflect.Message
- func (x *GetGlobalReceiveMessageOptReply) Reset()
- func (x *GetGlobalReceiveMessageOptReply) String() string
- func (m *GetGlobalReceiveMessageOptReply) Validate() error
- func (m *GetGlobalReceiveMessageOptReply) ValidateAll() error
- type GetGlobalReceiveMessageOptReplyMultiError
- type GetGlobalReceiveMessageOptReplyValidationError
- func (e GetGlobalReceiveMessageOptReplyValidationError) Cause() error
- func (e GetGlobalReceiveMessageOptReplyValidationError) Error() string
- func (e GetGlobalReceiveMessageOptReplyValidationError) ErrorName() string
- func (e GetGlobalReceiveMessageOptReplyValidationError) Field() string
- func (e GetGlobalReceiveMessageOptReplyValidationError) Key() bool
- func (e GetGlobalReceiveMessageOptReplyValidationError) Reason() string
- type GetGlobalReceiveMessageOptReq
- func (*GetGlobalReceiveMessageOptReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalReceiveMessageOptReq) GetUserId() string
- func (*GetGlobalReceiveMessageOptReq) ProtoMessage()
- func (x *GetGlobalReceiveMessageOptReq) ProtoReflect() protoreflect.Message
- func (x *GetGlobalReceiveMessageOptReq) Reset()
- func (x *GetGlobalReceiveMessageOptReq) String() string
- func (m *GetGlobalReceiveMessageOptReq) Validate() error
- func (m *GetGlobalReceiveMessageOptReq) ValidateAll() error
- type GetGlobalReceiveMessageOptReqMultiError
- type GetGlobalReceiveMessageOptReqValidationError
- func (e GetGlobalReceiveMessageOptReqValidationError) Cause() error
- func (e GetGlobalReceiveMessageOptReqValidationError) Error() string
- func (e GetGlobalReceiveMessageOptReqValidationError) ErrorName() string
- func (e GetGlobalReceiveMessageOptReqValidationError) Field() string
- func (e GetGlobalReceiveMessageOptReqValidationError) Key() bool
- func (e GetGlobalReceiveMessageOptReqValidationError) Reason() string
- type GetOptionValReply
- func (*GetOptionValReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionValReply) GetValue() int32
- func (*GetOptionValReply) ProtoMessage()
- func (x *GetOptionValReply) ProtoReflect() protoreflect.Message
- func (x *GetOptionValReply) Reset()
- func (x *GetOptionValReply) String() string
- func (m *GetOptionValReply) Validate() error
- func (m *GetOptionValReply) ValidateAll() error
- type GetOptionValReplyMultiError
- type GetOptionValReplyValidationError
- func (e GetOptionValReplyValidationError) Cause() error
- func (e GetOptionValReplyValidationError) Error() string
- func (e GetOptionValReplyValidationError) ErrorName() string
- func (e GetOptionValReplyValidationError) Field() string
- func (e GetOptionValReplyValidationError) Key() bool
- func (e GetOptionValReplyValidationError) Reason() string
- type GetOptionValReq
- func (*GetOptionValReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionValReq) GetOption() UserOption
- func (x *GetOptionValReq) GetUserId() string
- func (*GetOptionValReq) ProtoMessage()
- func (x *GetOptionValReq) ProtoReflect() protoreflect.Message
- func (x *GetOptionValReq) Reset()
- func (x *GetOptionValReq) String() string
- func (m *GetOptionValReq) Validate() error
- func (m *GetOptionValReq) ValidateAll() error
- type GetOptionValReqMultiError
- type GetOptionValReqValidationError
- func (e GetOptionValReqValidationError) Cause() error
- func (e GetOptionValReqValidationError) Error() string
- func (e GetOptionValReqValidationError) ErrorName() string
- func (e GetOptionValReqValidationError) Field() string
- func (e GetOptionValReqValidationError) Key() bool
- func (e GetOptionValReqValidationError) Reason() string
- type GetProfileReply
- func (*GetProfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileReply) GetProfile() *v2.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) GetAccount() string
- func (x *GetProfileReq) GetCode() string
- func (x *GetProfileReq) GetEmil() string
- func (x *GetProfileReq) GetPhone() 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 GetUserLoginStatusReply
- func (*GetUserLoginStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserLoginStatusReply) GetData() *v2.OnlineStatus
- func (*GetUserLoginStatusReply) ProtoMessage()
- func (x *GetUserLoginStatusReply) ProtoReflect() protoreflect.Message
- func (x *GetUserLoginStatusReply) Reset()
- func (x *GetUserLoginStatusReply) String() string
- func (m *GetUserLoginStatusReply) Validate() error
- func (m *GetUserLoginStatusReply) ValidateAll() error
- type GetUserLoginStatusReplyMultiError
- type GetUserLoginStatusReplyValidationError
- func (e GetUserLoginStatusReplyValidationError) Cause() error
- func (e GetUserLoginStatusReplyValidationError) Error() string
- func (e GetUserLoginStatusReplyValidationError) ErrorName() string
- func (e GetUserLoginStatusReplyValidationError) Field() string
- func (e GetUserLoginStatusReplyValidationError) Key() bool
- func (e GetUserLoginStatusReplyValidationError) Reason() string
- type GetUserLoginStatusReq
- func (*GetUserLoginStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserLoginStatusReq) GetUserID() string
- func (*GetUserLoginStatusReq) ProtoMessage()
- func (x *GetUserLoginStatusReq) ProtoReflect() protoreflect.Message
- func (x *GetUserLoginStatusReq) Reset()
- func (x *GetUserLoginStatusReq) String() string
- func (m *GetUserLoginStatusReq) Validate() error
- func (m *GetUserLoginStatusReq) ValidateAll() error
- type GetUserLoginStatusReqMultiError
- type GetUserLoginStatusReqValidationError
- func (e GetUserLoginStatusReqValidationError) Cause() error
- func (e GetUserLoginStatusReqValidationError) Error() string
- func (e GetUserLoginStatusReqValidationError) ErrorName() string
- func (e GetUserLoginStatusReqValidationError) Field() string
- func (e GetUserLoginStatusReqValidationError) Key() bool
- func (e GetUserLoginStatusReqValidationError) Reason() string
- type ProfileClient
- type ProfileServer
- type SearchProfileReply
- func (*SearchProfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *SearchProfileReply) GetData() *v2.UserProfile
- func (*SearchProfileReply) ProtoMessage()
- func (x *SearchProfileReply) ProtoReflect() protoreflect.Message
- func (x *SearchProfileReply) Reset()
- func (x *SearchProfileReply) String() string
- func (m *SearchProfileReply) Validate() error
- func (m *SearchProfileReply) ValidateAll() error
- type SearchProfileReplyMultiError
- type SearchProfileReplyValidationError
- func (e SearchProfileReplyValidationError) Cause() error
- func (e SearchProfileReplyValidationError) Error() string
- func (e SearchProfileReplyValidationError) ErrorName() string
- func (e SearchProfileReplyValidationError) Field() string
- func (e SearchProfileReplyValidationError) Key() bool
- func (e SearchProfileReplyValidationError) Reason() string
- type SearchProfileReq
- func (*SearchProfileReq) Descriptor() ([]byte, []int)deprecated
- func (x *SearchProfileReq) GetSearchValue() string
- func (x *SearchProfileReq) GetType() int32
- func (*SearchProfileReq) ProtoMessage()
- func (x *SearchProfileReq) ProtoReflect() protoreflect.Message
- func (x *SearchProfileReq) Reset()
- func (x *SearchProfileReq) String() string
- func (m *SearchProfileReq) Validate() error
- func (m *SearchProfileReq) ValidateAll() error
- type SearchProfileReqMultiError
- type SearchProfileReqValidationError
- func (e SearchProfileReqValidationError) Cause() error
- func (e SearchProfileReqValidationError) Error() string
- func (e SearchProfileReqValidationError) ErrorName() string
- func (e SearchProfileReqValidationError) Field() string
- func (e SearchProfileReqValidationError) Key() bool
- func (e SearchProfileReqValidationError) Reason() string
- type SetOptionReply
- func (*SetOptionReply) Descriptor() ([]byte, []int)deprecated
- func (*SetOptionReply) ProtoMessage()
- func (x *SetOptionReply) ProtoReflect() protoreflect.Message
- func (x *SetOptionReply) Reset()
- func (x *SetOptionReply) String() string
- func (m *SetOptionReply) Validate() error
- func (m *SetOptionReply) ValidateAll() error
- type SetOptionReplyMultiError
- type SetOptionReplyValidationError
- func (e SetOptionReplyValidationError) Cause() error
- func (e SetOptionReplyValidationError) Error() string
- func (e SetOptionReplyValidationError) ErrorName() string
- func (e SetOptionReplyValidationError) Field() string
- func (e SetOptionReplyValidationError) Key() bool
- func (e SetOptionReplyValidationError) Reason() string
- type SetOptionReq
- func (*SetOptionReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetOptionReq) GetOption() UserOption
- func (x *SetOptionReq) GetUserId() string
- func (x *SetOptionReq) GetValue() int32
- func (*SetOptionReq) ProtoMessage()
- func (x *SetOptionReq) ProtoReflect() protoreflect.Message
- func (x *SetOptionReq) Reset()
- func (x *SetOptionReq) String() string
- func (m *SetOptionReq) Validate() error
- func (m *SetOptionReq) ValidateAll() error
- type SetOptionReqMultiError
- type SetOptionReqValidationError
- func (e SetOptionReqValidationError) Cause() error
- func (e SetOptionReqValidationError) Error() string
- func (e SetOptionReqValidationError) ErrorName() string
- func (e SetOptionReqValidationError) Field() string
- func (e SetOptionReqValidationError) Key() bool
- func (e SetOptionReqValidationError) Reason() string
- type Switch
- type UnimplementedProfileServer
- func (UnimplementedProfileServer) FindFullProfileByUserId(context.Context, *FindFullProfileByUserIdReq) (*FindFullProfileByUserIdReply, error)
- func (UnimplementedProfileServer) FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error)
- func (UnimplementedProfileServer) GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDReply, error)
- func (UnimplementedProfileServer) GetGlobalReceiveMessageOpt(context.Context, *GetGlobalReceiveMessageOptReq) (*GetGlobalReceiveMessageOptReply, error)
- func (UnimplementedProfileServer) GetOptionVal(context.Context, *GetOptionValReq) (*GetOptionValReply, error)
- func (UnimplementedProfileServer) GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error)
- func (UnimplementedProfileServer) SearchProfile(context.Context, *SearchProfileReq) (*SearchProfileReply, error)
- func (UnimplementedProfileServer) SetOption(context.Context, *SetOptionReq) (*SetOptionReply, error)
- func (UnimplementedProfileServer) UpdateProfile(context.Context, *UpdateProfileReq) (*UpdateProfileReply, error)
- type UnimplementedUserServer
- type UnsafeProfileServer
- type UnsafeUserServer
- type UpdateProfileReply
- func (*UpdateProfileReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileReply) GetProfile() *v2.UserProfile
- 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) GetGender() int32
- func (x *UpdateProfileReq) GetIsOpenMoments() uint32
- func (x *UpdateProfileReq) GetMessage() string
- func (x *UpdateProfileReq) GetNickname() string
- func (x *UpdateProfileReq) GetPhone() string
- 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 UserOption
- type UserServer
Constants ¶
const ( Profile_GetProfile_FullMethodName = "/api.im_cloud.user.v2.Profile/GetProfile" Profile_UpdateProfile_FullMethodName = "/api.im_cloud.user.v2.Profile/UpdateProfile" Profile_SetOption_FullMethodName = "/api.im_cloud.user.v2.Profile/SetOption" Profile_GetOptionVal_FullMethodName = "/api.im_cloud.user.v2.Profile/GetOptionVal" Profile_FindProfileByUserId_FullMethodName = "/api.im_cloud.user.v2.Profile/FindProfileByUserId" Profile_FindFullProfileByUserId_FullMethodName = "/api.im_cloud.user.v2.Profile/FindFullProfileByUserId" Profile_GetGlobalReceiveMessageOpt_FullMethodName = "/api.im_cloud.user.v2.Profile/GetGlobalReceiveMessageOpt" Profile_SearchProfile_FullMethodName = "/api.im_cloud.user.v2.Profile/SearchProfile" Profile_GetAllUserID_FullMethodName = "/api.im_cloud.user.v2.Profile/GetAllUserID" )
const (
User_GetUserLoginStatus_FullMethodName = "/api.im_cloud.user.v2.User/GetUserLoginStatus"
)
Variables ¶
var ( Switch_name = map[int32]string{ 0: "Close", 1: "Open", } Switch_value = map[string]int32{ "Close": 0, "Open": 1, } )
Enum value maps for Switch.
var ( UserOption_name = map[int32]string{ 0: "notLoginStatus", 1: "isOpenMoments", 2: "qrCodeAdd", 3: "cardAdd", 4: "groupAdd", 5: "codeAdd", 6: "phoneAdd", 7: "showLastLogin", 8: "multipleDeviceLogin", 9: "isAdmin", 10: "isOpenWallet", 11: "appMangerLevel", 12: "globalRecvMsgOpt", 13: "isReal", 14: "isCustomerService", 15: "isTenant", 16: "isSetPrivatePassword", 17: "welcomeMessage", } UserOption_value = map[string]int32{ "notLoginStatus": 0, "isOpenMoments": 1, "qrCodeAdd": 2, "cardAdd": 3, "groupAdd": 4, "codeAdd": 5, "phoneAdd": 6, "showLastLogin": 7, "multipleDeviceLogin": 8, "isAdmin": 9, "isOpenWallet": 10, "appMangerLevel": 11, "globalRecvMsgOpt": 12, "isReal": 13, "isCustomerService": 14, "isTenant": 15, "isSetPrivatePassword": 16, "welcomeMessage": 17, } )
Enum value maps for UserOption.
var ( ErrorProfileReason_name = map[int32]string{ 0: "PROFILE_NOT_FOUND", 2: "GET_DATE", 3: "FAILED_TO_EDIT_PROFILE", 4: "PHONE_IS_NOT_EMPTY", 5: "SEARCH_PROFILE_ERR", 6: "CACHE_DATA_Not_Found", 7: "FAILED_DELETE_PROFILE", 8: "SET_PRIVACY_PASSWORD_FAIL", 9: "NOT_SET_PRIVACY_PASSWORD", 10: "HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL", 11: "PARAMS_EMAIL_NOT_IS_USER_BIND", 12: "PARAMS_PHONE_NOT_IS_USER_BIND", 13: "USER_IS_NOT_CUSTOMER", 14: "THIS_SHARE_CODE_IS_INVALID", } ErrorProfileReason_value = map[string]int32{ "PROFILE_NOT_FOUND": 0, "GET_DATE": 2, "FAILED_TO_EDIT_PROFILE": 3, "PHONE_IS_NOT_EMPTY": 4, "SEARCH_PROFILE_ERR": 5, "CACHE_DATA_Not_Found": 6, "FAILED_DELETE_PROFILE": 7, "SET_PRIVACY_PASSWORD_FAIL": 8, "NOT_SET_PRIVACY_PASSWORD": 9, "HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL": 10, "PARAMS_EMAIL_NOT_IS_USER_BIND": 11, "PARAMS_PHONE_NOT_IS_USER_BIND": 12, "USER_IS_NOT_CUSTOMER": 13, "THIS_SHARE_CODE_IS_INVALID": 14, } )
Enum value maps for ErrorProfileReason.
var ( ErrorUserReason_name = map[int32]string{ 0: "USER_NOT_FOUND", 1: "FAILED_TO_CREATE_USER", 2: "ACCOUNT_ALREADY_EXISTS", 3: "FAILED_TO_EDIT_USER", 4: "FAILED_UPDATE_USER_PASSWORD", 5: "DELETE_USER_FAILED", 6: "GET_USER_STATUS_FAILED", } ErrorUserReason_value = map[string]int32{ "USER_NOT_FOUND": 0, "FAILED_TO_CREATE_USER": 1, "ACCOUNT_ALREADY_EXISTS": 2, "FAILED_TO_EDIT_USER": 3, "FAILED_UPDATE_USER_PASSWORD": 4, "DELETE_USER_FAILED": 5, "GET_USER_STATUS_FAILED": 6, } )
Enum value maps for ErrorUserReason.
var File_api_im_cloud_user_v2_profile_error_proto protoreflect.FileDescriptor
var File_api_im_cloud_user_v2_user_error_proto protoreflect.FileDescriptor
var File_im_cloud_user_v2_profile_proto protoreflect.FileDescriptor
var File_im_cloud_user_v2_user_proto protoreflect.FileDescriptor
var Profile_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.im_cloud.user.v2.Profile", HandlerType: (*ProfileServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProfile", Handler: _Profile_GetProfile_Handler, }, { MethodName: "UpdateProfile", Handler: _Profile_UpdateProfile_Handler, }, { MethodName: "SetOption", Handler: _Profile_SetOption_Handler, }, { MethodName: "GetOptionVal", Handler: _Profile_GetOptionVal_Handler, }, { MethodName: "FindProfileByUserId", Handler: _Profile_FindProfileByUserId_Handler, }, { MethodName: "FindFullProfileByUserId", Handler: _Profile_FindFullProfileByUserId_Handler, }, { MethodName: "GetGlobalReceiveMessageOpt", Handler: _Profile_GetGlobalReceiveMessageOpt_Handler, }, { MethodName: "SearchProfile", Handler: _Profile_SearchProfile_Handler, }, { MethodName: "GetAllUserID", Handler: _Profile_GetAllUserID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "im_cloud/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.im_cloud.user.v2.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserLoginStatus", Handler: _User_GetUserLoginStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "im_cloud/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 ErrorAccountAlreadyExists ¶
创建用户错误
func ErrorCacheDataNotFound ¶
缓存数据未找到
func ErrorDeleteUserFailed ¶
删除用户错误
func ErrorFailedDeleteProfile ¶
删除用户信息失败
func ErrorFailedToCreateUser ¶
创建用户错误
func ErrorFailedToEditProfile ¶
编辑用户异常
func ErrorFailedToEditUser ¶
编辑用户异常
func ErrorFailedUpdateUserPassword ¶
更新用户密码错误
func ErrorGetUserStatusFailed ¶
获取用户状态错误
func ErrorHistoryPrivacyPasswordVerificationFail ¶
历史密码验证失败
func ErrorNotSetPrivacyPassword ¶
未设置私密聊天密码
func ErrorParamsEmailNotIsUserBind ¶
输入邮箱与用户绑定邮箱不一致
func ErrorParamsPhoneNotIsUserBind ¶
输入手机与用户绑定手机不一致
func ErrorPhoneIsNotEmpty ¶
手机号不能为空
func ErrorProfileNotFound ¶
用户信息未找到
func ErrorSearchProfileErr ¶
搜索用户错误
func ErrorSetPrivacyPasswordFail ¶
设置私密聊天密码失败
func ErrorThisShareCodeIsInvalid ¶
该推广码无效
func ErrorUserIsNotCustomer ¶
用户非客户
func ErrorUserNotFound ¶
用户未找到
func IsHistoryPrivacyPasswordVerificationFail ¶
历史密码验证失败
func RegisterProfileServer ¶
func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
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_SEARCH_PROFILE_ERR ErrorProfileReason = 5 // 缓存数据未找到 ErrorProfileReason_CACHE_DATA_Not_Found ErrorProfileReason = 6 // 删除用户信息失败 ErrorProfileReason_FAILED_DELETE_PROFILE ErrorProfileReason = 7 // 设置私密聊天密码失败 ErrorProfileReason_SET_PRIVACY_PASSWORD_FAIL ErrorProfileReason = 8 // 未设置私密聊天密码 ErrorProfileReason_NOT_SET_PRIVACY_PASSWORD ErrorProfileReason = 9 // 历史密码验证失败 ErrorProfileReason_HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL ErrorProfileReason = 10 // 输入邮箱与用户绑定邮箱不一致 ErrorProfileReason_PARAMS_EMAIL_NOT_IS_USER_BIND ErrorProfileReason = 11 // 输入手机与用户绑定手机不一致 ErrorProfileReason_PARAMS_PHONE_NOT_IS_USER_BIND ErrorProfileReason = 12 // 用户非客户 ErrorProfileReason_USER_IS_NOT_CUSTOMER ErrorProfileReason = 13 // 该推广码无效 ErrorProfileReason_THIS_SHARE_CODE_IS_INVALID 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 ErrorUserReason ¶
type ErrorUserReason int32
const ( // 用户未找到 ErrorUserReason_USER_NOT_FOUND ErrorUserReason = 0 // 创建用户错误 ErrorUserReason_FAILED_TO_CREATE_USER ErrorUserReason = 1 // 创建用户错误 ErrorUserReason_ACCOUNT_ALREADY_EXISTS ErrorUserReason = 2 // 编辑用户异常 ErrorUserReason_FAILED_TO_EDIT_USER ErrorUserReason = 3 // 更新用户密码错误 ErrorUserReason_FAILED_UPDATE_USER_PASSWORD ErrorUserReason = 4 // 删除用户错误 ErrorUserReason_DELETE_USER_FAILED ErrorUserReason = 5 // 获取用户状态错误 ErrorUserReason_GET_USER_STATUS_FAILED ErrorUserReason = 6 )
func (ErrorUserReason) Descriptor ¶
func (ErrorUserReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorUserReason) Enum ¶
func (x ErrorUserReason) Enum() *ErrorUserReason
func (ErrorUserReason) EnumDescriptor
deprecated
func (ErrorUserReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorUserReason.Descriptor instead.
func (ErrorUserReason) Number ¶
func (x ErrorUserReason) Number() protoreflect.EnumNumber
func (ErrorUserReason) String ¶
func (x ErrorUserReason) String() string
func (ErrorUserReason) Type ¶
func (ErrorUserReason) Type() protoreflect.EnumType
type FindFullProfileByUserIdReply ¶
type FindFullProfileByUserIdReply struct { List []*v2.UserProfile `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 用户信息列表 // contains filtered or unexported fields }
func (*FindFullProfileByUserIdReply) Descriptor
deprecated
func (*FindFullProfileByUserIdReply) Descriptor() ([]byte, []int)
Deprecated: Use FindFullProfileByUserIdReply.ProtoReflect.Descriptor instead.
func (*FindFullProfileByUserIdReply) GetList ¶
func (x *FindFullProfileByUserIdReply) GetList() []*v2.UserProfile
func (*FindFullProfileByUserIdReply) ProtoMessage ¶
func (*FindFullProfileByUserIdReply) ProtoMessage()
func (*FindFullProfileByUserIdReply) ProtoReflect ¶
func (x *FindFullProfileByUserIdReply) ProtoReflect() protoreflect.Message
func (*FindFullProfileByUserIdReply) Reset ¶
func (x *FindFullProfileByUserIdReply) Reset()
func (*FindFullProfileByUserIdReply) String ¶
func (x *FindFullProfileByUserIdReply) String() string
func (*FindFullProfileByUserIdReply) Validate ¶
func (m *FindFullProfileByUserIdReply) Validate() error
Validate checks the field values on FindFullProfileByUserIdReply 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 (*FindFullProfileByUserIdReply) ValidateAll ¶
func (m *FindFullProfileByUserIdReply) ValidateAll() error
ValidateAll checks the field values on FindFullProfileByUserIdReply 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 FindFullProfileByUserIdReplyMultiError, or nil if none found.
type FindFullProfileByUserIdReplyMultiError ¶
type FindFullProfileByUserIdReplyMultiError []error
FindFullProfileByUserIdReplyMultiError is an error wrapping multiple validation errors returned by FindFullProfileByUserIdReply.ValidateAll() if the designated constraints aren't met.
func (FindFullProfileByUserIdReplyMultiError) AllErrors ¶
func (m FindFullProfileByUserIdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindFullProfileByUserIdReplyMultiError) Error ¶
func (m FindFullProfileByUserIdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindFullProfileByUserIdReplyValidationError ¶
type FindFullProfileByUserIdReplyValidationError struct {
// contains filtered or unexported fields
}
FindFullProfileByUserIdReplyValidationError is the validation error returned by FindFullProfileByUserIdReply.Validate if the designated constraints aren't met.
func (FindFullProfileByUserIdReplyValidationError) Cause ¶
func (e FindFullProfileByUserIdReplyValidationError) Cause() error
Cause function returns cause value.
func (FindFullProfileByUserIdReplyValidationError) Error ¶
func (e FindFullProfileByUserIdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindFullProfileByUserIdReplyValidationError) ErrorName ¶
func (e FindFullProfileByUserIdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindFullProfileByUserIdReplyValidationError) Field ¶
func (e FindFullProfileByUserIdReplyValidationError) Field() string
Field function returns field value.
func (FindFullProfileByUserIdReplyValidationError) Key ¶
func (e FindFullProfileByUserIdReplyValidationError) Key() bool
Key function returns key value.
func (FindFullProfileByUserIdReplyValidationError) Reason ¶
func (e FindFullProfileByUserIdReplyValidationError) Reason() string
Reason function returns reason value.
type FindFullProfileByUserIdReq ¶
type FindFullProfileByUserIdReq struct { UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds,omitempty"` // 用户 id 数组 // contains filtered or unexported fields }
根据ids获取完整的用户信息不过过滤删除和和租户 存在 -------------------------------------------
func (*FindFullProfileByUserIdReq) Descriptor
deprecated
func (*FindFullProfileByUserIdReq) Descriptor() ([]byte, []int)
Deprecated: Use FindFullProfileByUserIdReq.ProtoReflect.Descriptor instead.
func (*FindFullProfileByUserIdReq) GetUserIds ¶
func (x *FindFullProfileByUserIdReq) GetUserIds() []string
func (*FindFullProfileByUserIdReq) ProtoMessage ¶
func (*FindFullProfileByUserIdReq) ProtoMessage()
func (*FindFullProfileByUserIdReq) ProtoReflect ¶
func (x *FindFullProfileByUserIdReq) ProtoReflect() protoreflect.Message
func (*FindFullProfileByUserIdReq) Reset ¶
func (x *FindFullProfileByUserIdReq) Reset()
func (*FindFullProfileByUserIdReq) String ¶
func (x *FindFullProfileByUserIdReq) String() string
func (*FindFullProfileByUserIdReq) Validate ¶
func (m *FindFullProfileByUserIdReq) Validate() error
Validate checks the field values on FindFullProfileByUserIdReq 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 (*FindFullProfileByUserIdReq) ValidateAll ¶
func (m *FindFullProfileByUserIdReq) ValidateAll() error
ValidateAll checks the field values on FindFullProfileByUserIdReq 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 FindFullProfileByUserIdReqMultiError, or nil if none found.
type FindFullProfileByUserIdReqMultiError ¶
type FindFullProfileByUserIdReqMultiError []error
FindFullProfileByUserIdReqMultiError is an error wrapping multiple validation errors returned by FindFullProfileByUserIdReq.ValidateAll() if the designated constraints aren't met.
func (FindFullProfileByUserIdReqMultiError) AllErrors ¶
func (m FindFullProfileByUserIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindFullProfileByUserIdReqMultiError) Error ¶
func (m FindFullProfileByUserIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindFullProfileByUserIdReqValidationError ¶
type FindFullProfileByUserIdReqValidationError struct {
// contains filtered or unexported fields
}
FindFullProfileByUserIdReqValidationError is the validation error returned by FindFullProfileByUserIdReq.Validate if the designated constraints aren't met.
func (FindFullProfileByUserIdReqValidationError) Cause ¶
func (e FindFullProfileByUserIdReqValidationError) Cause() error
Cause function returns cause value.
func (FindFullProfileByUserIdReqValidationError) Error ¶
func (e FindFullProfileByUserIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (FindFullProfileByUserIdReqValidationError) ErrorName ¶
func (e FindFullProfileByUserIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (FindFullProfileByUserIdReqValidationError) Field ¶
func (e FindFullProfileByUserIdReqValidationError) Field() string
Field function returns field value.
func (FindFullProfileByUserIdReqValidationError) Key ¶
func (e FindFullProfileByUserIdReqValidationError) Key() bool
Key function returns key value.
func (FindFullProfileByUserIdReqValidationError) Reason ¶
func (e FindFullProfileByUserIdReqValidationError) Reason() string
Reason function returns reason value.
type FindProfileByUserReply ¶
type FindProfileByUserReply struct { List []*v2.UserProfile `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 用户信息列表 // contains filtered or unexported fields }
func (*FindProfileByUserReply) Descriptor
deprecated
func (*FindProfileByUserReply) Descriptor() ([]byte, []int)
Deprecated: Use FindProfileByUserReply.ProtoReflect.Descriptor instead.
func (*FindProfileByUserReply) GetList ¶
func (x *FindProfileByUserReply) GetList() []*v2.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,1,rep,name=userIds,proto3" json:"userIds,omitempty"` // 用户 id 数组 // contains filtered or unexported fields }
根据id获取用户信息 存在 -------------------------------------------
func (*FindProfileByUserReq) Descriptor
deprecated
func (*FindProfileByUserReq) Descriptor() ([]byte, []int)
Deprecated: Use FindProfileByUserReq.ProtoReflect.Descriptor instead.
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 GetAllUserIDReply ¶
type GetAllUserIDReply struct { UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds,omitempty"` // contains filtered or unexported fields }
func (*GetAllUserIDReply) Descriptor
deprecated
func (*GetAllUserIDReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllUserIDReply.ProtoReflect.Descriptor instead.
func (*GetAllUserIDReply) GetUserIds ¶
func (x *GetAllUserIDReply) GetUserIds() []string
func (*GetAllUserIDReply) ProtoMessage ¶
func (*GetAllUserIDReply) ProtoMessage()
func (*GetAllUserIDReply) ProtoReflect ¶
func (x *GetAllUserIDReply) ProtoReflect() protoreflect.Message
func (*GetAllUserIDReply) Reset ¶
func (x *GetAllUserIDReply) Reset()
func (*GetAllUserIDReply) String ¶
func (x *GetAllUserIDReply) String() string
func (*GetAllUserIDReply) Validate ¶
func (m *GetAllUserIDReply) Validate() error
Validate checks the field values on GetAllUserIDReply 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 (*GetAllUserIDReply) ValidateAll ¶
func (m *GetAllUserIDReply) ValidateAll() error
ValidateAll checks the field values on GetAllUserIDReply 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 GetAllUserIDReplyMultiError, or nil if none found.
type GetAllUserIDReplyMultiError ¶
type GetAllUserIDReplyMultiError []error
GetAllUserIDReplyMultiError is an error wrapping multiple validation errors returned by GetAllUserIDReply.ValidateAll() if the designated constraints aren't met.
func (GetAllUserIDReplyMultiError) AllErrors ¶
func (m GetAllUserIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllUserIDReplyMultiError) Error ¶
func (m GetAllUserIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllUserIDReplyValidationError ¶
type GetAllUserIDReplyValidationError struct {
// contains filtered or unexported fields
}
GetAllUserIDReplyValidationError is the validation error returned by GetAllUserIDReply.Validate if the designated constraints aren't met.
func (GetAllUserIDReplyValidationError) Cause ¶
func (e GetAllUserIDReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAllUserIDReplyValidationError) Error ¶
func (e GetAllUserIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllUserIDReplyValidationError) ErrorName ¶
func (e GetAllUserIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllUserIDReplyValidationError) Field ¶
func (e GetAllUserIDReplyValidationError) Field() string
Field function returns field value.
func (GetAllUserIDReplyValidationError) Key ¶
func (e GetAllUserIDReplyValidationError) Key() bool
Key function returns key value.
func (GetAllUserIDReplyValidationError) Reason ¶
func (e GetAllUserIDReplyValidationError) Reason() string
Reason function returns reason value.
type GetAllUserIDReq ¶
type GetAllUserIDReq struct {
// contains filtered or unexported fields
}
获取用户列表 存在 -------------------------------------------
func (*GetAllUserIDReq) Descriptor
deprecated
func (*GetAllUserIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllUserIDReq.ProtoReflect.Descriptor instead.
func (*GetAllUserIDReq) ProtoMessage ¶
func (*GetAllUserIDReq) ProtoMessage()
func (*GetAllUserIDReq) ProtoReflect ¶
func (x *GetAllUserIDReq) ProtoReflect() protoreflect.Message
func (*GetAllUserIDReq) Reset ¶
func (x *GetAllUserIDReq) Reset()
func (*GetAllUserIDReq) String ¶
func (x *GetAllUserIDReq) String() string
func (*GetAllUserIDReq) Validate ¶
func (m *GetAllUserIDReq) Validate() error
Validate checks the field values on GetAllUserIDReq 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 (*GetAllUserIDReq) ValidateAll ¶
func (m *GetAllUserIDReq) ValidateAll() error
ValidateAll checks the field values on GetAllUserIDReq 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 GetAllUserIDReqMultiError, or nil if none found.
type GetAllUserIDReqMultiError ¶
type GetAllUserIDReqMultiError []error
GetAllUserIDReqMultiError is an error wrapping multiple validation errors returned by GetAllUserIDReq.ValidateAll() if the designated constraints aren't met.
func (GetAllUserIDReqMultiError) AllErrors ¶
func (m GetAllUserIDReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllUserIDReqMultiError) Error ¶
func (m GetAllUserIDReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllUserIDReqValidationError ¶
type GetAllUserIDReqValidationError struct {
// contains filtered or unexported fields
}
GetAllUserIDReqValidationError is the validation error returned by GetAllUserIDReq.Validate if the designated constraints aren't met.
func (GetAllUserIDReqValidationError) Cause ¶
func (e GetAllUserIDReqValidationError) Cause() error
Cause function returns cause value.
func (GetAllUserIDReqValidationError) Error ¶
func (e GetAllUserIDReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllUserIDReqValidationError) ErrorName ¶
func (e GetAllUserIDReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllUserIDReqValidationError) Field ¶
func (e GetAllUserIDReqValidationError) Field() string
Field function returns field value.
func (GetAllUserIDReqValidationError) Key ¶
func (e GetAllUserIDReqValidationError) Key() bool
Key function returns key value.
func (GetAllUserIDReqValidationError) Reason ¶
func (e GetAllUserIDReqValidationError) Reason() string
Reason function returns reason value.
type GetGlobalReceiveMessageOptReply ¶
type GetGlobalReceiveMessageOptReply struct { GlobalRecvMsgOpt int32 `protobuf:"varint,1,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"` // 0:正常;1:不接受消息;2:接受在线消息不接受离线消息; // contains filtered or unexported fields }
func (*GetGlobalReceiveMessageOptReply) Descriptor
deprecated
func (*GetGlobalReceiveMessageOptReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalReceiveMessageOptReply.ProtoReflect.Descriptor instead.
func (*GetGlobalReceiveMessageOptReply) GetGlobalRecvMsgOpt ¶
func (x *GetGlobalReceiveMessageOptReply) GetGlobalRecvMsgOpt() int32
func (*GetGlobalReceiveMessageOptReply) ProtoMessage ¶
func (*GetGlobalReceiveMessageOptReply) ProtoMessage()
func (*GetGlobalReceiveMessageOptReply) ProtoReflect ¶
func (x *GetGlobalReceiveMessageOptReply) ProtoReflect() protoreflect.Message
func (*GetGlobalReceiveMessageOptReply) Reset ¶
func (x *GetGlobalReceiveMessageOptReply) Reset()
func (*GetGlobalReceiveMessageOptReply) String ¶
func (x *GetGlobalReceiveMessageOptReply) String() string
func (*GetGlobalReceiveMessageOptReply) Validate ¶
func (m *GetGlobalReceiveMessageOptReply) Validate() error
Validate checks the field values on GetGlobalReceiveMessageOptReply 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 (*GetGlobalReceiveMessageOptReply) ValidateAll ¶
func (m *GetGlobalReceiveMessageOptReply) ValidateAll() error
ValidateAll checks the field values on GetGlobalReceiveMessageOptReply 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 GetGlobalReceiveMessageOptReplyMultiError, or nil if none found.
type GetGlobalReceiveMessageOptReplyMultiError ¶
type GetGlobalReceiveMessageOptReplyMultiError []error
GetGlobalReceiveMessageOptReplyMultiError is an error wrapping multiple validation errors returned by GetGlobalReceiveMessageOptReply.ValidateAll() if the designated constraints aren't met.
func (GetGlobalReceiveMessageOptReplyMultiError) AllErrors ¶
func (m GetGlobalReceiveMessageOptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGlobalReceiveMessageOptReplyMultiError) Error ¶
func (m GetGlobalReceiveMessageOptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGlobalReceiveMessageOptReplyValidationError ¶
type GetGlobalReceiveMessageOptReplyValidationError struct {
// contains filtered or unexported fields
}
GetGlobalReceiveMessageOptReplyValidationError is the validation error returned by GetGlobalReceiveMessageOptReply.Validate if the designated constraints aren't met.
func (GetGlobalReceiveMessageOptReplyValidationError) Cause ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) Cause() error
Cause function returns cause value.
func (GetGlobalReceiveMessageOptReplyValidationError) Error ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetGlobalReceiveMessageOptReplyValidationError) ErrorName ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetGlobalReceiveMessageOptReplyValidationError) Field ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) Field() string
Field function returns field value.
func (GetGlobalReceiveMessageOptReplyValidationError) Key ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) Key() bool
Key function returns key value.
func (GetGlobalReceiveMessageOptReplyValidationError) Reason ¶
func (e GetGlobalReceiveMessageOptReplyValidationError) Reason() string
Reason function returns reason value.
type GetGlobalReceiveMessageOptReq ¶
type GetGlobalReceiveMessageOptReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id // contains filtered or unexported fields }
获取用户全局消息配置项 存在 -------------------------------------------
func (*GetGlobalReceiveMessageOptReq) Descriptor
deprecated
func (*GetGlobalReceiveMessageOptReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalReceiveMessageOptReq.ProtoReflect.Descriptor instead.
func (*GetGlobalReceiveMessageOptReq) GetUserId ¶
func (x *GetGlobalReceiveMessageOptReq) GetUserId() string
func (*GetGlobalReceiveMessageOptReq) ProtoMessage ¶
func (*GetGlobalReceiveMessageOptReq) ProtoMessage()
func (*GetGlobalReceiveMessageOptReq) ProtoReflect ¶
func (x *GetGlobalReceiveMessageOptReq) ProtoReflect() protoreflect.Message
func (*GetGlobalReceiveMessageOptReq) Reset ¶
func (x *GetGlobalReceiveMessageOptReq) Reset()
func (*GetGlobalReceiveMessageOptReq) String ¶
func (x *GetGlobalReceiveMessageOptReq) String() string
func (*GetGlobalReceiveMessageOptReq) Validate ¶
func (m *GetGlobalReceiveMessageOptReq) Validate() error
Validate checks the field values on GetGlobalReceiveMessageOptReq 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 (*GetGlobalReceiveMessageOptReq) ValidateAll ¶
func (m *GetGlobalReceiveMessageOptReq) ValidateAll() error
ValidateAll checks the field values on GetGlobalReceiveMessageOptReq 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 GetGlobalReceiveMessageOptReqMultiError, or nil if none found.
type GetGlobalReceiveMessageOptReqMultiError ¶
type GetGlobalReceiveMessageOptReqMultiError []error
GetGlobalReceiveMessageOptReqMultiError is an error wrapping multiple validation errors returned by GetGlobalReceiveMessageOptReq.ValidateAll() if the designated constraints aren't met.
func (GetGlobalReceiveMessageOptReqMultiError) AllErrors ¶
func (m GetGlobalReceiveMessageOptReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGlobalReceiveMessageOptReqMultiError) Error ¶
func (m GetGlobalReceiveMessageOptReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGlobalReceiveMessageOptReqValidationError ¶
type GetGlobalReceiveMessageOptReqValidationError struct {
// contains filtered or unexported fields
}
GetGlobalReceiveMessageOptReqValidationError is the validation error returned by GetGlobalReceiveMessageOptReq.Validate if the designated constraints aren't met.
func (GetGlobalReceiveMessageOptReqValidationError) Cause ¶
func (e GetGlobalReceiveMessageOptReqValidationError) Cause() error
Cause function returns cause value.
func (GetGlobalReceiveMessageOptReqValidationError) Error ¶
func (e GetGlobalReceiveMessageOptReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetGlobalReceiveMessageOptReqValidationError) ErrorName ¶
func (e GetGlobalReceiveMessageOptReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetGlobalReceiveMessageOptReqValidationError) Field ¶
func (e GetGlobalReceiveMessageOptReqValidationError) Field() string
Field function returns field value.
func (GetGlobalReceiveMessageOptReqValidationError) Key ¶
func (e GetGlobalReceiveMessageOptReqValidationError) Key() bool
Key function returns key value.
func (GetGlobalReceiveMessageOptReqValidationError) Reason ¶
func (e GetGlobalReceiveMessageOptReqValidationError) Reason() string
Reason function returns reason value.
type GetOptionValReply ¶
type GetOptionValReply struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // 开启/关闭 // contains filtered or unexported fields }
func (*GetOptionValReply) Descriptor
deprecated
func (*GetOptionValReply) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionValReply.ProtoReflect.Descriptor instead.
func (*GetOptionValReply) GetValue ¶
func (x *GetOptionValReply) GetValue() int32
func (*GetOptionValReply) ProtoMessage ¶
func (*GetOptionValReply) ProtoMessage()
func (*GetOptionValReply) ProtoReflect ¶
func (x *GetOptionValReply) ProtoReflect() protoreflect.Message
func (*GetOptionValReply) Reset ¶
func (x *GetOptionValReply) Reset()
func (*GetOptionValReply) String ¶
func (x *GetOptionValReply) String() string
func (*GetOptionValReply) Validate ¶
func (m *GetOptionValReply) Validate() error
Validate checks the field values on GetOptionValReply 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 (*GetOptionValReply) ValidateAll ¶
func (m *GetOptionValReply) ValidateAll() error
ValidateAll checks the field values on GetOptionValReply 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 GetOptionValReplyMultiError, or nil if none found.
type GetOptionValReplyMultiError ¶
type GetOptionValReplyMultiError []error
GetOptionValReplyMultiError is an error wrapping multiple validation errors returned by GetOptionValReply.ValidateAll() if the designated constraints aren't met.
func (GetOptionValReplyMultiError) AllErrors ¶
func (m GetOptionValReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOptionValReplyMultiError) Error ¶
func (m GetOptionValReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOptionValReplyValidationError ¶
type GetOptionValReplyValidationError struct {
// contains filtered or unexported fields
}
GetOptionValReplyValidationError is the validation error returned by GetOptionValReply.Validate if the designated constraints aren't met.
func (GetOptionValReplyValidationError) Cause ¶
func (e GetOptionValReplyValidationError) Cause() error
Cause function returns cause value.
func (GetOptionValReplyValidationError) Error ¶
func (e GetOptionValReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetOptionValReplyValidationError) ErrorName ¶
func (e GetOptionValReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetOptionValReplyValidationError) Field ¶
func (e GetOptionValReplyValidationError) Field() string
Field function returns field value.
func (GetOptionValReplyValidationError) Key ¶
func (e GetOptionValReplyValidationError) Key() bool
Key function returns key value.
func (GetOptionValReplyValidationError) Reason ¶
func (e GetOptionValReplyValidationError) Reason() string
Reason function returns reason value.
type GetOptionValReq ¶
type GetOptionValReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id Option UserOption `protobuf:"varint,2,opt,name=option,proto3,enum=api.im_cloud.user.v2.UserOption" json:"option,omitempty"` // 配置项类型 // contains filtered or unexported fields }
查询用户配置项的值 存在 -------------------------------------------
func (*GetOptionValReq) Descriptor
deprecated
func (*GetOptionValReq) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionValReq.ProtoReflect.Descriptor instead.
func (*GetOptionValReq) GetOption ¶
func (x *GetOptionValReq) GetOption() UserOption
func (*GetOptionValReq) GetUserId ¶
func (x *GetOptionValReq) GetUserId() string
func (*GetOptionValReq) ProtoMessage ¶
func (*GetOptionValReq) ProtoMessage()
func (*GetOptionValReq) ProtoReflect ¶
func (x *GetOptionValReq) ProtoReflect() protoreflect.Message
func (*GetOptionValReq) Reset ¶
func (x *GetOptionValReq) Reset()
func (*GetOptionValReq) String ¶
func (x *GetOptionValReq) String() string
func (*GetOptionValReq) Validate ¶
func (m *GetOptionValReq) Validate() error
Validate checks the field values on GetOptionValReq 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 (*GetOptionValReq) ValidateAll ¶
func (m *GetOptionValReq) ValidateAll() error
ValidateAll checks the field values on GetOptionValReq 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 GetOptionValReqMultiError, or nil if none found.
type GetOptionValReqMultiError ¶
type GetOptionValReqMultiError []error
GetOptionValReqMultiError is an error wrapping multiple validation errors returned by GetOptionValReq.ValidateAll() if the designated constraints aren't met.
func (GetOptionValReqMultiError) AllErrors ¶
func (m GetOptionValReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOptionValReqMultiError) Error ¶
func (m GetOptionValReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOptionValReqValidationError ¶
type GetOptionValReqValidationError struct {
// contains filtered or unexported fields
}
GetOptionValReqValidationError is the validation error returned by GetOptionValReq.Validate if the designated constraints aren't met.
func (GetOptionValReqValidationError) Cause ¶
func (e GetOptionValReqValidationError) Cause() error
Cause function returns cause value.
func (GetOptionValReqValidationError) Error ¶
func (e GetOptionValReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetOptionValReqValidationError) ErrorName ¶
func (e GetOptionValReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetOptionValReqValidationError) Field ¶
func (e GetOptionValReqValidationError) Field() string
Field function returns field value.
func (GetOptionValReqValidationError) Key ¶
func (e GetOptionValReqValidationError) Key() bool
Key function returns key value.
func (GetOptionValReqValidationError) Reason ¶
func (e GetOptionValReqValidationError) Reason() string
Reason function returns reason value.
type GetProfileReply ¶
type GetProfileReply struct { Profile *v2.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() *v2.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 Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // 账号 Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // 编码 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号或账号 Emil string `protobuf:"bytes,5,opt,name=emil,proto3" json:"emil,omitempty"` // 用户邮箱 // contains filtered or unexported fields }
获取用户信息 存在 -------------------------------------------
func (*GetProfileReq) Descriptor
deprecated
func (*GetProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileReq.ProtoReflect.Descriptor instead.
func (*GetProfileReq) GetAccount ¶
func (x *GetProfileReq) GetAccount() string
func (*GetProfileReq) GetCode ¶
func (x *GetProfileReq) GetCode() string
func (*GetProfileReq) GetEmil ¶
func (x *GetProfileReq) GetEmil() string
func (*GetProfileReq) GetPhone ¶
func (x *GetProfileReq) GetPhone() 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 GetUserLoginStatusReply ¶
type GetUserLoginStatusReply struct { Data *v2.OnlineStatus `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetUserLoginStatusReply) Descriptor
deprecated
func (*GetUserLoginStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLoginStatusReply.ProtoReflect.Descriptor instead.
func (*GetUserLoginStatusReply) GetData ¶
func (x *GetUserLoginStatusReply) GetData() *v2.OnlineStatus
func (*GetUserLoginStatusReply) ProtoMessage ¶
func (*GetUserLoginStatusReply) ProtoMessage()
func (*GetUserLoginStatusReply) ProtoReflect ¶
func (x *GetUserLoginStatusReply) ProtoReflect() protoreflect.Message
func (*GetUserLoginStatusReply) Reset ¶
func (x *GetUserLoginStatusReply) Reset()
func (*GetUserLoginStatusReply) String ¶
func (x *GetUserLoginStatusReply) String() string
func (*GetUserLoginStatusReply) Validate ¶
func (m *GetUserLoginStatusReply) Validate() error
Validate checks the field values on GetUserLoginStatusReply 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 (*GetUserLoginStatusReply) ValidateAll ¶
func (m *GetUserLoginStatusReply) ValidateAll() error
ValidateAll checks the field values on GetUserLoginStatusReply 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 GetUserLoginStatusReplyMultiError, or nil if none found.
type GetUserLoginStatusReplyMultiError ¶
type GetUserLoginStatusReplyMultiError []error
GetUserLoginStatusReplyMultiError is an error wrapping multiple validation errors returned by GetUserLoginStatusReply.ValidateAll() if the designated constraints aren't met.
func (GetUserLoginStatusReplyMultiError) AllErrors ¶
func (m GetUserLoginStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserLoginStatusReplyMultiError) Error ¶
func (m GetUserLoginStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserLoginStatusReplyValidationError ¶
type GetUserLoginStatusReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserLoginStatusReplyValidationError is the validation error returned by GetUserLoginStatusReply.Validate if the designated constraints aren't met.
func (GetUserLoginStatusReplyValidationError) Cause ¶
func (e GetUserLoginStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserLoginStatusReplyValidationError) Error ¶
func (e GetUserLoginStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserLoginStatusReplyValidationError) ErrorName ¶
func (e GetUserLoginStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserLoginStatusReplyValidationError) Field ¶
func (e GetUserLoginStatusReplyValidationError) Field() string
Field function returns field value.
func (GetUserLoginStatusReplyValidationError) Key ¶
func (e GetUserLoginStatusReplyValidationError) Key() bool
Key function returns key value.
func (GetUserLoginStatusReplyValidationError) Reason ¶
func (e GetUserLoginStatusReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserLoginStatusReq ¶
type GetUserLoginStatusReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*GetUserLoginStatusReq) Descriptor
deprecated
func (*GetUserLoginStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLoginStatusReq.ProtoReflect.Descriptor instead.
func (*GetUserLoginStatusReq) GetUserID ¶
func (x *GetUserLoginStatusReq) GetUserID() string
func (*GetUserLoginStatusReq) ProtoMessage ¶
func (*GetUserLoginStatusReq) ProtoMessage()
func (*GetUserLoginStatusReq) ProtoReflect ¶
func (x *GetUserLoginStatusReq) ProtoReflect() protoreflect.Message
func (*GetUserLoginStatusReq) Reset ¶
func (x *GetUserLoginStatusReq) Reset()
func (*GetUserLoginStatusReq) String ¶
func (x *GetUserLoginStatusReq) String() string
func (*GetUserLoginStatusReq) Validate ¶
func (m *GetUserLoginStatusReq) Validate() error
Validate checks the field values on GetUserLoginStatusReq 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 (*GetUserLoginStatusReq) ValidateAll ¶
func (m *GetUserLoginStatusReq) ValidateAll() error
ValidateAll checks the field values on GetUserLoginStatusReq 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 GetUserLoginStatusReqMultiError, or nil if none found.
type GetUserLoginStatusReqMultiError ¶
type GetUserLoginStatusReqMultiError []error
GetUserLoginStatusReqMultiError is an error wrapping multiple validation errors returned by GetUserLoginStatusReq.ValidateAll() if the designated constraints aren't met.
func (GetUserLoginStatusReqMultiError) AllErrors ¶
func (m GetUserLoginStatusReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserLoginStatusReqMultiError) Error ¶
func (m GetUserLoginStatusReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserLoginStatusReqValidationError ¶
type GetUserLoginStatusReqValidationError struct {
// contains filtered or unexported fields
}
GetUserLoginStatusReqValidationError is the validation error returned by GetUserLoginStatusReq.Validate if the designated constraints aren't met.
func (GetUserLoginStatusReqValidationError) Cause ¶
func (e GetUserLoginStatusReqValidationError) Cause() error
Cause function returns cause value.
func (GetUserLoginStatusReqValidationError) Error ¶
func (e GetUserLoginStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserLoginStatusReqValidationError) ErrorName ¶
func (e GetUserLoginStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserLoginStatusReqValidationError) Field ¶
func (e GetUserLoginStatusReqValidationError) Field() string
Field function returns field value.
func (GetUserLoginStatusReqValidationError) Key ¶
func (e GetUserLoginStatusReqValidationError) Key() bool
Key function returns key value.
func (GetUserLoginStatusReqValidationError) Reason ¶
func (e GetUserLoginStatusReqValidationError) 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) // 用户配置项 存在 SetOption(ctx context.Context, in *SetOptionReq, opts ...grpc.CallOption) (*SetOptionReply, error) // 获取配置项的值 存在 GetOptionVal(ctx context.Context, in *GetOptionValReq, opts ...grpc.CallOption) (*GetOptionValReply, error) // 根据ids获取用户信息 存在 FindProfileByUserId(ctx context.Context, in *FindProfileByUserReq, opts ...grpc.CallOption) (*FindProfileByUserReply, error) // 根据ids获取完整的用户信息不过过滤删除和和租户 存在 FindFullProfileByUserId(ctx context.Context, in *FindFullProfileByUserIdReq, opts ...grpc.CallOption) (*FindFullProfileByUserIdReply, error) // 获取用户全局消息配置项 存在 GetGlobalReceiveMessageOpt(ctx context.Context, in *GetGlobalReceiveMessageOptReq, opts ...grpc.CallOption) (*GetGlobalReceiveMessageOptReply, error) // 搜索用户 存在 SearchProfile(ctx context.Context, in *SearchProfileReq, opts ...grpc.CallOption) (*SearchProfileReply, error) // 获取所有的用户id 存在 GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDReply, 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.
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) // 用户配置项 存在 SetOption(context.Context, *SetOptionReq) (*SetOptionReply, error) // 获取配置项的值 存在 GetOptionVal(context.Context, *GetOptionValReq) (*GetOptionValReply, error) // 根据ids获取用户信息 存在 FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error) // 根据ids获取完整的用户信息不过过滤删除和和租户 存在 FindFullProfileByUserId(context.Context, *FindFullProfileByUserIdReq) (*FindFullProfileByUserIdReply, error) // 获取用户全局消息配置项 存在 GetGlobalReceiveMessageOpt(context.Context, *GetGlobalReceiveMessageOptReq) (*GetGlobalReceiveMessageOptReply, error) // 搜索用户 存在 SearchProfile(context.Context, *SearchProfileReq) (*SearchProfileReply, error) // 获取所有的用户id 存在 GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDReply, error) // contains filtered or unexported methods }
ProfileServer is the server API for Profile service. All implementations must embed UnimplementedProfileServer for forward compatibility
type SearchProfileReply ¶
type SearchProfileReply struct { Data *v2.UserProfile `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 用户信息 // contains filtered or unexported fields }
func (*SearchProfileReply) Descriptor
deprecated
func (*SearchProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use SearchProfileReply.ProtoReflect.Descriptor instead.
func (*SearchProfileReply) GetData ¶
func (x *SearchProfileReply) GetData() *v2.UserProfile
func (*SearchProfileReply) ProtoMessage ¶
func (*SearchProfileReply) ProtoMessage()
func (*SearchProfileReply) ProtoReflect ¶
func (x *SearchProfileReply) ProtoReflect() protoreflect.Message
func (*SearchProfileReply) Reset ¶
func (x *SearchProfileReply) Reset()
func (*SearchProfileReply) String ¶
func (x *SearchProfileReply) String() string
func (*SearchProfileReply) Validate ¶
func (m *SearchProfileReply) Validate() error
Validate checks the field values on SearchProfileReply 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 (*SearchProfileReply) ValidateAll ¶
func (m *SearchProfileReply) ValidateAll() error
ValidateAll checks the field values on SearchProfileReply 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 SearchProfileReplyMultiError, or nil if none found.
type SearchProfileReplyMultiError ¶
type SearchProfileReplyMultiError []error
SearchProfileReplyMultiError is an error wrapping multiple validation errors returned by SearchProfileReply.ValidateAll() if the designated constraints aren't met.
func (SearchProfileReplyMultiError) AllErrors ¶
func (m SearchProfileReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchProfileReplyMultiError) Error ¶
func (m SearchProfileReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchProfileReplyValidationError ¶
type SearchProfileReplyValidationError struct {
// contains filtered or unexported fields
}
SearchProfileReplyValidationError is the validation error returned by SearchProfileReply.Validate if the designated constraints aren't met.
func (SearchProfileReplyValidationError) Cause ¶
func (e SearchProfileReplyValidationError) Cause() error
Cause function returns cause value.
func (SearchProfileReplyValidationError) Error ¶
func (e SearchProfileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SearchProfileReplyValidationError) ErrorName ¶
func (e SearchProfileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SearchProfileReplyValidationError) Field ¶
func (e SearchProfileReplyValidationError) Field() string
Field function returns field value.
func (SearchProfileReplyValidationError) Key ¶
func (e SearchProfileReplyValidationError) Key() bool
Key function returns key value.
func (SearchProfileReplyValidationError) Reason ¶
func (e SearchProfileReplyValidationError) Reason() string
Reason function returns reason value.
type SearchProfileReq ¶
type SearchProfileReq struct { SearchValue string `protobuf:"bytes,1,opt,name=search_value,json=searchValue,proto3" json:"search_value,omitempty"` // 手机号或者用户ID Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 1-手机 2-用户ID 3-扫码 4-身份证号 5-邮箱 // contains filtered or unexported fields }
搜索用户 存在 -------------------------------------------
func (*SearchProfileReq) Descriptor
deprecated
func (*SearchProfileReq) Descriptor() ([]byte, []int)
Deprecated: Use SearchProfileReq.ProtoReflect.Descriptor instead.
func (*SearchProfileReq) GetSearchValue ¶
func (x *SearchProfileReq) GetSearchValue() string
func (*SearchProfileReq) GetType ¶
func (x *SearchProfileReq) GetType() int32
func (*SearchProfileReq) ProtoMessage ¶
func (*SearchProfileReq) ProtoMessage()
func (*SearchProfileReq) ProtoReflect ¶
func (x *SearchProfileReq) ProtoReflect() protoreflect.Message
func (*SearchProfileReq) Reset ¶
func (x *SearchProfileReq) Reset()
func (*SearchProfileReq) String ¶
func (x *SearchProfileReq) String() string
func (*SearchProfileReq) Validate ¶
func (m *SearchProfileReq) Validate() error
Validate checks the field values on SearchProfileReq 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 (*SearchProfileReq) ValidateAll ¶
func (m *SearchProfileReq) ValidateAll() error
ValidateAll checks the field values on SearchProfileReq 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 SearchProfileReqMultiError, or nil if none found.
type SearchProfileReqMultiError ¶
type SearchProfileReqMultiError []error
SearchProfileReqMultiError is an error wrapping multiple validation errors returned by SearchProfileReq.ValidateAll() if the designated constraints aren't met.
func (SearchProfileReqMultiError) AllErrors ¶
func (m SearchProfileReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchProfileReqMultiError) Error ¶
func (m SearchProfileReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchProfileReqValidationError ¶
type SearchProfileReqValidationError struct {
// contains filtered or unexported fields
}
SearchProfileReqValidationError is the validation error returned by SearchProfileReq.Validate if the designated constraints aren't met.
func (SearchProfileReqValidationError) Cause ¶
func (e SearchProfileReqValidationError) Cause() error
Cause function returns cause value.
func (SearchProfileReqValidationError) Error ¶
func (e SearchProfileReqValidationError) Error() string
Error satisfies the builtin error interface
func (SearchProfileReqValidationError) ErrorName ¶
func (e SearchProfileReqValidationError) ErrorName() string
ErrorName returns error name.
func (SearchProfileReqValidationError) Field ¶
func (e SearchProfileReqValidationError) Field() string
Field function returns field value.
func (SearchProfileReqValidationError) Key ¶
func (e SearchProfileReqValidationError) Key() bool
Key function returns key value.
func (SearchProfileReqValidationError) Reason ¶
func (e SearchProfileReqValidationError) Reason() string
Reason function returns reason value.
type SetOptionReply ¶
type SetOptionReply struct {
// contains filtered or unexported fields
}
func (*SetOptionReply) Descriptor
deprecated
func (*SetOptionReply) Descriptor() ([]byte, []int)
Deprecated: Use SetOptionReply.ProtoReflect.Descriptor instead.
func (*SetOptionReply) ProtoMessage ¶
func (*SetOptionReply) ProtoMessage()
func (*SetOptionReply) ProtoReflect ¶
func (x *SetOptionReply) ProtoReflect() protoreflect.Message
func (*SetOptionReply) Reset ¶
func (x *SetOptionReply) Reset()
func (*SetOptionReply) String ¶
func (x *SetOptionReply) String() string
func (*SetOptionReply) Validate ¶
func (m *SetOptionReply) Validate() error
Validate checks the field values on SetOptionReply 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 (*SetOptionReply) ValidateAll ¶
func (m *SetOptionReply) ValidateAll() error
ValidateAll checks the field values on SetOptionReply 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 SetOptionReplyMultiError, or nil if none found.
type SetOptionReplyMultiError ¶
type SetOptionReplyMultiError []error
SetOptionReplyMultiError is an error wrapping multiple validation errors returned by SetOptionReply.ValidateAll() if the designated constraints aren't met.
func (SetOptionReplyMultiError) AllErrors ¶
func (m SetOptionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOptionReplyMultiError) Error ¶
func (m SetOptionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOptionReplyValidationError ¶
type SetOptionReplyValidationError struct {
// contains filtered or unexported fields
}
SetOptionReplyValidationError is the validation error returned by SetOptionReply.Validate if the designated constraints aren't met.
func (SetOptionReplyValidationError) Cause ¶
func (e SetOptionReplyValidationError) Cause() error
Cause function returns cause value.
func (SetOptionReplyValidationError) Error ¶
func (e SetOptionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SetOptionReplyValidationError) ErrorName ¶
func (e SetOptionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SetOptionReplyValidationError) Field ¶
func (e SetOptionReplyValidationError) Field() string
Field function returns field value.
func (SetOptionReplyValidationError) Key ¶
func (e SetOptionReplyValidationError) Key() bool
Key function returns key value.
func (SetOptionReplyValidationError) Reason ¶
func (e SetOptionReplyValidationError) Reason() string
Reason function returns reason value.
type SetOptionReq ¶
type SetOptionReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id Option UserOption `protobuf:"varint,2,opt,name=option,proto3,enum=api.im_cloud.user.v2.UserOption" json:"option,omitempty"` // 配置项类型 Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // 值 // contains filtered or unexported fields }
用户配置项 存在 -------------------------------------------
func (*SetOptionReq) Descriptor
deprecated
func (*SetOptionReq) Descriptor() ([]byte, []int)
Deprecated: Use SetOptionReq.ProtoReflect.Descriptor instead.
func (*SetOptionReq) GetOption ¶
func (x *SetOptionReq) GetOption() UserOption
func (*SetOptionReq) GetUserId ¶
func (x *SetOptionReq) GetUserId() string
func (*SetOptionReq) GetValue ¶
func (x *SetOptionReq) GetValue() int32
func (*SetOptionReq) ProtoMessage ¶
func (*SetOptionReq) ProtoMessage()
func (*SetOptionReq) ProtoReflect ¶
func (x *SetOptionReq) ProtoReflect() protoreflect.Message
func (*SetOptionReq) Reset ¶
func (x *SetOptionReq) Reset()
func (*SetOptionReq) String ¶
func (x *SetOptionReq) String() string
func (*SetOptionReq) Validate ¶
func (m *SetOptionReq) Validate() error
Validate checks the field values on SetOptionReq 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 (*SetOptionReq) ValidateAll ¶
func (m *SetOptionReq) ValidateAll() error
ValidateAll checks the field values on SetOptionReq 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 SetOptionReqMultiError, or nil if none found.
type SetOptionReqMultiError ¶
type SetOptionReqMultiError []error
SetOptionReqMultiError is an error wrapping multiple validation errors returned by SetOptionReq.ValidateAll() if the designated constraints aren't met.
func (SetOptionReqMultiError) AllErrors ¶
func (m SetOptionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetOptionReqMultiError) Error ¶
func (m SetOptionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetOptionReqValidationError ¶
type SetOptionReqValidationError struct {
// contains filtered or unexported fields
}
SetOptionReqValidationError is the validation error returned by SetOptionReq.Validate if the designated constraints aren't met.
func (SetOptionReqValidationError) Cause ¶
func (e SetOptionReqValidationError) Cause() error
Cause function returns cause value.
func (SetOptionReqValidationError) Error ¶
func (e SetOptionReqValidationError) Error() string
Error satisfies the builtin error interface
func (SetOptionReqValidationError) ErrorName ¶
func (e SetOptionReqValidationError) ErrorName() string
ErrorName returns error name.
func (SetOptionReqValidationError) Field ¶
func (e SetOptionReqValidationError) Field() string
Field function returns field value.
func (SetOptionReqValidationError) Key ¶
func (e SetOptionReqValidationError) Key() bool
Key function returns key value.
func (SetOptionReqValidationError) Reason ¶
func (e SetOptionReqValidationError) Reason() string
Reason function returns reason value.
type Switch ¶
type Switch int32
func (Switch) Descriptor ¶
func (Switch) Descriptor() protoreflect.EnumDescriptor
func (Switch) EnumDescriptor
deprecated
func (Switch) Number ¶
func (x Switch) Number() protoreflect.EnumNumber
func (Switch) Type ¶
func (Switch) Type() protoreflect.EnumType
type UnimplementedProfileServer ¶
type UnimplementedProfileServer struct { }
UnimplementedProfileServer must be embedded to have forward compatible implementations.
func (UnimplementedProfileServer) FindFullProfileByUserId ¶
func (UnimplementedProfileServer) FindFullProfileByUserId(context.Context, *FindFullProfileByUserIdReq) (*FindFullProfileByUserIdReply, error)
func (UnimplementedProfileServer) FindProfileByUserId ¶
func (UnimplementedProfileServer) FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error)
func (UnimplementedProfileServer) GetAllUserID ¶
func (UnimplementedProfileServer) GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDReply, error)
func (UnimplementedProfileServer) GetGlobalReceiveMessageOpt ¶
func (UnimplementedProfileServer) GetGlobalReceiveMessageOpt(context.Context, *GetGlobalReceiveMessageOptReq) (*GetGlobalReceiveMessageOptReply, error)
func (UnimplementedProfileServer) GetOptionVal ¶
func (UnimplementedProfileServer) GetOptionVal(context.Context, *GetOptionValReq) (*GetOptionValReply, error)
func (UnimplementedProfileServer) GetProfile ¶
func (UnimplementedProfileServer) GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error)
func (UnimplementedProfileServer) SearchProfile ¶
func (UnimplementedProfileServer) SearchProfile(context.Context, *SearchProfileReq) (*SearchProfileReply, error)
func (UnimplementedProfileServer) SetOption ¶
func (UnimplementedProfileServer) SetOption(context.Context, *SetOptionReq) (*SetOptionReply, 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) GetUserLoginStatus ¶
func (UnimplementedUserServer) GetUserLoginStatus(context.Context, *GetUserLoginStatusReq) (*GetUserLoginStatusReply, 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 UpdateProfileReply ¶
type UpdateProfileReply struct { Profile *v2.UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileReply) Descriptor
deprecated
func (*UpdateProfileReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileReply.ProtoReflect.Descriptor instead.
func (*UpdateProfileReply) GetProfile ¶
func (x *UpdateProfileReply) GetProfile() *v2.UserProfile
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 *int32 `protobuf:"varint,4,opt,name=gender,proto3,oneof" json:"gender,omitempty"` // 性别 1:女 2:男 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"` // 生日 IsOpenMoments *uint32 `protobuf:"varint,10,opt,name=IsOpenMoments,proto3,oneof" json:"IsOpenMoments,omitempty"` // 是否公开朋友圈 1公开 2不公开 // 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) GetGender ¶
func (x *UpdateProfileReq) GetGender() int32
func (*UpdateProfileReq) GetIsOpenMoments ¶
func (x *UpdateProfileReq) GetIsOpenMoments() uint32
func (*UpdateProfileReq) GetMessage ¶
func (x *UpdateProfileReq) GetMessage() string
func (*UpdateProfileReq) GetNickname ¶
func (x *UpdateProfileReq) GetNickname() string
func (*UpdateProfileReq) GetPhone ¶
func (x *UpdateProfileReq) GetPhone() string
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 { // 获取用户登录状态 GetUserLoginStatus(ctx context.Context, in *GetUserLoginStatusReq, opts ...grpc.CallOption) (*GetUserLoginStatusReply, 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 UserOption ¶
type UserOption int32
const ( UserOption_notLoginStatus UserOption = 0 // 禁止登录 UserOption_isOpenMoments UserOption = 1 //是否公开朋友圈 UserOption_qrCodeAdd UserOption = 2 //是否开启二维码 UserOption_cardAdd UserOption = 3 //是否开启名片 UserOption_groupAdd UserOption = 4 //是否开启群添加 UserOption_codeAdd UserOption = 5 //开启code UserOption_phoneAdd UserOption = 6 //开启手机号 UserOption_showLastLogin UserOption = 7 //好友是否可见我的上线时间 UserOption_multipleDeviceLogin UserOption = 8 //是否允许多设备登陆 UserOption_isAdmin UserOption = 9 //是否管理员账号 UserOption_isOpenWallet UserOption = 10 // 是否开启钱包 UserOption_appMangerLevel UserOption = 11 // 应用管理等级 UserOption_globalRecvMsgOpt UserOption = 12 // 0:正常;1:不接受消息;2:接受在线消息不接受离线消息; UserOption_isReal UserOption = 13 //是否实名 UserOption_isCustomerService UserOption = 14 // 是否客服账号 UserOption_isTenant UserOption = 15 // 是否租户 UserOption_isSetPrivatePassword UserOption = 16 //是否设置私密对话密码,1-是 0-否 UserOption_welcomeMessage UserOption = 17 //客服配置的欢迎语 )
func (UserOption) Descriptor ¶
func (UserOption) Descriptor() protoreflect.EnumDescriptor
func (UserOption) Enum ¶
func (x UserOption) Enum() *UserOption
func (UserOption) EnumDescriptor
deprecated
func (UserOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserOption.Descriptor instead.
func (UserOption) Number ¶
func (x UserOption) Number() protoreflect.EnumNumber
func (UserOption) String ¶
func (x UserOption) String() string
func (UserOption) Type ¶
func (UserOption) Type() protoreflect.EnumType
type UserServer ¶
type UserServer interface { // 获取用户登录状态 GetUserLoginStatus(context.Context, *GetUserLoginStatusReq) (*GetUserLoginStatusReply, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility