v2

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Profile_GetProfile_FullMethodName          = "/api.user_center.user.v2.Profile/GetProfile"
	Profile_UpdateProfile_FullMethodName       = "/api.user_center.user.v2.Profile/UpdateProfile"
	Profile_ListProfile_FullMethodName         = "/api.user_center.user.v2.Profile/ListProfile"
	Profile_GetList_FullMethodName             = "/api.user_center.user.v2.Profile/GetList"
	Profile_GetByAccount_FullMethodName        = "/api.user_center.user.v2.Profile/GetByAccount"
	Profile_GetByPhone_FullMethodName          = "/api.user_center.user.v2.Profile/GetByPhone"
	Profile_GetByEmail_FullMethodName          = "/api.user_center.user.v2.Profile/GetByEmail"
	Profile_GetByCode_FullMethodName           = "/api.user_center.user.v2.Profile/GetByCode"
	Profile_FindProfileByUserId_FullMethodName = "/api.user_center.user.v2.Profile/FindProfileByUserId"
	Profile_BatchInsert_FullMethodName         = "/api.user_center.user.v2.Profile/BatchInsert"
	Profile_IsReal_FullMethodName              = "/api.user_center.user.v2.Profile/IsReal"
)
View Source
const (
	User_CreateUser_FullMethodName                         = "/api.user_center.user.v2.User/CreateUser"
	User_UpdatePassword_FullMethodName                     = "/api.user_center.user.v2.User/UpdatePassword"
	User_DeleteUser_FullMethodName                         = "/api.user_center.user.v2.User/DeleteUser"
	User_VerifyPassword_FullMethodName                     = "/api.user_center.user.v2.User/VerifyPassword"
	User_BatchInsert_FullMethodName                        = "/api.user_center.user.v2.User/BatchInsert"
	User_GetSyncUserInfo_FullMethodName                    = "/api.user_center.user.v2.User/GetSyncUserInfo"
	User_SyncUserInfo_FullMethodName                       = "/api.user_center.user.v2.User/SyncUserInfo"
	User_GetNodeInfoByUserId_FullMethodName                = "/api.user_center.user.v2.User/GetNodeInfoByUserId"
	User_DistributeUser_FullMethodName                     = "/api.user_center.user.v2.User/DistributeUser"
	User_GetUserNodeByNodeIdAndCenterUserId_FullMethodName = "/api.user_center.user.v2.User/GetUserNodeByNodeIdAndCenterUserId"
	User_CancelNodeAccount_FullMethodName                  = "/api.user_center.user.v2.User/CancelNodeAccount"
)

Variables

View Source
var (
	ErrorProfileReason_name = map[int32]string{
		0:  "PROFILE_NOT_FOUND",
		2:  "GET_DATE",
		3:  "FAILED_TO_EDIT_PROFILE",
		4:  "PHONE_IS_NOT_EMPTY",
		5:  "FAILED_DELETE_PROFILE",
		6:  "HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL",
		7:  "PARAMS_EMAIL_NOT_IS_USER_BIND",
		8:  "PARAMS_PHONE_NOT_IS_USER_BIND",
		9:  "EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY",
		10: "BATCH_INSERT_ERROR",
		11: "DATA_IS_NOT_EMPTY",
		12: "USER_HAS_REAL_NAME",
		13: "ID_NUMBER_HAS_BEEN_USED",
		14: "USER_REAL_NAME_ERR",
	}
	ErrorProfileReason_value = map[string]int32{
		"PROFILE_NOT_FOUND":                              0,
		"GET_DATE":                                       2,
		"FAILED_TO_EDIT_PROFILE":                         3,
		"PHONE_IS_NOT_EMPTY":                             4,
		"FAILED_DELETE_PROFILE":                          5,
		"HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL":     6,
		"PARAMS_EMAIL_NOT_IS_USER_BIND":                  7,
		"PARAMS_PHONE_NOT_IS_USER_BIND":                  8,
		"EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY": 9,
		"BATCH_INSERT_ERROR":                             10,
		"DATA_IS_NOT_EMPTY":                              11,
		"USER_HAS_REAL_NAME":                             12,
		"ID_NUMBER_HAS_BEEN_USED":                        13,
		"USER_REAL_NAME_ERR":                             14,
	}
)

Enum value maps for ErrorProfileReason.

View Source
var (
	UserOnlineType_name = map[int32]string{
		0: "USER_ONLINE_TYPE_OFFLINE",
		1: "USER_ONLINE_TYPE_ONLINE",
	}
	UserOnlineType_value = map[string]int32{
		"USER_ONLINE_TYPE_OFFLINE": 0,
		"USER_ONLINE_TYPE_ONLINE":  1,
	}
)

Enum value maps for UserOnlineType.

View Source
var (
	ErrorReason_name = map[int32]string{
		0:  "ERROR_REASON_PARAMS",
		1:  "ERROR_REASON_SYSTEM",
		3:  "ERROR_REASON_PASSWORD",
		4:  "ERROR_REASON_NAME_IS_EXIST",
		5:  "ERROR_CREATE_USER",
		6:  "EMAIL_ALREADY_EXISTS",
		7:  "JOIN_NODE_ERR",
		8:  "THIS_SHARE_CODE_IS_INVALID",
		9:  "USER_ALREADY_JOIN_NODE",
		10: "NODE_NOT_FANG",
	}
	ErrorReason_value = map[string]int32{
		"ERROR_REASON_PARAMS":        0,
		"ERROR_REASON_SYSTEM":        1,
		"ERROR_REASON_PASSWORD":      3,
		"ERROR_REASON_NAME_IS_EXIST": 4,
		"ERROR_CREATE_USER":          5,
		"EMAIL_ALREADY_EXISTS":       6,
		"JOIN_NODE_ERR":              7,
		"THIS_SHARE_CODE_IS_INVALID": 8,
		"USER_ALREADY_JOIN_NODE":     9,
		"NODE_NOT_FANG":              10,
	}
)

Enum value maps for ErrorReason.

View Source
var File_api_user_center_user_v2_profile_error_proto protoreflect.FileDescriptor
View Source
var File_api_user_center_user_v2_user_error_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_v2_profile_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_v2_user_proto protoreflect.FileDescriptor
View Source
var Profile_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.user_center.user.v2.Profile",
	HandlerType: (*ProfileServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProfile",
			Handler:    _Profile_GetProfile_Handler,
		},
		{
			MethodName: "UpdateProfile",
			Handler:    _Profile_UpdateProfile_Handler,
		},
		{
			MethodName: "ListProfile",
			Handler:    _Profile_ListProfile_Handler,
		},
		{
			MethodName: "GetList",
			Handler:    _Profile_GetList_Handler,
		},
		{
			MethodName: "GetByAccount",
			Handler:    _Profile_GetByAccount_Handler,
		},
		{
			MethodName: "GetByPhone",
			Handler:    _Profile_GetByPhone_Handler,
		},
		{
			MethodName: "GetByEmail",
			Handler:    _Profile_GetByEmail_Handler,
		},
		{
			MethodName: "GetByCode",
			Handler:    _Profile_GetByCode_Handler,
		},
		{
			MethodName: "FindProfileByUserId",
			Handler:    _Profile_FindProfileByUserId_Handler,
		},
		{
			MethodName: "BatchInsert",
			Handler:    _Profile_BatchInsert_Handler,
		},
		{
			MethodName: "IsReal",
			Handler:    _Profile_IsReal_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_center/user/v2/profile.proto",
}

Profile_ServiceDesc is the grpc.ServiceDesc for Profile service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.user_center.user.v2.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _User_UpdatePassword_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _User_DeleteUser_Handler,
		},
		{
			MethodName: "VerifyPassword",
			Handler:    _User_VerifyPassword_Handler,
		},
		{
			MethodName: "BatchInsert",
			Handler:    _User_BatchInsert_Handler,
		},
		{
			MethodName: "GetSyncUserInfo",
			Handler:    _User_GetSyncUserInfo_Handler,
		},
		{
			MethodName: "SyncUserInfo",
			Handler:    _User_SyncUserInfo_Handler,
		},
		{
			MethodName: "GetNodeInfoByUserId",
			Handler:    _User_GetNodeInfoByUserId_Handler,
		},
		{
			MethodName: "DistributeUser",
			Handler:    _User_DistributeUser_Handler,
		},
		{
			MethodName: "GetUserNodeByNodeIdAndCenterUserId",
			Handler:    _User_GetUserNodeByNodeIdAndCenterUserId_Handler,
		},
		{
			MethodName: "CancelNodeAccount",
			Handler:    _User_CancelNodeAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_center/user/v2/user.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func ErrorBatchInsertError

func ErrorBatchInsertError(format string, args ...interface{}) *errors.Error

批量导入失败

func ErrorDataIsNotEmpty

func ErrorDataIsNotEmpty(format string, args ...interface{}) *errors.Error

数据不能为空

func ErrorEmailAlreadyExists

func ErrorEmailAlreadyExists(format string, args ...interface{}) *errors.Error

邮箱已被使用

func ErrorErrorCreateUser

func ErrorErrorCreateUser(format string, args ...interface{}) *errors.Error

创建用户失败

func ErrorErrorReasonNameIsExist

func ErrorErrorReasonNameIsExist(format string, args ...interface{}) *errors.Error

用户名已存在

func ErrorErrorReasonParams

func ErrorErrorReasonParams(format string, args ...interface{}) *errors.Error

为某个枚举单独设置错误码

func ErrorErrorReasonPassword

func ErrorErrorReasonPassword(format string, args ...interface{}) *errors.Error

密码错误

func ErrorErrorReasonSystem

func ErrorErrorReasonSystem(format string, args ...interface{}) *errors.Error

系统错误

func ErrorExceededTheMaximumBatchProcessingQuantity

func ErrorExceededTheMaximumBatchProcessingQuantity(format string, args ...interface{}) *errors.Error

超过批处理的最大数量

func ErrorFailedDeleteProfile

func ErrorFailedDeleteProfile(format string, args ...interface{}) *errors.Error

删除用户信息失败

func ErrorFailedToEditProfile

func ErrorFailedToEditProfile(format string, args ...interface{}) *errors.Error

编辑用户异常

func ErrorGetDate

func ErrorGetDate(format string, args ...interface{}) *errors.Error

获取数据失败

func ErrorHistoryPrivacyPasswordVerificationFail

func ErrorHistoryPrivacyPasswordVerificationFail(format string, args ...interface{}) *errors.Error

历史密码验证失败

func ErrorIdNumberHasBeenUsed

func ErrorIdNumberHasBeenUsed(format string, args ...interface{}) *errors.Error

身份证好已被他人绑定

func ErrorJoinNodeErr

func ErrorJoinNodeErr(format string, args ...interface{}) *errors.Error

加入社区失败

func ErrorNodeNotFang

func ErrorNodeNotFang(format string, args ...interface{}) *errors.Error

社区不存在

func ErrorParamsEmailNotIsUserBind

func ErrorParamsEmailNotIsUserBind(format string, args ...interface{}) *errors.Error

输入邮箱与用户绑定邮箱不一致

func ErrorParamsPhoneNotIsUserBind

func ErrorParamsPhoneNotIsUserBind(format string, args ...interface{}) *errors.Error

输入手机与用户绑定手机不一致

func ErrorPhoneIsNotEmpty

func ErrorPhoneIsNotEmpty(format string, args ...interface{}) *errors.Error

手机号不能为空

func ErrorProfileNotFound

func ErrorProfileNotFound(format string, args ...interface{}) *errors.Error

用户信息未找到

func ErrorThisShareCodeIsInvalid

func ErrorThisShareCodeIsInvalid(format string, args ...interface{}) *errors.Error

推广码无效

func ErrorUserAlreadyJoinNode

func ErrorUserAlreadyJoinNode(format string, args ...interface{}) *errors.Error

func ErrorUserHasRealName

func ErrorUserHasRealName(format string, args ...interface{}) *errors.Error

用户已经实名

func ErrorUserRealNameErr

func ErrorUserRealNameErr(format string, args ...interface{}) *errors.Error

实名认证失败

func IsBatchInsertError

func IsBatchInsertError(err error) bool

批量导入失败

func IsDataIsNotEmpty

func IsDataIsNotEmpty(err error) bool

数据不能为空

func IsEmailAlreadyExists

func IsEmailAlreadyExists(err error) bool

邮箱已被使用

func IsErrorCreateUser

func IsErrorCreateUser(err error) bool

创建用户失败

func IsErrorReasonNameIsExist

func IsErrorReasonNameIsExist(err error) bool

用户名已存在

func IsErrorReasonParams

func IsErrorReasonParams(err error) bool

为某个枚举单独设置错误码

func IsErrorReasonPassword

func IsErrorReasonPassword(err error) bool

密码错误

func IsErrorReasonSystem

func IsErrorReasonSystem(err error) bool

系统错误

func IsExceededTheMaximumBatchProcessingQuantity

func IsExceededTheMaximumBatchProcessingQuantity(err error) bool

超过批处理的最大数量

func IsFailedDeleteProfile

func IsFailedDeleteProfile(err error) bool

删除用户信息失败

func IsFailedToEditProfile

func IsFailedToEditProfile(err error) bool

编辑用户异常

func IsGetDate

func IsGetDate(err error) bool

获取数据失败

func IsHistoryPrivacyPasswordVerificationFail

func IsHistoryPrivacyPasswordVerificationFail(err error) bool

历史密码验证失败

func IsIdNumberHasBeenUsed

func IsIdNumberHasBeenUsed(err error) bool

身份证好已被他人绑定

func IsJoinNodeErr

func IsJoinNodeErr(err error) bool

加入社区失败

func IsNodeNotFang

func IsNodeNotFang(err error) bool

社区不存在

func IsParamsEmailNotIsUserBind

func IsParamsEmailNotIsUserBind(err error) bool

输入邮箱与用户绑定邮箱不一致

func IsParamsPhoneNotIsUserBind

func IsParamsPhoneNotIsUserBind(err error) bool

输入手机与用户绑定手机不一致

func IsPhoneIsNotEmpty

func IsPhoneIsNotEmpty(err error) bool

手机号不能为空

func IsProfileNotFound

func IsProfileNotFound(err error) bool

用户信息未找到

func IsThisShareCodeIsInvalid

func IsThisShareCodeIsInvalid(err error) bool

推广码无效

func IsUserAlreadyJoinNode

func IsUserAlreadyJoinNode(err error) bool

func IsUserHasRealName

func IsUserHasRealName(err error) bool

用户已经实名

func IsUserRealNameErr

func IsUserRealNameErr(err error) bool

实名认证失败

func RegisterProfileServer

func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type BatchInsertProfileReply

type BatchInsertProfileReply struct {
	// contains filtered or unexported fields
}

func (*BatchInsertProfileReply) Descriptor deprecated

func (*BatchInsertProfileReply) Descriptor() ([]byte, []int)

Deprecated: Use BatchInsertProfileReply.ProtoReflect.Descriptor instead.

func (*BatchInsertProfileReply) ProtoMessage

func (*BatchInsertProfileReply) ProtoMessage()

func (*BatchInsertProfileReply) ProtoReflect

func (x *BatchInsertProfileReply) ProtoReflect() protoreflect.Message

func (*BatchInsertProfileReply) Reset

func (x *BatchInsertProfileReply) Reset()

func (*BatchInsertProfileReply) String

func (x *BatchInsertProfileReply) String() string

func (*BatchInsertProfileReply) Validate

func (m *BatchInsertProfileReply) Validate() error

Validate checks the field values on BatchInsertProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchInsertProfileReply) ValidateAll

func (m *BatchInsertProfileReply) ValidateAll() error

ValidateAll checks the field values on BatchInsertProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchInsertProfileReplyMultiError, or nil if none found.

type BatchInsertProfileReplyMultiError

type BatchInsertProfileReplyMultiError []error

BatchInsertProfileReplyMultiError is an error wrapping multiple validation errors returned by BatchInsertProfileReply.ValidateAll() if the designated constraints aren't met.

func (BatchInsertProfileReplyMultiError) AllErrors

func (m BatchInsertProfileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchInsertProfileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BatchInsertProfileReplyValidationError

type BatchInsertProfileReplyValidationError struct {
	// contains filtered or unexported fields
}

BatchInsertProfileReplyValidationError is the validation error returned by BatchInsertProfileReply.Validate if the designated constraints aren't met.

func (BatchInsertProfileReplyValidationError) Cause

Cause function returns cause value.

func (BatchInsertProfileReplyValidationError) Error

Error satisfies the builtin error interface

func (BatchInsertProfileReplyValidationError) ErrorName

ErrorName returns error name.

func (BatchInsertProfileReplyValidationError) Field

Field function returns field value.

func (BatchInsertProfileReplyValidationError) Key

Key function returns key value.

func (BatchInsertProfileReplyValidationError) Reason

Reason function returns reason value.

type BatchInsertProfileReq

type BatchInsertProfileReq struct {
	NodeId string         `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id
	List   []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`     // 插入的数据
	// contains filtered or unexported fields
}

批量插入

func (*BatchInsertProfileReq) Descriptor deprecated

func (*BatchInsertProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use BatchInsertProfileReq.ProtoReflect.Descriptor instead.

func (*BatchInsertProfileReq) GetList

func (x *BatchInsertProfileReq) GetList() []*UserProfile

func (*BatchInsertProfileReq) GetNodeId

func (x *BatchInsertProfileReq) GetNodeId() string

func (*BatchInsertProfileReq) ProtoMessage

func (*BatchInsertProfileReq) ProtoMessage()

func (*BatchInsertProfileReq) ProtoReflect

func (x *BatchInsertProfileReq) ProtoReflect() protoreflect.Message

func (*BatchInsertProfileReq) Reset

func (x *BatchInsertProfileReq) Reset()

func (*BatchInsertProfileReq) String

func (x *BatchInsertProfileReq) String() string

func (*BatchInsertProfileReq) Validate

func (m *BatchInsertProfileReq) Validate() error

Validate checks the field values on BatchInsertProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchInsertProfileReq) ValidateAll

func (m *BatchInsertProfileReq) ValidateAll() error

ValidateAll checks the field values on BatchInsertProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchInsertProfileReqMultiError, or nil if none found.

type BatchInsertProfileReqMultiError

type BatchInsertProfileReqMultiError []error

BatchInsertProfileReqMultiError is an error wrapping multiple validation errors returned by BatchInsertProfileReq.ValidateAll() if the designated constraints aren't met.

func (BatchInsertProfileReqMultiError) AllErrors

func (m BatchInsertProfileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchInsertProfileReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BatchInsertProfileReqValidationError

type BatchInsertProfileReqValidationError struct {
	// contains filtered or unexported fields
}

BatchInsertProfileReqValidationError is the validation error returned by BatchInsertProfileReq.Validate if the designated constraints aren't met.

func (BatchInsertProfileReqValidationError) Cause

Cause function returns cause value.

func (BatchInsertProfileReqValidationError) Error

Error satisfies the builtin error interface

func (BatchInsertProfileReqValidationError) ErrorName

ErrorName returns error name.

func (BatchInsertProfileReqValidationError) Field

Field function returns field value.

func (BatchInsertProfileReqValidationError) Key

Key function returns key value.

func (BatchInsertProfileReqValidationError) Reason

Reason function returns reason value.

type BatchInsertUserReply

type BatchInsertUserReply struct {
	// contains filtered or unexported fields
}

func (*BatchInsertUserReply) Descriptor deprecated

func (*BatchInsertUserReply) Descriptor() ([]byte, []int)

Deprecated: Use BatchInsertUserReply.ProtoReflect.Descriptor instead.

func (*BatchInsertUserReply) ProtoMessage

func (*BatchInsertUserReply) ProtoMessage()

func (*BatchInsertUserReply) ProtoReflect

func (x *BatchInsertUserReply) ProtoReflect() protoreflect.Message

func (*BatchInsertUserReply) Reset

func (x *BatchInsertUserReply) Reset()

func (*BatchInsertUserReply) String

func (x *BatchInsertUserReply) String() string

func (*BatchInsertUserReply) Validate

func (m *BatchInsertUserReply) Validate() error

Validate checks the field values on BatchInsertUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchInsertUserReply) ValidateAll

func (m *BatchInsertUserReply) ValidateAll() error

ValidateAll checks the field values on BatchInsertUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchInsertUserReplyMultiError, or nil if none found.

type BatchInsertUserReplyMultiError

type BatchInsertUserReplyMultiError []error

BatchInsertUserReplyMultiError is an error wrapping multiple validation errors returned by BatchInsertUserReply.ValidateAll() if the designated constraints aren't met.

func (BatchInsertUserReplyMultiError) AllErrors

func (m BatchInsertUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchInsertUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BatchInsertUserReplyValidationError

type BatchInsertUserReplyValidationError struct {
	// contains filtered or unexported fields
}

BatchInsertUserReplyValidationError is the validation error returned by BatchInsertUserReply.Validate if the designated constraints aren't met.

func (BatchInsertUserReplyValidationError) Cause

Cause function returns cause value.

func (BatchInsertUserReplyValidationError) Error

Error satisfies the builtin error interface

func (BatchInsertUserReplyValidationError) ErrorName

ErrorName returns error name.

func (BatchInsertUserReplyValidationError) Field

Field function returns field value.

func (BatchInsertUserReplyValidationError) Key

Key function returns key value.

func (BatchInsertUserReplyValidationError) Reason

Reason function returns reason value.

type BatchInsertUserReq

type BatchInsertUserReq struct {
	NodeId string      `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id
	List   []*UserData `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`     // 插入的数据
	// contains filtered or unexported fields
}

批量插入

func (*BatchInsertUserReq) Descriptor deprecated

func (*BatchInsertUserReq) Descriptor() ([]byte, []int)

Deprecated: Use BatchInsertUserReq.ProtoReflect.Descriptor instead.

func (*BatchInsertUserReq) GetList

func (x *BatchInsertUserReq) GetList() []*UserData

func (*BatchInsertUserReq) GetNodeId

func (x *BatchInsertUserReq) GetNodeId() string

func (*BatchInsertUserReq) ProtoMessage

func (*BatchInsertUserReq) ProtoMessage()

func (*BatchInsertUserReq) ProtoReflect

func (x *BatchInsertUserReq) ProtoReflect() protoreflect.Message

func (*BatchInsertUserReq) Reset

func (x *BatchInsertUserReq) Reset()

func (*BatchInsertUserReq) String

func (x *BatchInsertUserReq) String() string

func (*BatchInsertUserReq) Validate

func (m *BatchInsertUserReq) Validate() error

Validate checks the field values on BatchInsertUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BatchInsertUserReq) ValidateAll

func (m *BatchInsertUserReq) ValidateAll() error

ValidateAll checks the field values on BatchInsertUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchInsertUserReqMultiError, or nil if none found.

type BatchInsertUserReqMultiError

type BatchInsertUserReqMultiError []error

BatchInsertUserReqMultiError is an error wrapping multiple validation errors returned by BatchInsertUserReq.ValidateAll() if the designated constraints aren't met.

func (BatchInsertUserReqMultiError) AllErrors

func (m BatchInsertUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatchInsertUserReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BatchInsertUserReqValidationError

type BatchInsertUserReqValidationError struct {
	// contains filtered or unexported fields
}

BatchInsertUserReqValidationError is the validation error returned by BatchInsertUserReq.Validate if the designated constraints aren't met.

func (BatchInsertUserReqValidationError) Cause

Cause function returns cause value.

func (BatchInsertUserReqValidationError) Error

Error satisfies the builtin error interface

func (BatchInsertUserReqValidationError) ErrorName

ErrorName returns error name.

func (BatchInsertUserReqValidationError) Field

Field function returns field value.

func (BatchInsertUserReqValidationError) Key

Key function returns key value.

func (BatchInsertUserReqValidationError) Reason

Reason function returns reason value.

type CancelNodeAccountReply

type CancelNodeAccountReply struct {
	// contains filtered or unexported fields
}

func (*CancelNodeAccountReply) Descriptor deprecated

func (*CancelNodeAccountReply) Descriptor() ([]byte, []int)

Deprecated: Use CancelNodeAccountReply.ProtoReflect.Descriptor instead.

func (*CancelNodeAccountReply) ProtoMessage

func (*CancelNodeAccountReply) ProtoMessage()

func (*CancelNodeAccountReply) ProtoReflect

func (x *CancelNodeAccountReply) ProtoReflect() protoreflect.Message

func (*CancelNodeAccountReply) Reset

func (x *CancelNodeAccountReply) Reset()

func (*CancelNodeAccountReply) String

func (x *CancelNodeAccountReply) String() string

func (*CancelNodeAccountReply) Validate

func (m *CancelNodeAccountReply) Validate() error

Validate checks the field values on CancelNodeAccountReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CancelNodeAccountReply) ValidateAll

func (m *CancelNodeAccountReply) ValidateAll() error

ValidateAll checks the field values on CancelNodeAccountReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelNodeAccountReplyMultiError, or nil if none found.

type CancelNodeAccountReplyMultiError

type CancelNodeAccountReplyMultiError []error

CancelNodeAccountReplyMultiError is an error wrapping multiple validation errors returned by CancelNodeAccountReply.ValidateAll() if the designated constraints aren't met.

func (CancelNodeAccountReplyMultiError) AllErrors

func (m CancelNodeAccountReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CancelNodeAccountReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CancelNodeAccountReplyValidationError

type CancelNodeAccountReplyValidationError struct {
	// contains filtered or unexported fields
}

CancelNodeAccountReplyValidationError is the validation error returned by CancelNodeAccountReply.Validate if the designated constraints aren't met.

func (CancelNodeAccountReplyValidationError) Cause

Cause function returns cause value.

func (CancelNodeAccountReplyValidationError) Error

Error satisfies the builtin error interface

func (CancelNodeAccountReplyValidationError) ErrorName

ErrorName returns error name.

func (CancelNodeAccountReplyValidationError) Field

Field function returns field value.

func (CancelNodeAccountReplyValidationError) Key

Key function returns key value.

func (CancelNodeAccountReplyValidationError) Reason

Reason function returns reason value.

type CancelNodeAccountReq

type CancelNodeAccountReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

注销账号 -------------------------------------------

func (*CancelNodeAccountReq) Descriptor deprecated

func (*CancelNodeAccountReq) Descriptor() ([]byte, []int)

Deprecated: Use CancelNodeAccountReq.ProtoReflect.Descriptor instead.

func (*CancelNodeAccountReq) GetUserId

func (x *CancelNodeAccountReq) GetUserId() string

func (*CancelNodeAccountReq) ProtoMessage

func (*CancelNodeAccountReq) ProtoMessage()

func (*CancelNodeAccountReq) ProtoReflect

func (x *CancelNodeAccountReq) ProtoReflect() protoreflect.Message

func (*CancelNodeAccountReq) Reset

func (x *CancelNodeAccountReq) Reset()

func (*CancelNodeAccountReq) String

func (x *CancelNodeAccountReq) String() string

func (*CancelNodeAccountReq) Validate

func (m *CancelNodeAccountReq) Validate() error

Validate checks the field values on CancelNodeAccountReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CancelNodeAccountReq) ValidateAll

func (m *CancelNodeAccountReq) ValidateAll() error

ValidateAll checks the field values on CancelNodeAccountReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelNodeAccountReqMultiError, or nil if none found.

type CancelNodeAccountReqMultiError

type CancelNodeAccountReqMultiError []error

CancelNodeAccountReqMultiError is an error wrapping multiple validation errors returned by CancelNodeAccountReq.ValidateAll() if the designated constraints aren't met.

func (CancelNodeAccountReqMultiError) AllErrors

func (m CancelNodeAccountReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CancelNodeAccountReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CancelNodeAccountReqValidationError

type CancelNodeAccountReqValidationError struct {
	// contains filtered or unexported fields
}

CancelNodeAccountReqValidationError is the validation error returned by CancelNodeAccountReq.Validate if the designated constraints aren't met.

func (CancelNodeAccountReqValidationError) Cause

Cause function returns cause value.

func (CancelNodeAccountReqValidationError) Error

Error satisfies the builtin error interface

func (CancelNodeAccountReqValidationError) ErrorName

ErrorName returns error name.

func (CancelNodeAccountReqValidationError) Field

Field function returns field value.

func (CancelNodeAccountReqValidationError) Key

Key function returns key value.

func (CancelNodeAccountReqValidationError) Reason

Reason function returns reason value.

type CreateUserReply

type CreateUserReply struct {
	// contains filtered or unexported fields
}

func (*CreateUserReply) Descriptor deprecated

func (*CreateUserReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.

func (*CreateUserReply) ProtoMessage

func (*CreateUserReply) ProtoMessage()

func (*CreateUserReply) ProtoReflect

func (x *CreateUserReply) ProtoReflect() protoreflect.Message

func (*CreateUserReply) Reset

func (x *CreateUserReply) Reset()

func (*CreateUserReply) String

func (x *CreateUserReply) String() string

func (*CreateUserReply) Validate

func (m *CreateUserReply) Validate() error

Validate checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserReply) ValidateAll

func (m *CreateUserReply) ValidateAll() error

ValidateAll checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserReplyMultiError, or nil if none found.

type CreateUserReplyMultiError

type CreateUserReplyMultiError []error

CreateUserReplyMultiError is an error wrapping multiple validation errors returned by CreateUserReply.ValidateAll() if the designated constraints aren't met.

func (CreateUserReplyMultiError) AllErrors

func (m CreateUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserReplyValidationError

type CreateUserReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.

func (CreateUserReplyValidationError) Cause

Cause function returns cause value.

func (CreateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateUserReplyValidationError) ErrorName

func (e CreateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateUserReplyValidationError) Field

Field function returns field value.

func (CreateUserReplyValidationError) Key

Key function returns key value.

func (CreateUserReplyValidationError) Reason

Reason function returns reason value.

type CreateUserReq

type CreateUserReq struct {
	Account     string         `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`                                              //账号
	AccountType v2.AccountType `protobuf:"varint,2,opt,name=accountType,proto3,enum=api.common.enum.v2.AccountType" json:"accountType,omitempty"` //账号类型
	Password    string         `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`                                            // 密码
	Nickname    string         `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"`                                            // 昵称
	AreaCode    int32          `protobuf:"varint,5,opt,name=areaCode,proto3" json:"areaCode,omitempty"`                                           // 区号
	ShareCode   string         `protobuf:"bytes,6,opt,name=shareCode,proto3" json:"shareCode,omitempty"`                                          // 分享码
	FaceUrl     string         `protobuf:"bytes,7,opt,name=faceUrl,proto3" json:"faceUrl,omitempty"`                                              // 头像
	Email       string         `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`                                                  // 邮箱
	Phone       string         `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"`                                                  // 手机号
	Gender      v2.Gender      `protobuf:"varint,10,opt,name=gender,proto3,enum=api.common.enum.v2.Gender" json:"gender,omitempty"`               // 性别 1,女;2,男
	IsGenerate  int32          `protobuf:"varint,11,opt,name=isGenerate,proto3" json:"isGenerate,omitempty"`                                      //是否后台生成账号
	NodeId      string         `protobuf:"bytes,12,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                                               //节点id
	TenantId    string         `protobuf:"bytes,13,opt,name=tenantId,proto3" json:"tenantId,omitempty"`                                           // 租户id
	FromUserId  string         `protobuf:"bytes,14,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"`                                       //来源用户id
	// contains filtered or unexported fields
}

创建用户 -------------------------------------------

func (*CreateUserReq) Descriptor deprecated

func (*CreateUserReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserReq.ProtoReflect.Descriptor instead.

func (*CreateUserReq) GetAccount

func (x *CreateUserReq) GetAccount() string

func (*CreateUserReq) GetAccountType

func (x *CreateUserReq) GetAccountType() v2.AccountType

func (*CreateUserReq) GetAreaCode

func (x *CreateUserReq) GetAreaCode() int32

func (*CreateUserReq) GetEmail

func (x *CreateUserReq) GetEmail() string

func (*CreateUserReq) GetFaceUrl

func (x *CreateUserReq) GetFaceUrl() string

func (*CreateUserReq) GetFromUserId

func (x *CreateUserReq) GetFromUserId() string

func (*CreateUserReq) GetGender

func (x *CreateUserReq) GetGender() v2.Gender

func (*CreateUserReq) GetIsGenerate

func (x *CreateUserReq) GetIsGenerate() int32

func (*CreateUserReq) GetNickname

func (x *CreateUserReq) GetNickname() string

func (*CreateUserReq) GetNodeId

func (x *CreateUserReq) GetNodeId() string

func (*CreateUserReq) GetPassword

func (x *CreateUserReq) GetPassword() string

func (*CreateUserReq) GetPhone

func (x *CreateUserReq) GetPhone() string

func (*CreateUserReq) GetShareCode

func (x *CreateUserReq) GetShareCode() string

func (*CreateUserReq) GetTenantId

func (x *CreateUserReq) GetTenantId() string

func (*CreateUserReq) ProtoMessage

func (*CreateUserReq) ProtoMessage()

func (*CreateUserReq) ProtoReflect

func (x *CreateUserReq) ProtoReflect() protoreflect.Message

func (*CreateUserReq) Reset

func (x *CreateUserReq) Reset()

func (*CreateUserReq) String

func (x *CreateUserReq) String() string

func (*CreateUserReq) Validate

func (m *CreateUserReq) Validate() error

Validate checks the field values on CreateUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserReq) ValidateAll

func (m *CreateUserReq) ValidateAll() error

ValidateAll checks the field values on CreateUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserReqMultiError, or nil if none found.

type CreateUserReqMultiError

type CreateUserReqMultiError []error

CreateUserReqMultiError is an error wrapping multiple validation errors returned by CreateUserReq.ValidateAll() if the designated constraints aren't met.

func (CreateUserReqMultiError) AllErrors

func (m CreateUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserReqMultiError) Error

func (m CreateUserReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateUserReqValidationError

type CreateUserReqValidationError struct {
	// contains filtered or unexported fields
}

CreateUserReqValidationError is the validation error returned by CreateUserReq.Validate if the designated constraints aren't met.

func (CreateUserReqValidationError) Cause

Cause function returns cause value.

func (CreateUserReqValidationError) Error

Error satisfies the builtin error interface

func (CreateUserReqValidationError) ErrorName

func (e CreateUserReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateUserReqValidationError) Field

Field function returns field value.

func (CreateUserReqValidationError) Key

Key function returns key value.

func (CreateUserReqValidationError) Reason

Reason function returns reason value.

type DeleteUserReply

type DeleteUserReply struct {
	// contains filtered or unexported fields
}

func (*DeleteUserReply) Descriptor deprecated

func (*DeleteUserReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.

func (*DeleteUserReply) ProtoMessage

func (*DeleteUserReply) ProtoMessage()

func (*DeleteUserReply) ProtoReflect

func (x *DeleteUserReply) ProtoReflect() protoreflect.Message

func (*DeleteUserReply) Reset

func (x *DeleteUserReply) Reset()

func (*DeleteUserReply) String

func (x *DeleteUserReply) String() string

func (*DeleteUserReply) Validate

func (m *DeleteUserReply) Validate() error

Validate checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserReply) ValidateAll

func (m *DeleteUserReply) ValidateAll() error

ValidateAll checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReplyMultiError, or nil if none found.

type DeleteUserReplyMultiError

type DeleteUserReplyMultiError []error

DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.

func (DeleteUserReplyMultiError) AllErrors

func (m DeleteUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserReplyValidationError

type DeleteUserReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.

func (DeleteUserReplyValidationError) Cause

Cause function returns cause value.

func (DeleteUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserReplyValidationError) ErrorName

func (e DeleteUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteUserReplyValidationError) Field

Field function returns field value.

func (DeleteUserReplyValidationError) Key

Key function returns key value.

func (DeleteUserReplyValidationError) Reason

Reason function returns reason value.

type DeleteUserReq

type DeleteUserReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户 id
	// contains filtered or unexported fields
}

删除用户 -------------------------------------------

func (*DeleteUserReq) Descriptor deprecated

func (*DeleteUserReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserReq.ProtoReflect.Descriptor instead.

func (*DeleteUserReq) GetUserId

func (x *DeleteUserReq) GetUserId() string

func (*DeleteUserReq) ProtoMessage

func (*DeleteUserReq) ProtoMessage()

func (*DeleteUserReq) ProtoReflect

func (x *DeleteUserReq) ProtoReflect() protoreflect.Message

func (*DeleteUserReq) Reset

func (x *DeleteUserReq) Reset()

func (*DeleteUserReq) String

func (x *DeleteUserReq) String() string

func (*DeleteUserReq) Validate

func (m *DeleteUserReq) Validate() error

Validate checks the field values on DeleteUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserReq) ValidateAll

func (m *DeleteUserReq) ValidateAll() error

ValidateAll checks the field values on DeleteUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReqMultiError, or nil if none found.

type DeleteUserReqMultiError

type DeleteUserReqMultiError []error

DeleteUserReqMultiError is an error wrapping multiple validation errors returned by DeleteUserReq.ValidateAll() if the designated constraints aren't met.

func (DeleteUserReqMultiError) AllErrors

func (m DeleteUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserReqMultiError) Error

func (m DeleteUserReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteUserReqValidationError

type DeleteUserReqValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserReqValidationError is the validation error returned by DeleteUserReq.Validate if the designated constraints aren't met.

func (DeleteUserReqValidationError) Cause

Cause function returns cause value.

func (DeleteUserReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserReqValidationError) ErrorName

func (e DeleteUserReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteUserReqValidationError) Field

Field function returns field value.

func (DeleteUserReqValidationError) Key

Key function returns key value.

func (DeleteUserReqValidationError) Reason

Reason function returns reason value.

type DistributeUserReply

type DistributeUserReply struct {
	// contains filtered or unexported fields
}

func (*DistributeUserReply) Descriptor deprecated

func (*DistributeUserReply) Descriptor() ([]byte, []int)

Deprecated: Use DistributeUserReply.ProtoReflect.Descriptor instead.

func (*DistributeUserReply) ProtoMessage

func (*DistributeUserReply) ProtoMessage()

func (*DistributeUserReply) ProtoReflect

func (x *DistributeUserReply) ProtoReflect() protoreflect.Message

func (*DistributeUserReply) Reset

func (x *DistributeUserReply) Reset()

func (*DistributeUserReply) String

func (x *DistributeUserReply) String() string

func (*DistributeUserReply) Validate

func (m *DistributeUserReply) Validate() error

Validate checks the field values on DistributeUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DistributeUserReply) ValidateAll

func (m *DistributeUserReply) ValidateAll() error

ValidateAll checks the field values on DistributeUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DistributeUserReplyMultiError, or nil if none found.

type DistributeUserReplyMultiError

type DistributeUserReplyMultiError []error

DistributeUserReplyMultiError is an error wrapping multiple validation errors returned by DistributeUserReply.ValidateAll() if the designated constraints aren't met.

func (DistributeUserReplyMultiError) AllErrors

func (m DistributeUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DistributeUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DistributeUserReplyValidationError

type DistributeUserReplyValidationError struct {
	// contains filtered or unexported fields
}

DistributeUserReplyValidationError is the validation error returned by DistributeUserReply.Validate if the designated constraints aren't met.

func (DistributeUserReplyValidationError) Cause

Cause function returns cause value.

func (DistributeUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DistributeUserReplyValidationError) ErrorName

ErrorName returns error name.

func (DistributeUserReplyValidationError) Field

Field function returns field value.

func (DistributeUserReplyValidationError) Key

Key function returns key value.

func (DistributeUserReplyValidationError) Reason

Reason function returns reason value.

type DistributeUserReq

type DistributeUserReq struct {
	UserId           string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`                      // 用户id
	NodeId           string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                      // 用户id
	Code             string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                          // 节点code
	IsJoinDistribute bool   `protobuf:"varint,4,opt,name=isJoinDistribute,proto3" json:"isJoinDistribute,omitempty"` // 是否加入社区下发
	// contains filtered or unexported fields
}

下发用户信息

func (*DistributeUserReq) Descriptor deprecated

func (*DistributeUserReq) Descriptor() ([]byte, []int)

Deprecated: Use DistributeUserReq.ProtoReflect.Descriptor instead.

func (*DistributeUserReq) GetCode

func (x *DistributeUserReq) GetCode() string

func (*DistributeUserReq) GetIsJoinDistribute

func (x *DistributeUserReq) GetIsJoinDistribute() bool

func (*DistributeUserReq) GetNodeId

func (x *DistributeUserReq) GetNodeId() string

func (*DistributeUserReq) GetUserId

func (x *DistributeUserReq) GetUserId() string

func (*DistributeUserReq) ProtoMessage

func (*DistributeUserReq) ProtoMessage()

func (*DistributeUserReq) ProtoReflect

func (x *DistributeUserReq) ProtoReflect() protoreflect.Message

func (*DistributeUserReq) Reset

func (x *DistributeUserReq) Reset()

func (*DistributeUserReq) String

func (x *DistributeUserReq) String() string

func (*DistributeUserReq) Validate

func (m *DistributeUserReq) Validate() error

Validate checks the field values on DistributeUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DistributeUserReq) ValidateAll

func (m *DistributeUserReq) ValidateAll() error

ValidateAll checks the field values on DistributeUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DistributeUserReqMultiError, or nil if none found.

type DistributeUserReqMultiError

type DistributeUserReqMultiError []error

DistributeUserReqMultiError is an error wrapping multiple validation errors returned by DistributeUserReq.ValidateAll() if the designated constraints aren't met.

func (DistributeUserReqMultiError) AllErrors

func (m DistributeUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DistributeUserReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DistributeUserReqValidationError

type DistributeUserReqValidationError struct {
	// contains filtered or unexported fields
}

DistributeUserReqValidationError is the validation error returned by DistributeUserReq.Validate if the designated constraints aren't met.

func (DistributeUserReqValidationError) Cause

Cause function returns cause value.

func (DistributeUserReqValidationError) Error

Error satisfies the builtin error interface

func (DistributeUserReqValidationError) ErrorName

ErrorName returns error name.

func (DistributeUserReqValidationError) Field

Field function returns field value.

func (DistributeUserReqValidationError) Key

Key function returns key value.

func (DistributeUserReqValidationError) Reason

Reason function returns reason value.

type ErrorProfileReason

type ErrorProfileReason int32
const (
	// 用户信息未找到
	ErrorProfileReason_PROFILE_NOT_FOUND ErrorProfileReason = 0
	// 获取数据失败
	ErrorProfileReason_GET_DATE ErrorProfileReason = 2
	// 编辑用户异常
	ErrorProfileReason_FAILED_TO_EDIT_PROFILE ErrorProfileReason = 3
	// 手机号不能为空
	ErrorProfileReason_PHONE_IS_NOT_EMPTY ErrorProfileReason = 4
	// 删除用户信息失败
	ErrorProfileReason_FAILED_DELETE_PROFILE ErrorProfileReason = 5
	// 历史密码验证失败
	ErrorProfileReason_HISTORY_PRIVACY_PASSWORD_VERIFICATION_FAIL ErrorProfileReason = 6
	// 输入邮箱与用户绑定邮箱不一致
	ErrorProfileReason_PARAMS_EMAIL_NOT_IS_USER_BIND ErrorProfileReason = 7
	// 输入手机与用户绑定手机不一致
	ErrorProfileReason_PARAMS_PHONE_NOT_IS_USER_BIND ErrorProfileReason = 8
	// 超过批处理的最大数量
	ErrorProfileReason_EXCEEDED_THE_MAXIMUM_BATCH_PROCESSING_QUANTITY ErrorProfileReason = 9
	// 批量导入失败
	ErrorProfileReason_BATCH_INSERT_ERROR ErrorProfileReason = 10
	// 数据不能为空
	ErrorProfileReason_DATA_IS_NOT_EMPTY ErrorProfileReason = 11
	// 用户已经实名
	ErrorProfileReason_USER_HAS_REAL_NAME ErrorProfileReason = 12
	// 身份证好已被他人绑定
	ErrorProfileReason_ID_NUMBER_HAS_BEEN_USED ErrorProfileReason = 13
	// 实名认证失败
	ErrorProfileReason_USER_REAL_NAME_ERR ErrorProfileReason = 14
)

func (ErrorProfileReason) Descriptor

func (ErrorProfileReason) Enum

func (ErrorProfileReason) EnumDescriptor deprecated

func (ErrorProfileReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorProfileReason.Descriptor instead.

func (ErrorProfileReason) Number

func (ErrorProfileReason) String

func (x ErrorProfileReason) String() string

func (ErrorProfileReason) Type

type ErrorReason

type ErrorReason int32

错误

const (
	// 为某个枚举单独设置错误码
	ErrorReason_ERROR_REASON_PARAMS        ErrorReason = 0 // 参数错误
	ErrorReason_ERROR_REASON_SYSTEM        ErrorReason = 1 // 系统错误
	ErrorReason_ERROR_REASON_PASSWORD      ErrorReason = 3 // 密码错误
	ErrorReason_ERROR_REASON_NAME_IS_EXIST ErrorReason = 4 // 用户名已存在
	ErrorReason_ERROR_CREATE_USER          ErrorReason = 5 // 创建用户失败
	ErrorReason_EMAIL_ALREADY_EXISTS       ErrorReason = 6 // 邮箱已被使用
	ErrorReason_JOIN_NODE_ERR              ErrorReason = 7 //加入社区失败
	// 推广码无效
	ErrorReason_THIS_SHARE_CODE_IS_INVALID ErrorReason = 8
	ErrorReason_USER_ALREADY_JOIN_NODE     ErrorReason = 9
	ErrorReason_NODE_NOT_FANG              ErrorReason = 10 //社区不存在
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

func (ErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

type FindProfileByUserReply

type FindProfileByUserReply struct {
	Data []*UserProfile `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FindProfileByUserReply) Descriptor deprecated

func (*FindProfileByUserReply) Descriptor() ([]byte, []int)

Deprecated: Use FindProfileByUserReply.ProtoReflect.Descriptor instead.

func (*FindProfileByUserReply) GetData

func (x *FindProfileByUserReply) GetData() []*UserProfile

func (*FindProfileByUserReply) ProtoMessage

func (*FindProfileByUserReply) ProtoMessage()

func (*FindProfileByUserReply) ProtoReflect

func (x *FindProfileByUserReply) ProtoReflect() protoreflect.Message

func (*FindProfileByUserReply) Reset

func (x *FindProfileByUserReply) Reset()

func (*FindProfileByUserReply) String

func (x *FindProfileByUserReply) String() string

func (*FindProfileByUserReply) Validate

func (m *FindProfileByUserReply) Validate() error

Validate checks the field values on FindProfileByUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindProfileByUserReply) ValidateAll

func (m *FindProfileByUserReply) ValidateAll() error

ValidateAll checks the field values on FindProfileByUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindProfileByUserReplyMultiError, or nil if none found.

type FindProfileByUserReplyMultiError

type FindProfileByUserReplyMultiError []error

FindProfileByUserReplyMultiError is an error wrapping multiple validation errors returned by FindProfileByUserReply.ValidateAll() if the designated constraints aren't met.

func (FindProfileByUserReplyMultiError) AllErrors

func (m FindProfileByUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindProfileByUserReplyMultiError) Error

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

Cause function returns cause value.

func (FindProfileByUserReplyValidationError) Error

Error satisfies the builtin error interface

func (FindProfileByUserReplyValidationError) ErrorName

ErrorName returns error name.

func (FindProfileByUserReplyValidationError) Field

Field function returns field value.

func (FindProfileByUserReplyValidationError) Key

Key function returns key value.

func (FindProfileByUserReplyValidationError) Reason

Reason function returns reason value.

type FindProfileByUserReq

type FindProfileByUserReq struct {
	UserIds []string `protobuf:"bytes,3,rep,name=userIds,proto3" json:"userIds,omitempty"` // 用户 id 数组
	NodeId  string   `protobuf:"bytes,4,opt,name=nodeId,proto3" json:"nodeId,omitempty"`   // 节点 id
	// contains filtered or unexported fields
}

根据ids获取用户信息

func (*FindProfileByUserReq) Descriptor deprecated

func (*FindProfileByUserReq) Descriptor() ([]byte, []int)

Deprecated: Use FindProfileByUserReq.ProtoReflect.Descriptor instead.

func (*FindProfileByUserReq) GetNodeId

func (x *FindProfileByUserReq) GetNodeId() string

func (*FindProfileByUserReq) GetUserIds

func (x *FindProfileByUserReq) GetUserIds() []string

func (*FindProfileByUserReq) ProtoMessage

func (*FindProfileByUserReq) ProtoMessage()

func (*FindProfileByUserReq) ProtoReflect

func (x *FindProfileByUserReq) ProtoReflect() protoreflect.Message

func (*FindProfileByUserReq) Reset

func (x *FindProfileByUserReq) Reset()

func (*FindProfileByUserReq) String

func (x *FindProfileByUserReq) String() string

func (*FindProfileByUserReq) Validate

func (m *FindProfileByUserReq) Validate() error

Validate checks the field values on FindProfileByUserReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindProfileByUserReq) ValidateAll

func (m *FindProfileByUserReq) ValidateAll() error

ValidateAll checks the field values on FindProfileByUserReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindProfileByUserReqMultiError, or nil if none found.

type FindProfileByUserReqMultiError

type FindProfileByUserReqMultiError []error

FindProfileByUserReqMultiError is an error wrapping multiple validation errors returned by FindProfileByUserReq.ValidateAll() if the designated constraints aren't met.

func (FindProfileByUserReqMultiError) AllErrors

func (m FindProfileByUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindProfileByUserReqMultiError) Error

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

Cause function returns cause value.

func (FindProfileByUserReqValidationError) Error

Error satisfies the builtin error interface

func (FindProfileByUserReqValidationError) ErrorName

ErrorName returns error name.

func (FindProfileByUserReqValidationError) Field

Field function returns field value.

func (FindProfileByUserReqValidationError) Key

Key function returns key value.

func (FindProfileByUserReqValidationError) Reason

Reason function returns reason value.

type GetByAccountReply

type GetByAccountReply struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息
	// contains filtered or unexported fields
}

func (*GetByAccountReply) Descriptor deprecated

func (*GetByAccountReply) Descriptor() ([]byte, []int)

Deprecated: Use GetByAccountReply.ProtoReflect.Descriptor instead.

func (*GetByAccountReply) GetProfile

func (x *GetByAccountReply) GetProfile() *UserProfile

func (*GetByAccountReply) ProtoMessage

func (*GetByAccountReply) ProtoMessage()

func (*GetByAccountReply) ProtoReflect

func (x *GetByAccountReply) ProtoReflect() protoreflect.Message

func (*GetByAccountReply) Reset

func (x *GetByAccountReply) Reset()

func (*GetByAccountReply) String

func (x *GetByAccountReply) String() string

func (*GetByAccountReply) Validate

func (m *GetByAccountReply) Validate() error

Validate checks the field values on GetByAccountReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByAccountReply) ValidateAll

func (m *GetByAccountReply) ValidateAll() error

ValidateAll checks the field values on GetByAccountReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByAccountReplyMultiError, or nil if none found.

type GetByAccountReplyMultiError

type GetByAccountReplyMultiError []error

GetByAccountReplyMultiError is an error wrapping multiple validation errors returned by GetByAccountReply.ValidateAll() if the designated constraints aren't met.

func (GetByAccountReplyMultiError) AllErrors

func (m GetByAccountReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByAccountReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetByAccountReplyValidationError

type GetByAccountReplyValidationError struct {
	// contains filtered or unexported fields
}

GetByAccountReplyValidationError is the validation error returned by GetByAccountReply.Validate if the designated constraints aren't met.

func (GetByAccountReplyValidationError) Cause

Cause function returns cause value.

func (GetByAccountReplyValidationError) Error

Error satisfies the builtin error interface

func (GetByAccountReplyValidationError) ErrorName

ErrorName returns error name.

func (GetByAccountReplyValidationError) Field

Field function returns field value.

func (GetByAccountReplyValidationError) Key

Key function returns key value.

func (GetByAccountReplyValidationError) Reason

Reason function returns reason value.

type GetByAccountReq

type GetByAccountReq struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` //账号
	// contains filtered or unexported fields
}

根据账号获取用户信息 -------------------------------------------

func (*GetByAccountReq) Descriptor deprecated

func (*GetByAccountReq) Descriptor() ([]byte, []int)

Deprecated: Use GetByAccountReq.ProtoReflect.Descriptor instead.

func (*GetByAccountReq) GetAccount

func (x *GetByAccountReq) GetAccount() string

func (*GetByAccountReq) ProtoMessage

func (*GetByAccountReq) ProtoMessage()

func (*GetByAccountReq) ProtoReflect

func (x *GetByAccountReq) ProtoReflect() protoreflect.Message

func (*GetByAccountReq) Reset

func (x *GetByAccountReq) Reset()

func (*GetByAccountReq) String

func (x *GetByAccountReq) String() string

func (*GetByAccountReq) Validate

func (m *GetByAccountReq) Validate() error

Validate checks the field values on GetByAccountReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByAccountReq) ValidateAll

func (m *GetByAccountReq) ValidateAll() error

ValidateAll checks the field values on GetByAccountReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByAccountReqMultiError, or nil if none found.

type GetByAccountReqMultiError

type GetByAccountReqMultiError []error

GetByAccountReqMultiError is an error wrapping multiple validation errors returned by GetByAccountReq.ValidateAll() if the designated constraints aren't met.

func (GetByAccountReqMultiError) AllErrors

func (m GetByAccountReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByAccountReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetByAccountReqValidationError

type GetByAccountReqValidationError struct {
	// contains filtered or unexported fields
}

GetByAccountReqValidationError is the validation error returned by GetByAccountReq.Validate if the designated constraints aren't met.

func (GetByAccountReqValidationError) Cause

Cause function returns cause value.

func (GetByAccountReqValidationError) Error

Error satisfies the builtin error interface

func (GetByAccountReqValidationError) ErrorName

func (e GetByAccountReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetByAccountReqValidationError) Field

Field function returns field value.

func (GetByAccountReqValidationError) Key

Key function returns key value.

func (GetByAccountReqValidationError) Reason

Reason function returns reason value.

type GetByCodeReply

type GetByCodeReply struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息
	// contains filtered or unexported fields
}

func (*GetByCodeReply) Descriptor deprecated

func (*GetByCodeReply) Descriptor() ([]byte, []int)

Deprecated: Use GetByCodeReply.ProtoReflect.Descriptor instead.

func (*GetByCodeReply) GetProfile

func (x *GetByCodeReply) GetProfile() *UserProfile

func (*GetByCodeReply) ProtoMessage

func (*GetByCodeReply) ProtoMessage()

func (*GetByCodeReply) ProtoReflect

func (x *GetByCodeReply) ProtoReflect() protoreflect.Message

func (*GetByCodeReply) Reset

func (x *GetByCodeReply) Reset()

func (*GetByCodeReply) String

func (x *GetByCodeReply) String() string

func (*GetByCodeReply) Validate

func (m *GetByCodeReply) Validate() error

Validate checks the field values on GetByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByCodeReply) ValidateAll

func (m *GetByCodeReply) ValidateAll() error

ValidateAll checks the field values on GetByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByCodeReplyMultiError, or nil if none found.

type GetByCodeReplyMultiError

type GetByCodeReplyMultiError []error

GetByCodeReplyMultiError is an error wrapping multiple validation errors returned by GetByCodeReply.ValidateAll() if the designated constraints aren't met.

func (GetByCodeReplyMultiError) AllErrors

func (m GetByCodeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByCodeReplyMultiError) Error

func (m GetByCodeReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetByCodeReplyValidationError

type GetByCodeReplyValidationError struct {
	// contains filtered or unexported fields
}

GetByCodeReplyValidationError is the validation error returned by GetByCodeReply.Validate if the designated constraints aren't met.

func (GetByCodeReplyValidationError) Cause

Cause function returns cause value.

func (GetByCodeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetByCodeReplyValidationError) ErrorName

func (e GetByCodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetByCodeReplyValidationError) Field

Field function returns field value.

func (GetByCodeReplyValidationError) Key

Key function returns key value.

func (GetByCodeReplyValidationError) Reason

Reason function returns reason value.

type GetByCodeReq

type GetByCodeReq struct {
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //编码
	// contains filtered or unexported fields
}

根据邮箱获取用户信息 -------------------------------------------

func (*GetByCodeReq) Descriptor deprecated

func (*GetByCodeReq) Descriptor() ([]byte, []int)

Deprecated: Use GetByCodeReq.ProtoReflect.Descriptor instead.

func (*GetByCodeReq) GetCode

func (x *GetByCodeReq) GetCode() string

func (*GetByCodeReq) ProtoMessage

func (*GetByCodeReq) ProtoMessage()

func (*GetByCodeReq) ProtoReflect

func (x *GetByCodeReq) ProtoReflect() protoreflect.Message

func (*GetByCodeReq) Reset

func (x *GetByCodeReq) Reset()

func (*GetByCodeReq) String

func (x *GetByCodeReq) String() string

func (*GetByCodeReq) Validate

func (m *GetByCodeReq) Validate() error

Validate checks the field values on GetByCodeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByCodeReq) ValidateAll

func (m *GetByCodeReq) ValidateAll() error

ValidateAll checks the field values on GetByCodeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByCodeReqMultiError, or nil if none found.

type GetByCodeReqMultiError

type GetByCodeReqMultiError []error

GetByCodeReqMultiError is an error wrapping multiple validation errors returned by GetByCodeReq.ValidateAll() if the designated constraints aren't met.

func (GetByCodeReqMultiError) AllErrors

func (m GetByCodeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByCodeReqMultiError) Error

func (m GetByCodeReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetByCodeReqValidationError

type GetByCodeReqValidationError struct {
	// contains filtered or unexported fields
}

GetByCodeReqValidationError is the validation error returned by GetByCodeReq.Validate if the designated constraints aren't met.

func (GetByCodeReqValidationError) Cause

Cause function returns cause value.

func (GetByCodeReqValidationError) Error

Error satisfies the builtin error interface

func (GetByCodeReqValidationError) ErrorName

func (e GetByCodeReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetByCodeReqValidationError) Field

Field function returns field value.

func (GetByCodeReqValidationError) Key

Key function returns key value.

func (GetByCodeReqValidationError) Reason

Reason function returns reason value.

type GetByEmailReply

type GetByEmailReply struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` //用户信息
	// contains filtered or unexported fields
}

func (*GetByEmailReply) Descriptor deprecated

func (*GetByEmailReply) Descriptor() ([]byte, []int)

Deprecated: Use GetByEmailReply.ProtoReflect.Descriptor instead.

func (*GetByEmailReply) GetProfile

func (x *GetByEmailReply) GetProfile() *UserProfile

func (*GetByEmailReply) ProtoMessage

func (*GetByEmailReply) ProtoMessage()

func (*GetByEmailReply) ProtoReflect

func (x *GetByEmailReply) ProtoReflect() protoreflect.Message

func (*GetByEmailReply) Reset

func (x *GetByEmailReply) Reset()

func (*GetByEmailReply) String

func (x *GetByEmailReply) String() string

func (*GetByEmailReply) Validate

func (m *GetByEmailReply) Validate() error

Validate checks the field values on GetByEmailReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByEmailReply) ValidateAll

func (m *GetByEmailReply) ValidateAll() error

ValidateAll checks the field values on GetByEmailReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByEmailReplyMultiError, or nil if none found.

type GetByEmailReplyMultiError

type GetByEmailReplyMultiError []error

GetByEmailReplyMultiError is an error wrapping multiple validation errors returned by GetByEmailReply.ValidateAll() if the designated constraints aren't met.

func (GetByEmailReplyMultiError) AllErrors

func (m GetByEmailReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByEmailReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetByEmailReplyValidationError

type GetByEmailReplyValidationError struct {
	// contains filtered or unexported fields
}

GetByEmailReplyValidationError is the validation error returned by GetByEmailReply.Validate if the designated constraints aren't met.

func (GetByEmailReplyValidationError) Cause

Cause function returns cause value.

func (GetByEmailReplyValidationError) Error

Error satisfies the builtin error interface

func (GetByEmailReplyValidationError) ErrorName

func (e GetByEmailReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetByEmailReplyValidationError) Field

Field function returns field value.

func (GetByEmailReplyValidationError) Key

Key function returns key value.

func (GetByEmailReplyValidationError) Reason

Reason function returns reason value.

type GetByEmailReq

type GetByEmailReq struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` //手机号
	// contains filtered or unexported fields
}

根据邮箱获取用户信息 -------------------------------------------

func (*GetByEmailReq) Descriptor deprecated

func (*GetByEmailReq) Descriptor() ([]byte, []int)

Deprecated: Use GetByEmailReq.ProtoReflect.Descriptor instead.

func (*GetByEmailReq) GetEmail

func (x *GetByEmailReq) GetEmail() string

func (*GetByEmailReq) ProtoMessage

func (*GetByEmailReq) ProtoMessage()

func (*GetByEmailReq) ProtoReflect

func (x *GetByEmailReq) ProtoReflect() protoreflect.Message

func (*GetByEmailReq) Reset

func (x *GetByEmailReq) Reset()

func (*GetByEmailReq) String

func (x *GetByEmailReq) String() string

func (*GetByEmailReq) Validate

func (m *GetByEmailReq) Validate() error

Validate checks the field values on GetByEmailReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByEmailReq) ValidateAll

func (m *GetByEmailReq) ValidateAll() error

ValidateAll checks the field values on GetByEmailReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByEmailReqMultiError, or nil if none found.

type GetByEmailReqMultiError

type GetByEmailReqMultiError []error

GetByEmailReqMultiError is an error wrapping multiple validation errors returned by GetByEmailReq.ValidateAll() if the designated constraints aren't met.

func (GetByEmailReqMultiError) AllErrors

func (m GetByEmailReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByEmailReqMultiError) Error

func (m GetByEmailReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetByEmailReqValidationError

type GetByEmailReqValidationError struct {
	// contains filtered or unexported fields
}

GetByEmailReqValidationError is the validation error returned by GetByEmailReq.Validate if the designated constraints aren't met.

func (GetByEmailReqValidationError) Cause

Cause function returns cause value.

func (GetByEmailReqValidationError) Error

Error satisfies the builtin error interface

func (GetByEmailReqValidationError) ErrorName

func (e GetByEmailReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetByEmailReqValidationError) Field

Field function returns field value.

func (GetByEmailReqValidationError) Key

Key function returns key value.

func (GetByEmailReqValidationError) Reason

Reason function returns reason value.

type GetByPhoneReply

type GetByPhoneReply struct {
	Profiles []*UserProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` //用户信息
	// contains filtered or unexported fields
}

func (*GetByPhoneReply) Descriptor deprecated

func (*GetByPhoneReply) Descriptor() ([]byte, []int)

Deprecated: Use GetByPhoneReply.ProtoReflect.Descriptor instead.

func (*GetByPhoneReply) GetProfiles

func (x *GetByPhoneReply) GetProfiles() []*UserProfile

func (*GetByPhoneReply) ProtoMessage

func (*GetByPhoneReply) ProtoMessage()

func (*GetByPhoneReply) ProtoReflect

func (x *GetByPhoneReply) ProtoReflect() protoreflect.Message

func (*GetByPhoneReply) Reset

func (x *GetByPhoneReply) Reset()

func (*GetByPhoneReply) String

func (x *GetByPhoneReply) String() string

func (*GetByPhoneReply) Validate

func (m *GetByPhoneReply) Validate() error

Validate checks the field values on GetByPhoneReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByPhoneReply) ValidateAll

func (m *GetByPhoneReply) ValidateAll() error

ValidateAll checks the field values on GetByPhoneReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByPhoneReplyMultiError, or nil if none found.

type GetByPhoneReplyMultiError

type GetByPhoneReplyMultiError []error

GetByPhoneReplyMultiError is an error wrapping multiple validation errors returned by GetByPhoneReply.ValidateAll() if the designated constraints aren't met.

func (GetByPhoneReplyMultiError) AllErrors

func (m GetByPhoneReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByPhoneReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetByPhoneReplyValidationError

type GetByPhoneReplyValidationError struct {
	// contains filtered or unexported fields
}

GetByPhoneReplyValidationError is the validation error returned by GetByPhoneReply.Validate if the designated constraints aren't met.

func (GetByPhoneReplyValidationError) Cause

Cause function returns cause value.

func (GetByPhoneReplyValidationError) Error

Error satisfies the builtin error interface

func (GetByPhoneReplyValidationError) ErrorName

func (e GetByPhoneReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetByPhoneReplyValidationError) Field

Field function returns field value.

func (GetByPhoneReplyValidationError) Key

Key function returns key value.

func (GetByPhoneReplyValidationError) Reason

Reason function returns reason value.

type GetByPhoneReq

type GetByPhoneReq struct {
	Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
	// contains filtered or unexported fields
}

根据手机号获取用户信息 -------------------------------------------

func (*GetByPhoneReq) Descriptor deprecated

func (*GetByPhoneReq) Descriptor() ([]byte, []int)

Deprecated: Use GetByPhoneReq.ProtoReflect.Descriptor instead.

func (*GetByPhoneReq) GetPhone

func (x *GetByPhoneReq) GetPhone() string

func (*GetByPhoneReq) ProtoMessage

func (*GetByPhoneReq) ProtoMessage()

func (*GetByPhoneReq) ProtoReflect

func (x *GetByPhoneReq) ProtoReflect() protoreflect.Message

func (*GetByPhoneReq) Reset

func (x *GetByPhoneReq) Reset()

func (*GetByPhoneReq) String

func (x *GetByPhoneReq) String() string

func (*GetByPhoneReq) Validate

func (m *GetByPhoneReq) Validate() error

Validate checks the field values on GetByPhoneReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByPhoneReq) ValidateAll

func (m *GetByPhoneReq) ValidateAll() error

ValidateAll checks the field values on GetByPhoneReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByPhoneReqMultiError, or nil if none found.

type GetByPhoneReqMultiError

type GetByPhoneReqMultiError []error

GetByPhoneReqMultiError is an error wrapping multiple validation errors returned by GetByPhoneReq.ValidateAll() if the designated constraints aren't met.

func (GetByPhoneReqMultiError) AllErrors

func (m GetByPhoneReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByPhoneReqMultiError) Error

func (m GetByPhoneReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetByPhoneReqValidationError

type GetByPhoneReqValidationError struct {
	// contains filtered or unexported fields
}

GetByPhoneReqValidationError is the validation error returned by GetByPhoneReq.Validate if the designated constraints aren't met.

func (GetByPhoneReqValidationError) Cause

Cause function returns cause value.

func (GetByPhoneReqValidationError) Error

Error satisfies the builtin error interface

func (GetByPhoneReqValidationError) ErrorName

func (e GetByPhoneReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetByPhoneReqValidationError) Field

Field function returns field value.

func (GetByPhoneReqValidationError) Key

Key function returns key value.

func (GetByPhoneReqValidationError) Reason

Reason function returns reason value.

type GetListReply

type GetListReply struct {
	Total int64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListReply) Descriptor deprecated

func (*GetListReply) Descriptor() ([]byte, []int)

Deprecated: Use GetListReply.ProtoReflect.Descriptor instead.

func (*GetListReply) GetList

func (x *GetListReply) GetList() []*UserProfile

func (*GetListReply) GetTotal

func (x *GetListReply) GetTotal() int64

func (*GetListReply) ProtoMessage

func (*GetListReply) ProtoMessage()

func (*GetListReply) ProtoReflect

func (x *GetListReply) ProtoReflect() protoreflect.Message

func (*GetListReply) Reset

func (x *GetListReply) Reset()

func (*GetListReply) String

func (x *GetListReply) String() string

func (*GetListReply) Validate

func (m *GetListReply) Validate() error

Validate checks the field values on GetListReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetListReply) ValidateAll

func (m *GetListReply) ValidateAll() error

ValidateAll checks the field values on GetListReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetListReplyMultiError, or nil if none found.

type GetListReplyMultiError

type GetListReplyMultiError []error

GetListReplyMultiError is an error wrapping multiple validation errors returned by GetListReply.ValidateAll() if the designated constraints aren't met.

func (GetListReplyMultiError) AllErrors

func (m GetListReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetListReplyMultiError) Error

func (m GetListReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetListReplyValidationError

type GetListReplyValidationError struct {
	// contains filtered or unexported fields
}

GetListReplyValidationError is the validation error returned by GetListReply.Validate if the designated constraints aren't met.

func (GetListReplyValidationError) Cause

Cause function returns cause value.

func (GetListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetListReplyValidationError) ErrorName

func (e GetListReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetListReplyValidationError) Field

Field function returns field value.

func (GetListReplyValidationError) Key

Key function returns key value.

func (GetListReplyValidationError) Reason

Reason function returns reason value.

type GetListReq

type GetListReq struct {
	Page     *v21.Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`               //分页信息
	Nickname *string         `protobuf:"bytes,2,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` // 昵称
	Account  *string         `protobuf:"bytes,3,opt,name=account,proto3,oneof" json:"account,omitempty"`   // 账号
	Code     *string         `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"`         // 用户code
	Phone    *string         `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`       // 电话
	Email    *string         `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`       // 邮箱
	FullName *string         `protobuf:"bytes,7,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"` // 真实名称
	PersonId *string         `protobuf:"bytes,8,opt,name=personId,proto3,oneof" json:"personId,omitempty"` // 身份证号
	// contains filtered or unexported fields
}

获取用户列表

func (*GetListReq) Descriptor deprecated

func (*GetListReq) Descriptor() ([]byte, []int)

Deprecated: Use GetListReq.ProtoReflect.Descriptor instead.

func (*GetListReq) GetAccount

func (x *GetListReq) GetAccount() string

func (*GetListReq) GetCode

func (x *GetListReq) GetCode() string

func (*GetListReq) GetEmail

func (x *GetListReq) GetEmail() string

func (*GetListReq) GetFullName

func (x *GetListReq) GetFullName() string

func (*GetListReq) GetNickname

func (x *GetListReq) GetNickname() string

func (*GetListReq) GetPage

func (x *GetListReq) GetPage() *v21.Pagination

func (*GetListReq) GetPersonId

func (x *GetListReq) GetPersonId() string

func (*GetListReq) GetPhone

func (x *GetListReq) GetPhone() string

func (*GetListReq) ProtoMessage

func (*GetListReq) ProtoMessage()

func (*GetListReq) ProtoReflect

func (x *GetListReq) ProtoReflect() protoreflect.Message

func (*GetListReq) Reset

func (x *GetListReq) Reset()

func (*GetListReq) String

func (x *GetListReq) String() string

func (*GetListReq) Validate

func (m *GetListReq) Validate() error

Validate checks the field values on GetListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetListReq) ValidateAll

func (m *GetListReq) ValidateAll() error

ValidateAll checks the field values on GetListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetListReqMultiError, or nil if none found.

type GetListReqMultiError

type GetListReqMultiError []error

GetListReqMultiError is an error wrapping multiple validation errors returned by GetListReq.ValidateAll() if the designated constraints aren't met.

func (GetListReqMultiError) AllErrors

func (m GetListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetListReqMultiError) Error

func (m GetListReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetListReqValidationError

type GetListReqValidationError struct {
	// contains filtered or unexported fields
}

GetListReqValidationError is the validation error returned by GetListReq.Validate if the designated constraints aren't met.

func (GetListReqValidationError) Cause

func (e GetListReqValidationError) Cause() error

Cause function returns cause value.

func (GetListReqValidationError) Error

Error satisfies the builtin error interface

func (GetListReqValidationError) ErrorName

func (e GetListReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetListReqValidationError) Field

Field function returns field value.

func (GetListReqValidationError) Key

Key function returns key value.

func (GetListReqValidationError) Reason

func (e GetListReqValidationError) Reason() string

Reason function returns reason value.

type GetNodeInfoByUserIdReply

type GetNodeInfoByUserIdReply struct {
	UserNodes []*UserNode `protobuf:"bytes,1,rep,name=userNodes,proto3" json:"userNodes,omitempty"` // 用户所在的节点
	// contains filtered or unexported fields
}

func (*GetNodeInfoByUserIdReply) Descriptor deprecated

func (*GetNodeInfoByUserIdReply) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeInfoByUserIdReply.ProtoReflect.Descriptor instead.

func (*GetNodeInfoByUserIdReply) GetUserNodes

func (x *GetNodeInfoByUserIdReply) GetUserNodes() []*UserNode

func (*GetNodeInfoByUserIdReply) ProtoMessage

func (*GetNodeInfoByUserIdReply) ProtoMessage()

func (*GetNodeInfoByUserIdReply) ProtoReflect

func (x *GetNodeInfoByUserIdReply) ProtoReflect() protoreflect.Message

func (*GetNodeInfoByUserIdReply) Reset

func (x *GetNodeInfoByUserIdReply) Reset()

func (*GetNodeInfoByUserIdReply) String

func (x *GetNodeInfoByUserIdReply) String() string

func (*GetNodeInfoByUserIdReply) Validate

func (m *GetNodeInfoByUserIdReply) Validate() error

Validate checks the field values on GetNodeInfoByUserIdReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeInfoByUserIdReply) ValidateAll

func (m *GetNodeInfoByUserIdReply) ValidateAll() error

ValidateAll checks the field values on GetNodeInfoByUserIdReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeInfoByUserIdReplyMultiError, or nil if none found.

type GetNodeInfoByUserIdReplyMultiError

type GetNodeInfoByUserIdReplyMultiError []error

GetNodeInfoByUserIdReplyMultiError is an error wrapping multiple validation errors returned by GetNodeInfoByUserIdReply.ValidateAll() if the designated constraints aren't met.

func (GetNodeInfoByUserIdReplyMultiError) AllErrors

func (m GetNodeInfoByUserIdReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeInfoByUserIdReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNodeInfoByUserIdReplyValidationError

type GetNodeInfoByUserIdReplyValidationError struct {
	// contains filtered or unexported fields
}

GetNodeInfoByUserIdReplyValidationError is the validation error returned by GetNodeInfoByUserIdReply.Validate if the designated constraints aren't met.

func (GetNodeInfoByUserIdReplyValidationError) Cause

Cause function returns cause value.

func (GetNodeInfoByUserIdReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeInfoByUserIdReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeInfoByUserIdReplyValidationError) Field

Field function returns field value.

func (GetNodeInfoByUserIdReplyValidationError) Key

Key function returns key value.

func (GetNodeInfoByUserIdReplyValidationError) Reason

Reason function returns reason value.

type GetNodeInfoByUserIdReq

type GetNodeInfoByUserIdReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*GetNodeInfoByUserIdReq) Descriptor deprecated

func (*GetNodeInfoByUserIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeInfoByUserIdReq.ProtoReflect.Descriptor instead.

func (*GetNodeInfoByUserIdReq) GetUserId

func (x *GetNodeInfoByUserIdReq) GetUserId() string

func (*GetNodeInfoByUserIdReq) ProtoMessage

func (*GetNodeInfoByUserIdReq) ProtoMessage()

func (*GetNodeInfoByUserIdReq) ProtoReflect

func (x *GetNodeInfoByUserIdReq) ProtoReflect() protoreflect.Message

func (*GetNodeInfoByUserIdReq) Reset

func (x *GetNodeInfoByUserIdReq) Reset()

func (*GetNodeInfoByUserIdReq) String

func (x *GetNodeInfoByUserIdReq) String() string

func (*GetNodeInfoByUserIdReq) Validate

func (m *GetNodeInfoByUserIdReq) Validate() error

Validate checks the field values on GetNodeInfoByUserIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeInfoByUserIdReq) ValidateAll

func (m *GetNodeInfoByUserIdReq) ValidateAll() error

ValidateAll checks the field values on GetNodeInfoByUserIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeInfoByUserIdReqMultiError, or nil if none found.

type GetNodeInfoByUserIdReqMultiError

type GetNodeInfoByUserIdReqMultiError []error

GetNodeInfoByUserIdReqMultiError is an error wrapping multiple validation errors returned by GetNodeInfoByUserIdReq.ValidateAll() if the designated constraints aren't met.

func (GetNodeInfoByUserIdReqMultiError) AllErrors

func (m GetNodeInfoByUserIdReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeInfoByUserIdReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNodeInfoByUserIdReqValidationError

type GetNodeInfoByUserIdReqValidationError struct {
	// contains filtered or unexported fields
}

GetNodeInfoByUserIdReqValidationError is the validation error returned by GetNodeInfoByUserIdReq.Validate if the designated constraints aren't met.

func (GetNodeInfoByUserIdReqValidationError) Cause

Cause function returns cause value.

func (GetNodeInfoByUserIdReqValidationError) Error

Error satisfies the builtin error interface

func (GetNodeInfoByUserIdReqValidationError) ErrorName

ErrorName returns error name.

func (GetNodeInfoByUserIdReqValidationError) Field

Field function returns field value.

func (GetNodeInfoByUserIdReqValidationError) Key

Key function returns key value.

func (GetNodeInfoByUserIdReqValidationError) Reason

Reason function returns reason value.

type GetProfileReply

type GetProfileReply struct {
	Profile *UserProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileReply) Descriptor deprecated

func (*GetProfileReply) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileReply.ProtoReflect.Descriptor instead.

func (*GetProfileReply) GetProfile

func (x *GetProfileReply) GetProfile() *UserProfile

func (*GetProfileReply) ProtoMessage

func (*GetProfileReply) ProtoMessage()

func (*GetProfileReply) ProtoReflect

func (x *GetProfileReply) ProtoReflect() protoreflect.Message

func (*GetProfileReply) Reset

func (x *GetProfileReply) Reset()

func (*GetProfileReply) String

func (x *GetProfileReply) String() string

func (*GetProfileReply) Validate

func (m *GetProfileReply) Validate() error

Validate checks the field values on GetProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProfileReply) ValidateAll

func (m *GetProfileReply) ValidateAll() error

ValidateAll checks the field values on GetProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProfileReplyMultiError, or nil if none found.

type GetProfileReplyMultiError

type GetProfileReplyMultiError []error

GetProfileReplyMultiError is an error wrapping multiple validation errors returned by GetProfileReply.ValidateAll() if the designated constraints aren't met.

func (GetProfileReplyMultiError) AllErrors

func (m GetProfileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProfileReplyMultiError) Error

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

Cause function returns cause value.

func (GetProfileReplyValidationError) Error

Error satisfies the builtin error interface

func (GetProfileReplyValidationError) ErrorName

func (e GetProfileReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetProfileReplyValidationError) Field

Field function returns field value.

func (GetProfileReplyValidationError) Key

Key function returns key value.

func (GetProfileReplyValidationError) Reason

Reason function returns reason value.

type GetProfileReq

type GetProfileReq struct {
	UserId    string   `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`       //用户id
	SelectStr []string `protobuf:"bytes,2,rep,name=selectStr,proto3" json:"selectStr,omitempty"` // 目标字段的数组
	// contains filtered or unexported fields
}

获取用户信息

func (*GetProfileReq) Descriptor deprecated

func (*GetProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileReq.ProtoReflect.Descriptor instead.

func (*GetProfileReq) GetSelectStr

func (x *GetProfileReq) GetSelectStr() []string

func (*GetProfileReq) GetUserId

func (x *GetProfileReq) GetUserId() string

func (*GetProfileReq) ProtoMessage

func (*GetProfileReq) ProtoMessage()

func (*GetProfileReq) ProtoReflect

func (x *GetProfileReq) ProtoReflect() protoreflect.Message

func (*GetProfileReq) Reset

func (x *GetProfileReq) Reset()

func (*GetProfileReq) String

func (x *GetProfileReq) String() string

func (*GetProfileReq) Validate

func (m *GetProfileReq) Validate() error

Validate checks the field values on GetProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetProfileReq) ValidateAll

func (m *GetProfileReq) ValidateAll() error

ValidateAll checks the field values on GetProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProfileReqMultiError, or nil if none found.

type GetProfileReqMultiError

type GetProfileReqMultiError []error

GetProfileReqMultiError is an error wrapping multiple validation errors returned by GetProfileReq.ValidateAll() if the designated constraints aren't met.

func (GetProfileReqMultiError) AllErrors

func (m GetProfileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetProfileReqMultiError) Error

func (m GetProfileReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetProfileReqValidationError

type GetProfileReqValidationError struct {
	// contains filtered or unexported fields
}

GetProfileReqValidationError is the validation error returned by GetProfileReq.Validate if the designated constraints aren't met.

func (GetProfileReqValidationError) Cause

Cause function returns cause value.

func (GetProfileReqValidationError) Error

Error satisfies the builtin error interface

func (GetProfileReqValidationError) ErrorName

func (e GetProfileReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetProfileReqValidationError) Field

Field function returns field value.

func (GetProfileReqValidationError) Key

Key function returns key value.

func (GetProfileReqValidationError) Reason

Reason function returns reason value.

type GetSyncUserInfoReply

type GetSyncUserInfoReply struct {
	UserInfo *v21.SyncUser   `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"` //用户信息
	Nodes    []*SyncUserNode `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`       //用户所在的节点
	// contains filtered or unexported fields
}

func (*GetSyncUserInfoReply) Descriptor deprecated

func (*GetSyncUserInfoReply) Descriptor() ([]byte, []int)

Deprecated: Use GetSyncUserInfoReply.ProtoReflect.Descriptor instead.

func (*GetSyncUserInfoReply) GetNodes

func (x *GetSyncUserInfoReply) GetNodes() []*SyncUserNode

func (*GetSyncUserInfoReply) GetUserInfo

func (x *GetSyncUserInfoReply) GetUserInfo() *v21.SyncUser

func (*GetSyncUserInfoReply) ProtoMessage

func (*GetSyncUserInfoReply) ProtoMessage()

func (*GetSyncUserInfoReply) ProtoReflect

func (x *GetSyncUserInfoReply) ProtoReflect() protoreflect.Message

func (*GetSyncUserInfoReply) Reset

func (x *GetSyncUserInfoReply) Reset()

func (*GetSyncUserInfoReply) String

func (x *GetSyncUserInfoReply) String() string

func (*GetSyncUserInfoReply) Validate

func (m *GetSyncUserInfoReply) Validate() error

Validate checks the field values on GetSyncUserInfoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSyncUserInfoReply) ValidateAll

func (m *GetSyncUserInfoReply) ValidateAll() error

ValidateAll checks the field values on GetSyncUserInfoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSyncUserInfoReplyMultiError, or nil if none found.

type GetSyncUserInfoReplyMultiError

type GetSyncUserInfoReplyMultiError []error

GetSyncUserInfoReplyMultiError is an error wrapping multiple validation errors returned by GetSyncUserInfoReply.ValidateAll() if the designated constraints aren't met.

func (GetSyncUserInfoReplyMultiError) AllErrors

func (m GetSyncUserInfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSyncUserInfoReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSyncUserInfoReplyValidationError

type GetSyncUserInfoReplyValidationError struct {
	// contains filtered or unexported fields
}

GetSyncUserInfoReplyValidationError is the validation error returned by GetSyncUserInfoReply.Validate if the designated constraints aren't met.

func (GetSyncUserInfoReplyValidationError) Cause

Cause function returns cause value.

func (GetSyncUserInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSyncUserInfoReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSyncUserInfoReplyValidationError) Field

Field function returns field value.

func (GetSyncUserInfoReplyValidationError) Key

Key function returns key value.

func (GetSyncUserInfoReplyValidationError) Reason

Reason function returns reason value.

type GetSyncUserInfoReq

type GetSyncUserInfoReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` //用户id
	// contains filtered or unexported fields
}

获取同步用户信息

func (*GetSyncUserInfoReq) Descriptor deprecated

func (*GetSyncUserInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use GetSyncUserInfoReq.ProtoReflect.Descriptor instead.

func (*GetSyncUserInfoReq) GetUserId

func (x *GetSyncUserInfoReq) GetUserId() string

func (*GetSyncUserInfoReq) ProtoMessage

func (*GetSyncUserInfoReq) ProtoMessage()

func (*GetSyncUserInfoReq) ProtoReflect

func (x *GetSyncUserInfoReq) ProtoReflect() protoreflect.Message

func (*GetSyncUserInfoReq) Reset

func (x *GetSyncUserInfoReq) Reset()

func (*GetSyncUserInfoReq) String

func (x *GetSyncUserInfoReq) String() string

func (*GetSyncUserInfoReq) Validate

func (m *GetSyncUserInfoReq) Validate() error

Validate checks the field values on GetSyncUserInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSyncUserInfoReq) ValidateAll

func (m *GetSyncUserInfoReq) ValidateAll() error

ValidateAll checks the field values on GetSyncUserInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSyncUserInfoReqMultiError, or nil if none found.

type GetSyncUserInfoReqMultiError

type GetSyncUserInfoReqMultiError []error

GetSyncUserInfoReqMultiError is an error wrapping multiple validation errors returned by GetSyncUserInfoReq.ValidateAll() if the designated constraints aren't met.

func (GetSyncUserInfoReqMultiError) AllErrors

func (m GetSyncUserInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSyncUserInfoReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSyncUserInfoReqValidationError

type GetSyncUserInfoReqValidationError struct {
	// contains filtered or unexported fields
}

GetSyncUserInfoReqValidationError is the validation error returned by GetSyncUserInfoReq.Validate if the designated constraints aren't met.

func (GetSyncUserInfoReqValidationError) Cause

Cause function returns cause value.

func (GetSyncUserInfoReqValidationError) Error

Error satisfies the builtin error interface

func (GetSyncUserInfoReqValidationError) ErrorName

ErrorName returns error name.

func (GetSyncUserInfoReqValidationError) Field

Field function returns field value.

func (GetSyncUserInfoReqValidationError) Key

Key function returns key value.

func (GetSyncUserInfoReqValidationError) Reason

Reason function returns reason value.

type GetUserNodeByNodeIdAndCenterUserIdReply

type GetUserNodeByNodeIdAndCenterUserIdReply struct {
	UserNode *SyncUserNode `protobuf:"bytes,1,opt,name=userNode,proto3" json:"userNode,omitempty"` //用户所在的节点
	// contains filtered or unexported fields
}

func (*GetUserNodeByNodeIdAndCenterUserIdReply) Descriptor deprecated

func (*GetUserNodeByNodeIdAndCenterUserIdReply) Descriptor() ([]byte, []int)

Deprecated: Use GetUserNodeByNodeIdAndCenterUserIdReply.ProtoReflect.Descriptor instead.

func (*GetUserNodeByNodeIdAndCenterUserIdReply) GetUserNode

func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoMessage

func (*GetUserNodeByNodeIdAndCenterUserIdReply) ProtoReflect

func (*GetUserNodeByNodeIdAndCenterUserIdReply) Reset

func (*GetUserNodeByNodeIdAndCenterUserIdReply) String

func (*GetUserNodeByNodeIdAndCenterUserIdReply) Validate

Validate checks the field values on GetUserNodeByNodeIdAndCenterUserIdReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserNodeByNodeIdAndCenterUserIdReply) ValidateAll

ValidateAll checks the field values on GetUserNodeByNodeIdAndCenterUserIdReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserNodeByNodeIdAndCenterUserIdReplyMultiError, or nil if none found.

type GetUserNodeByNodeIdAndCenterUserIdReplyMultiError

type GetUserNodeByNodeIdAndCenterUserIdReplyMultiError []error

GetUserNodeByNodeIdAndCenterUserIdReplyMultiError is an error wrapping multiple validation errors returned by GetUserNodeByNodeIdAndCenterUserIdReply.ValidateAll() if the designated constraints aren't met.

func (GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetUserNodeByNodeIdAndCenterUserIdReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserNodeByNodeIdAndCenterUserIdReplyValidationError

type GetUserNodeByNodeIdAndCenterUserIdReplyValidationError struct {
	// contains filtered or unexported fields
}

GetUserNodeByNodeIdAndCenterUserIdReplyValidationError is the validation error returned by GetUserNodeByNodeIdAndCenterUserIdReply.Validate if the designated constraints aren't met.

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Cause

Cause function returns cause value.

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Field

Field function returns field value.

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Key

Key function returns key value.

func (GetUserNodeByNodeIdAndCenterUserIdReplyValidationError) Reason

Reason function returns reason value.

type GetUserNodeByNodeIdAndCenterUserIdReq

type GetUserNodeByNodeIdAndCenterUserIdReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id
	NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 用户id
	// contains filtered or unexported fields
}

下发用户信息

func (*GetUserNodeByNodeIdAndCenterUserIdReq) Descriptor deprecated

func (*GetUserNodeByNodeIdAndCenterUserIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserNodeByNodeIdAndCenterUserIdReq.ProtoReflect.Descriptor instead.

func (*GetUserNodeByNodeIdAndCenterUserIdReq) GetNodeId

func (*GetUserNodeByNodeIdAndCenterUserIdReq) GetUserId

func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoMessage

func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoMessage()

func (*GetUserNodeByNodeIdAndCenterUserIdReq) ProtoReflect

func (*GetUserNodeByNodeIdAndCenterUserIdReq) Reset

func (*GetUserNodeByNodeIdAndCenterUserIdReq) String

func (*GetUserNodeByNodeIdAndCenterUserIdReq) Validate

Validate checks the field values on GetUserNodeByNodeIdAndCenterUserIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserNodeByNodeIdAndCenterUserIdReq) ValidateAll

ValidateAll checks the field values on GetUserNodeByNodeIdAndCenterUserIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserNodeByNodeIdAndCenterUserIdReqMultiError, or nil if none found.

type GetUserNodeByNodeIdAndCenterUserIdReqMultiError

type GetUserNodeByNodeIdAndCenterUserIdReqMultiError []error

GetUserNodeByNodeIdAndCenterUserIdReqMultiError is an error wrapping multiple validation errors returned by GetUserNodeByNodeIdAndCenterUserIdReq.ValidateAll() if the designated constraints aren't met.

func (GetUserNodeByNodeIdAndCenterUserIdReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetUserNodeByNodeIdAndCenterUserIdReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetUserNodeByNodeIdAndCenterUserIdReqValidationError

type GetUserNodeByNodeIdAndCenterUserIdReqValidationError struct {
	// contains filtered or unexported fields
}

GetUserNodeByNodeIdAndCenterUserIdReqValidationError is the validation error returned by GetUserNodeByNodeIdAndCenterUserIdReq.Validate if the designated constraints aren't met.

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Cause

Cause function returns cause value.

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) ErrorName

ErrorName returns error name.

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Field

Field function returns field value.

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Key

Key function returns key value.

func (GetUserNodeByNodeIdAndCenterUserIdReqValidationError) Reason

Reason function returns reason value.

type IsRealReply

type IsRealReply struct {
	// contains filtered or unexported fields
}

func (*IsRealReply) Descriptor deprecated

func (*IsRealReply) Descriptor() ([]byte, []int)

Deprecated: Use IsRealReply.ProtoReflect.Descriptor instead.

func (*IsRealReply) ProtoMessage

func (*IsRealReply) ProtoMessage()

func (*IsRealReply) ProtoReflect

func (x *IsRealReply) ProtoReflect() protoreflect.Message

func (*IsRealReply) Reset

func (x *IsRealReply) Reset()

func (*IsRealReply) String

func (x *IsRealReply) String() string

func (*IsRealReply) Validate

func (m *IsRealReply) Validate() error

Validate checks the field values on IsRealReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IsRealReply) ValidateAll

func (m *IsRealReply) ValidateAll() error

ValidateAll checks the field values on IsRealReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsRealReplyMultiError, or nil if none found.

type IsRealReplyMultiError

type IsRealReplyMultiError []error

IsRealReplyMultiError is an error wrapping multiple validation errors returned by IsRealReply.ValidateAll() if the designated constraints aren't met.

func (IsRealReplyMultiError) AllErrors

func (m IsRealReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IsRealReplyMultiError) Error

func (m IsRealReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IsRealReplyValidationError

type IsRealReplyValidationError struct {
	// contains filtered or unexported fields
}

IsRealReplyValidationError is the validation error returned by IsRealReply.Validate if the designated constraints aren't met.

func (IsRealReplyValidationError) Cause

Cause function returns cause value.

func (IsRealReplyValidationError) Error

Error satisfies the builtin error interface

func (IsRealReplyValidationError) ErrorName

func (e IsRealReplyValidationError) ErrorName() string

ErrorName returns error name.

func (IsRealReplyValidationError) Field

Field function returns field value.

func (IsRealReplyValidationError) Key

Key function returns key value.

func (IsRealReplyValidationError) Reason

Reason function returns reason value.

type IsRealReq

type IsRealReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 节点 id
	IdCard string `protobuf:"bytes,2,opt,name=idCard,proto3" json:"idCard,omitempty"` // 身份证件
	// contains filtered or unexported fields
}

是否实名

func (*IsRealReq) Descriptor deprecated

func (*IsRealReq) Descriptor() ([]byte, []int)

Deprecated: Use IsRealReq.ProtoReflect.Descriptor instead.

func (*IsRealReq) GetIdCard

func (x *IsRealReq) GetIdCard() string

func (*IsRealReq) GetUserId

func (x *IsRealReq) GetUserId() string

func (*IsRealReq) ProtoMessage

func (*IsRealReq) ProtoMessage()

func (*IsRealReq) ProtoReflect

func (x *IsRealReq) ProtoReflect() protoreflect.Message

func (*IsRealReq) Reset

func (x *IsRealReq) Reset()

func (*IsRealReq) String

func (x *IsRealReq) String() string

func (*IsRealReq) Validate

func (m *IsRealReq) Validate() error

Validate checks the field values on IsRealReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IsRealReq) ValidateAll

func (m *IsRealReq) ValidateAll() error

ValidateAll checks the field values on IsRealReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsRealReqMultiError, or nil if none found.

type IsRealReqMultiError

type IsRealReqMultiError []error

IsRealReqMultiError is an error wrapping multiple validation errors returned by IsRealReq.ValidateAll() if the designated constraints aren't met.

func (IsRealReqMultiError) AllErrors

func (m IsRealReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IsRealReqMultiError) Error

func (m IsRealReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type IsRealReqValidationError

type IsRealReqValidationError struct {
	// contains filtered or unexported fields
}

IsRealReqValidationError is the validation error returned by IsRealReq.Validate if the designated constraints aren't met.

func (IsRealReqValidationError) Cause

func (e IsRealReqValidationError) Cause() error

Cause function returns cause value.

func (IsRealReqValidationError) Error

func (e IsRealReqValidationError) Error() string

Error satisfies the builtin error interface

func (IsRealReqValidationError) ErrorName

func (e IsRealReqValidationError) ErrorName() string

ErrorName returns error name.

func (IsRealReqValidationError) Field

func (e IsRealReqValidationError) Field() string

Field function returns field value.

func (IsRealReqValidationError) Key

Key function returns key value.

func (IsRealReqValidationError) Reason

func (e IsRealReqValidationError) Reason() string

Reason function returns reason value.

type ListProfileReply

type ListProfileReply struct {
	Total int64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*UserProfile `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProfileReply) Descriptor deprecated

func (*ListProfileReply) Descriptor() ([]byte, []int)

Deprecated: Use ListProfileReply.ProtoReflect.Descriptor instead.

func (*ListProfileReply) GetList

func (x *ListProfileReply) GetList() []*UserProfile

func (*ListProfileReply) GetTotal

func (x *ListProfileReply) GetTotal() int64

func (*ListProfileReply) ProtoMessage

func (*ListProfileReply) ProtoMessage()

func (*ListProfileReply) ProtoReflect

func (x *ListProfileReply) ProtoReflect() protoreflect.Message

func (*ListProfileReply) Reset

func (x *ListProfileReply) Reset()

func (*ListProfileReply) String

func (x *ListProfileReply) String() string

func (*ListProfileReply) Validate

func (m *ListProfileReply) Validate() error

Validate checks the field values on ListProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListProfileReply) ValidateAll

func (m *ListProfileReply) ValidateAll() error

ValidateAll checks the field values on ListProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProfileReplyMultiError, or nil if none found.

type ListProfileReplyMultiError

type ListProfileReplyMultiError []error

ListProfileReplyMultiError is an error wrapping multiple validation errors returned by ListProfileReply.ValidateAll() if the designated constraints aren't met.

func (ListProfileReplyMultiError) AllErrors

func (m ListProfileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListProfileReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListProfileReplyValidationError

type ListProfileReplyValidationError struct {
	// contains filtered or unexported fields
}

ListProfileReplyValidationError is the validation error returned by ListProfileReply.Validate if the designated constraints aren't met.

func (ListProfileReplyValidationError) Cause

Cause function returns cause value.

func (ListProfileReplyValidationError) Error

Error satisfies the builtin error interface

func (ListProfileReplyValidationError) ErrorName

ErrorName returns error name.

func (ListProfileReplyValidationError) Field

Field function returns field value.

func (ListProfileReplyValidationError) Key

Key function returns key value.

func (ListProfileReplyValidationError) Reason

Reason function returns reason value.

type ListProfileReq

type ListProfileReq struct {
	Page      *v21.Pagination   `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`           //分页信息
	IsLimit   bool              `protobuf:"varint,2,opt,name=isLimit,proto3" json:"isLimit,omitempty"`    // 是否分页 false:(返回全部) true:(会通过 size 和 num 进行分页)
	SelectStr []string          `protobuf:"bytes,3,rep,name=selectStr,proto3" json:"selectStr,omitempty"` // 目标字段的数组
	Cond      map[string]string ``                                                                        //直接赋值判定条件
	/* 149-byte string literal not displayed */
	Supplement []string `protobuf:"bytes,5,rep,name=supplement,proto3" json:"supplement,omitempty"` //补充条件
	NodeId     string   `protobuf:"bytes,6,opt,name=nodeId,proto3" json:"nodeId,omitempty"`         // 节点 id
	// contains filtered or unexported fields
}

获取用户列表

func (*ListProfileReq) Descriptor deprecated

func (*ListProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use ListProfileReq.ProtoReflect.Descriptor instead.

func (*ListProfileReq) GetCond

func (x *ListProfileReq) GetCond() map[string]string

func (*ListProfileReq) GetIsLimit

func (x *ListProfileReq) GetIsLimit() bool

func (*ListProfileReq) GetNodeId

func (x *ListProfileReq) GetNodeId() string

func (*ListProfileReq) GetPage

func (x *ListProfileReq) GetPage() *v21.Pagination

func (*ListProfileReq) GetSelectStr

func (x *ListProfileReq) GetSelectStr() []string

func (*ListProfileReq) GetSupplement

func (x *ListProfileReq) GetSupplement() []string

func (*ListProfileReq) ProtoMessage

func (*ListProfileReq) ProtoMessage()

func (*ListProfileReq) ProtoReflect

func (x *ListProfileReq) ProtoReflect() protoreflect.Message

func (*ListProfileReq) Reset

func (x *ListProfileReq) Reset()

func (*ListProfileReq) String

func (x *ListProfileReq) String() string

func (*ListProfileReq) Validate

func (m *ListProfileReq) Validate() error

Validate checks the field values on ListProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListProfileReq) ValidateAll

func (m *ListProfileReq) ValidateAll() error

ValidateAll checks the field values on ListProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProfileReqMultiError, or nil if none found.

type ListProfileReqMultiError

type ListProfileReqMultiError []error

ListProfileReqMultiError is an error wrapping multiple validation errors returned by ListProfileReq.ValidateAll() if the designated constraints aren't met.

func (ListProfileReqMultiError) AllErrors

func (m ListProfileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListProfileReqMultiError) Error

func (m ListProfileReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListProfileReqValidationError

type ListProfileReqValidationError struct {
	// contains filtered or unexported fields
}

ListProfileReqValidationError is the validation error returned by ListProfileReq.Validate if the designated constraints aren't met.

func (ListProfileReqValidationError) Cause

Cause function returns cause value.

func (ListProfileReqValidationError) Error

Error satisfies the builtin error interface

func (ListProfileReqValidationError) ErrorName

func (e ListProfileReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListProfileReqValidationError) Field

Field function returns field value.

func (ListProfileReqValidationError) Key

Key function returns key value.

func (ListProfileReqValidationError) Reason

Reason function returns reason value.

type ProfileClient

type ProfileClient interface {
	// 基本接口
	// 获取用户信息
	GetProfile(ctx context.Context, in *GetProfileReq, opts ...grpc.CallOption) (*GetProfileReply, error)
	// 更新用户新
	UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*UpdateProfileReply, error)
	// 获取用户列表
	ListProfile(ctx context.Context, in *ListProfileReq, opts ...grpc.CallOption) (*ListProfileReply, error)
	// 获取用户列表
	GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListReply, error)
	// 根据账号获取用户信息
	GetByAccount(ctx context.Context, in *GetByAccountReq, opts ...grpc.CallOption) (*GetByAccountReply, error)
	// 根据手机号获取用户信息
	GetByPhone(ctx context.Context, in *GetByPhoneReq, opts ...grpc.CallOption) (*GetByPhoneReply, error)
	// 根据邮箱获取用户信息
	GetByEmail(ctx context.Context, in *GetByEmailReq, opts ...grpc.CallOption) (*GetByEmailReply, error)
	// 根据code获取用户信息
	GetByCode(ctx context.Context, in *GetByCodeReq, opts ...grpc.CallOption) (*GetByCodeReply, error)
	// 工具方法
	// 根据ids获取用户信息
	FindProfileByUserId(ctx context.Context, in *FindProfileByUserReq, opts ...grpc.CallOption) (*FindProfileByUserReply, error)
	// 批量插入
	BatchInsert(ctx context.Context, in *BatchInsertProfileReq, opts ...grpc.CallOption) (*BatchInsertProfileReply, error)
	// 是否实名
	IsReal(ctx context.Context, in *IsRealReq, opts ...grpc.CallOption) (*IsRealReply, error)
}

ProfileClient is the client API for Profile service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Profile 服务

func NewProfileClient

func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient

type ProfileServer

type ProfileServer interface {
	// 基本接口
	// 获取用户信息
	GetProfile(context.Context, *GetProfileReq) (*GetProfileReply, error)
	// 更新用户新
	UpdateProfile(context.Context, *UpdateProfileReq) (*UpdateProfileReply, error)
	// 获取用户列表
	ListProfile(context.Context, *ListProfileReq) (*ListProfileReply, error)
	// 获取用户列表
	GetList(context.Context, *GetListReq) (*GetListReply, error)
	// 根据账号获取用户信息
	GetByAccount(context.Context, *GetByAccountReq) (*GetByAccountReply, error)
	// 根据手机号获取用户信息
	GetByPhone(context.Context, *GetByPhoneReq) (*GetByPhoneReply, error)
	// 根据邮箱获取用户信息
	GetByEmail(context.Context, *GetByEmailReq) (*GetByEmailReply, error)
	// 根据code获取用户信息
	GetByCode(context.Context, *GetByCodeReq) (*GetByCodeReply, error)
	// 工具方法
	// 根据ids获取用户信息
	FindProfileByUserId(context.Context, *FindProfileByUserReq) (*FindProfileByUserReply, error)
	// 批量插入
	BatchInsert(context.Context, *BatchInsertProfileReq) (*BatchInsertProfileReply, error)
	// 是否实名
	IsReal(context.Context, *IsRealReq) (*IsRealReply, error)
	// contains filtered or unexported methods
}

ProfileServer is the server API for Profile service. All implementations must embed UnimplementedProfileServer for forward compatibility

Profile 服务

type SyncUserInfoReply

type SyncUserInfoReply struct {
	// contains filtered or unexported fields
}

func (*SyncUserInfoReply) Descriptor deprecated

func (*SyncUserInfoReply) Descriptor() ([]byte, []int)

Deprecated: Use SyncUserInfoReply.ProtoReflect.Descriptor instead.

func (*SyncUserInfoReply) ProtoMessage

func (*SyncUserInfoReply) ProtoMessage()

func (*SyncUserInfoReply) ProtoReflect

func (x *SyncUserInfoReply) ProtoReflect() protoreflect.Message

func (*SyncUserInfoReply) Reset

func (x *SyncUserInfoReply) Reset()

func (*SyncUserInfoReply) String

func (x *SyncUserInfoReply) String() string

func (*SyncUserInfoReply) Validate

func (m *SyncUserInfoReply) Validate() error

Validate checks the field values on SyncUserInfoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SyncUserInfoReply) ValidateAll

func (m *SyncUserInfoReply) ValidateAll() error

ValidateAll checks the field values on SyncUserInfoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SyncUserInfoReplyMultiError, or nil if none found.

type SyncUserInfoReplyMultiError

type SyncUserInfoReplyMultiError []error

SyncUserInfoReplyMultiError is an error wrapping multiple validation errors returned by SyncUserInfoReply.ValidateAll() if the designated constraints aren't met.

func (SyncUserInfoReplyMultiError) AllErrors

func (m SyncUserInfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SyncUserInfoReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SyncUserInfoReplyValidationError

type SyncUserInfoReplyValidationError struct {
	// contains filtered or unexported fields
}

SyncUserInfoReplyValidationError is the validation error returned by SyncUserInfoReply.Validate if the designated constraints aren't met.

func (SyncUserInfoReplyValidationError) Cause

Cause function returns cause value.

func (SyncUserInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (SyncUserInfoReplyValidationError) ErrorName

ErrorName returns error name.

func (SyncUserInfoReplyValidationError) Field

Field function returns field value.

func (SyncUserInfoReplyValidationError) Key

Key function returns key value.

func (SyncUserInfoReplyValidationError) Reason

Reason function returns reason value.

type SyncUserInfoReq

type SyncUserInfoReq struct {
	UserInfo *v21.SyncUser `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"` //用户信息
	// contains filtered or unexported fields
}

同步用户信息

func (*SyncUserInfoReq) Descriptor deprecated

func (*SyncUserInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use SyncUserInfoReq.ProtoReflect.Descriptor instead.

func (*SyncUserInfoReq) GetUserInfo

func (x *SyncUserInfoReq) GetUserInfo() *v21.SyncUser

func (*SyncUserInfoReq) ProtoMessage

func (*SyncUserInfoReq) ProtoMessage()

func (*SyncUserInfoReq) ProtoReflect

func (x *SyncUserInfoReq) ProtoReflect() protoreflect.Message

func (*SyncUserInfoReq) Reset

func (x *SyncUserInfoReq) Reset()

func (*SyncUserInfoReq) String

func (x *SyncUserInfoReq) String() string

func (*SyncUserInfoReq) Validate

func (m *SyncUserInfoReq) Validate() error

Validate checks the field values on SyncUserInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SyncUserInfoReq) ValidateAll

func (m *SyncUserInfoReq) ValidateAll() error

ValidateAll checks the field values on SyncUserInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SyncUserInfoReqMultiError, or nil if none found.

type SyncUserInfoReqMultiError

type SyncUserInfoReqMultiError []error

SyncUserInfoReqMultiError is an error wrapping multiple validation errors returned by SyncUserInfoReq.ValidateAll() if the designated constraints aren't met.

func (SyncUserInfoReqMultiError) AllErrors

func (m SyncUserInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SyncUserInfoReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SyncUserInfoReqValidationError

type SyncUserInfoReqValidationError struct {
	// contains filtered or unexported fields
}

SyncUserInfoReqValidationError is the validation error returned by SyncUserInfoReq.Validate if the designated constraints aren't met.

func (SyncUserInfoReqValidationError) Cause

Cause function returns cause value.

func (SyncUserInfoReqValidationError) Error

Error satisfies the builtin error interface

func (SyncUserInfoReqValidationError) ErrorName

func (e SyncUserInfoReqValidationError) ErrorName() string

ErrorName returns error name.

func (SyncUserInfoReqValidationError) Field

Field function returns field value.

func (SyncUserInfoReqValidationError) Key

Key function returns key value.

func (SyncUserInfoReqValidationError) Reason

Reason function returns reason value.

type SyncUserNode

type SyncUserNode struct {
	NodeId       string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`             // 节点 id
	FaceURL      string `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"`           // 头像
	Nickname     string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`         // 昵称
	FromUserId   string `protobuf:"bytes,4,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"`     // 推广来源用户id
	UserId       string `protobuf:"bytes,5,opt,name=userId,proto3" json:"userId,omitempty"`             // 用户所在节点id
	CenterUserId string `protobuf:"bytes,6,opt,name=centerUserId,proto3" json:"centerUserId,omitempty"` // 用户中心的id
	TenantId     string `protobuf:"bytes,7,opt,name=tenantId,proto3" json:"tenantId,omitempty"`         // 租户id
	// contains filtered or unexported fields
}

同步的用户节点信息

func (*SyncUserNode) Descriptor deprecated

func (*SyncUserNode) Descriptor() ([]byte, []int)

Deprecated: Use SyncUserNode.ProtoReflect.Descriptor instead.

func (*SyncUserNode) GetCenterUserId

func (x *SyncUserNode) GetCenterUserId() string

func (*SyncUserNode) GetFaceURL

func (x *SyncUserNode) GetFaceURL() string

func (*SyncUserNode) GetFromUserId

func (x *SyncUserNode) GetFromUserId() string

func (*SyncUserNode) GetNickname

func (x *SyncUserNode) GetNickname() string

func (*SyncUserNode) GetNodeId

func (x *SyncUserNode) GetNodeId() string

func (*SyncUserNode) GetTenantId

func (x *SyncUserNode) GetTenantId() string

func (*SyncUserNode) GetUserId

func (x *SyncUserNode) GetUserId() string

func (*SyncUserNode) ProtoMessage

func (*SyncUserNode) ProtoMessage()

func (*SyncUserNode) ProtoReflect

func (x *SyncUserNode) ProtoReflect() protoreflect.Message

func (*SyncUserNode) Reset

func (x *SyncUserNode) Reset()

func (*SyncUserNode) String

func (x *SyncUserNode) String() string

func (*SyncUserNode) Validate

func (m *SyncUserNode) Validate() error

Validate checks the field values on SyncUserNode with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SyncUserNode) ValidateAll

func (m *SyncUserNode) ValidateAll() error

ValidateAll checks the field values on SyncUserNode with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SyncUserNodeMultiError, or nil if none found.

type SyncUserNodeMultiError

type SyncUserNodeMultiError []error

SyncUserNodeMultiError is an error wrapping multiple validation errors returned by SyncUserNode.ValidateAll() if the designated constraints aren't met.

func (SyncUserNodeMultiError) AllErrors

func (m SyncUserNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SyncUserNodeMultiError) Error

func (m SyncUserNodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SyncUserNodeValidationError

type SyncUserNodeValidationError struct {
	// contains filtered or unexported fields
}

SyncUserNodeValidationError is the validation error returned by SyncUserNode.Validate if the designated constraints aren't met.

func (SyncUserNodeValidationError) Cause

Cause function returns cause value.

func (SyncUserNodeValidationError) Error

Error satisfies the builtin error interface

func (SyncUserNodeValidationError) ErrorName

func (e SyncUserNodeValidationError) ErrorName() string

ErrorName returns error name.

func (SyncUserNodeValidationError) Field

Field function returns field value.

func (SyncUserNodeValidationError) Key

Key function returns key value.

func (SyncUserNodeValidationError) Reason

Reason function returns reason value.

type UnimplementedProfileServer

type UnimplementedProfileServer struct {
}

UnimplementedProfileServer must be embedded to have forward compatible implementations.

func (UnimplementedProfileServer) BatchInsert

func (UnimplementedProfileServer) FindProfileByUserId

func (UnimplementedProfileServer) GetByAccount

func (UnimplementedProfileServer) GetByCode

func (UnimplementedProfileServer) GetByEmail

func (UnimplementedProfileServer) GetByPhone

func (UnimplementedProfileServer) GetList

func (UnimplementedProfileServer) GetProfile

func (UnimplementedProfileServer) IsReal

func (UnimplementedProfileServer) ListProfile

func (UnimplementedProfileServer) UpdateProfile

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) BatchInsert

func (UnimplementedUserServer) CancelNodeAccount

func (UnimplementedUserServer) CreateUser

func (UnimplementedUserServer) DeleteUser

func (UnimplementedUserServer) DistributeUser

func (UnimplementedUserServer) GetNodeInfoByUserId

func (UnimplementedUserServer) GetSyncUserInfo

func (UnimplementedUserServer) SyncUserInfo

func (UnimplementedUserServer) UpdatePassword

func (UnimplementedUserServer) VerifyPassword

type UnsafeProfileServer

type UnsafeProfileServer interface {
	// contains filtered or unexported methods
}

UnsafeProfileServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServer will result in compilation errors.

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdatePasswordReply

type UpdatePasswordReply struct {
	// contains filtered or unexported fields
}

func (*UpdatePasswordReply) Descriptor deprecated

func (*UpdatePasswordReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordReply.ProtoReflect.Descriptor instead.

func (*UpdatePasswordReply) ProtoMessage

func (*UpdatePasswordReply) ProtoMessage()

func (*UpdatePasswordReply) ProtoReflect

func (x *UpdatePasswordReply) ProtoReflect() protoreflect.Message

func (*UpdatePasswordReply) Reset

func (x *UpdatePasswordReply) Reset()

func (*UpdatePasswordReply) String

func (x *UpdatePasswordReply) String() string

func (*UpdatePasswordReply) Validate

func (m *UpdatePasswordReply) Validate() error

Validate checks the field values on UpdatePasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePasswordReply) ValidateAll

func (m *UpdatePasswordReply) ValidateAll() error

ValidateAll checks the field values on UpdatePasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordReplyMultiError, or nil if none found.

type UpdatePasswordReplyMultiError

type UpdatePasswordReplyMultiError []error

UpdatePasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReply.ValidateAll() if the designated constraints aren't met.

func (UpdatePasswordReplyMultiError) AllErrors

func (m UpdatePasswordReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePasswordReplyValidationError

type UpdatePasswordReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdatePasswordReplyValidationError is the validation error returned by UpdatePasswordReply.Validate if the designated constraints aren't met.

func (UpdatePasswordReplyValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordReplyValidationError) Field

Field function returns field value.

func (UpdatePasswordReplyValidationError) Key

Key function returns key value.

func (UpdatePasswordReplyValidationError) Reason

Reason function returns reason value.

type UpdatePasswordReq

type UpdatePasswordReq struct {
	UserId   string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`     // 用户 id
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码
	// contains filtered or unexported fields
}

更新密码 -------------------------------------------

func (*UpdatePasswordReq) Descriptor deprecated

func (*UpdatePasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordReq.ProtoReflect.Descriptor instead.

func (*UpdatePasswordReq) GetPassword

func (x *UpdatePasswordReq) GetPassword() string

func (*UpdatePasswordReq) GetUserId

func (x *UpdatePasswordReq) GetUserId() string

func (*UpdatePasswordReq) ProtoMessage

func (*UpdatePasswordReq) ProtoMessage()

func (*UpdatePasswordReq) ProtoReflect

func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message

func (*UpdatePasswordReq) Reset

func (x *UpdatePasswordReq) Reset()

func (*UpdatePasswordReq) String

func (x *UpdatePasswordReq) String() string

func (*UpdatePasswordReq) Validate

func (m *UpdatePasswordReq) Validate() error

Validate checks the field values on UpdatePasswordReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdatePasswordReq) ValidateAll

func (m *UpdatePasswordReq) ValidateAll() error

ValidateAll checks the field values on UpdatePasswordReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordReqMultiError, or nil if none found.

type UpdatePasswordReqMultiError

type UpdatePasswordReqMultiError []error

UpdatePasswordReqMultiError is an error wrapping multiple validation errors returned by UpdatePasswordReq.ValidateAll() if the designated constraints aren't met.

func (UpdatePasswordReqMultiError) AllErrors

func (m UpdatePasswordReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdatePasswordReqValidationError

type UpdatePasswordReqValidationError struct {
	// contains filtered or unexported fields
}

UpdatePasswordReqValidationError is the validation error returned by UpdatePasswordReq.Validate if the designated constraints aren't met.

func (UpdatePasswordReqValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordReqValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordReqValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordReqValidationError) Field

Field function returns field value.

func (UpdatePasswordReqValidationError) Key

Key function returns key value.

func (UpdatePasswordReqValidationError) Reason

Reason function returns reason value.

type UpdateProfileReply

type UpdateProfileReply struct {
	// contains filtered or unexported fields
}

func (*UpdateProfileReply) Descriptor deprecated

func (*UpdateProfileReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileReply.ProtoReflect.Descriptor instead.

func (*UpdateProfileReply) ProtoMessage

func (*UpdateProfileReply) ProtoMessage()

func (*UpdateProfileReply) ProtoReflect

func (x *UpdateProfileReply) ProtoReflect() protoreflect.Message

func (*UpdateProfileReply) Reset

func (x *UpdateProfileReply) Reset()

func (*UpdateProfileReply) String

func (x *UpdateProfileReply) String() string

func (*UpdateProfileReply) Validate

func (m *UpdateProfileReply) Validate() error

Validate checks the field values on UpdateProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateProfileReply) ValidateAll

func (m *UpdateProfileReply) ValidateAll() error

ValidateAll checks the field values on UpdateProfileReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateProfileReplyMultiError, or nil if none found.

type UpdateProfileReplyMultiError

type UpdateProfileReplyMultiError []error

UpdateProfileReplyMultiError is an error wrapping multiple validation errors returned by UpdateProfileReply.ValidateAll() if the designated constraints aren't met.

func (UpdateProfileReplyMultiError) AllErrors

func (m UpdateProfileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateProfileReplyMultiError) Error

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

Cause function returns cause value.

func (UpdateProfileReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateProfileReplyValidationError) Field

Field function returns field value.

func (UpdateProfileReplyValidationError) Key

Key function returns key value.

func (UpdateProfileReplyValidationError) Reason

Reason function returns reason value.

type UpdateProfileReq

type UpdateProfileReq struct {
	UserId     string     `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`                                       // 用户id
	FaceURL    *string    `protobuf:"bytes,2,opt,name=faceURL,proto3,oneof" json:"faceURL,omitempty"`                               // 头像地址
	Nickname   *string    `protobuf:"bytes,3,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"`                             // 昵称
	Gender     *v2.Gender `protobuf:"varint,4,opt,name=gender,proto3,enum=api.common.enum.v2.Gender,oneof" json:"gender,omitempty"` // 性别
	Message    *string    `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"`                               // 签名
	Phone      *string    `protobuf:"bytes,6,opt,name=phone,proto3,oneof" json:"phone,omitempty"`                                   // 电话
	Email      *string    `protobuf:"bytes,7,opt,name=email,proto3,oneof" json:"email,omitempty"`                                   // 邮箱
	Birth      *int64     `protobuf:"varint,9,opt,name=birth,proto3,oneof" json:"birth,omitempty"`                                  // 生日
	NodeId     *string    `protobuf:"bytes,10,opt,name=nodeId,proto3,oneof" json:"nodeId,omitempty"`                                // 节点 id
	FullName   *string    `protobuf:"bytes,11,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"`                            // 真实名称
	PersonId   *string    `protobuf:"bytes,12,opt,name=personId,proto3,oneof" json:"personId,omitempty"`                            // 身份证号
	LastNodeId *string    `protobuf:"bytes,13,opt,name=lastNodeId,proto3,oneof" json:"lastNodeId,omitempty"`                        // 最后一次登录节点id
	Status     *int32     `protobuf:"varint,14,opt,name=status,proto3,oneof" json:"status,omitempty"`                               //用户状态
	// contains filtered or unexported fields
}

更新用户信息

func (*UpdateProfileReq) Descriptor deprecated

func (*UpdateProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileReq.ProtoReflect.Descriptor instead.

func (*UpdateProfileReq) GetBirth

func (x *UpdateProfileReq) GetBirth() int64

func (*UpdateProfileReq) GetEmail

func (x *UpdateProfileReq) GetEmail() string

func (*UpdateProfileReq) GetFaceURL

func (x *UpdateProfileReq) GetFaceURL() string

func (*UpdateProfileReq) GetFullName

func (x *UpdateProfileReq) GetFullName() string

func (*UpdateProfileReq) GetGender

func (x *UpdateProfileReq) GetGender() v2.Gender

func (*UpdateProfileReq) GetLastNodeId

func (x *UpdateProfileReq) GetLastNodeId() string

func (*UpdateProfileReq) GetMessage

func (x *UpdateProfileReq) GetMessage() string

func (*UpdateProfileReq) GetNickname

func (x *UpdateProfileReq) GetNickname() string

func (*UpdateProfileReq) GetNodeId

func (x *UpdateProfileReq) GetNodeId() string

func (*UpdateProfileReq) GetPersonId

func (x *UpdateProfileReq) GetPersonId() string

func (*UpdateProfileReq) GetPhone

func (x *UpdateProfileReq) GetPhone() string

func (*UpdateProfileReq) GetStatus

func (x *UpdateProfileReq) GetStatus() int32

func (*UpdateProfileReq) GetUserId

func (x *UpdateProfileReq) GetUserId() string

func (*UpdateProfileReq) ProtoMessage

func (*UpdateProfileReq) ProtoMessage()

func (*UpdateProfileReq) ProtoReflect

func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message

func (*UpdateProfileReq) Reset

func (x *UpdateProfileReq) Reset()

func (*UpdateProfileReq) String

func (x *UpdateProfileReq) String() string

func (*UpdateProfileReq) Validate

func (m *UpdateProfileReq) Validate() error

Validate checks the field values on UpdateProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateProfileReq) ValidateAll

func (m *UpdateProfileReq) ValidateAll() error

ValidateAll checks the field values on UpdateProfileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateProfileReqMultiError, or nil if none found.

type UpdateProfileReqMultiError

type UpdateProfileReqMultiError []error

UpdateProfileReqMultiError is an error wrapping multiple validation errors returned by UpdateProfileReq.ValidateAll() if the designated constraints aren't met.

func (UpdateProfileReqMultiError) AllErrors

func (m UpdateProfileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateProfileReqMultiError) Error

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

Cause function returns cause value.

func (UpdateProfileReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateProfileReqValidationError) Field

Field function returns field value.

func (UpdateProfileReqValidationError) Key

Key function returns key value.

func (UpdateProfileReqValidationError) Reason

Reason function returns reason value.

type UserClient

type UserClient interface {
	// 创建用户
	CreateUser(ctx context.Context, in *CreateUserReq, opts ...grpc.CallOption) (*CreateUserReply, error)
	// 修改用户密码
	UpdatePassword(ctx context.Context, in *UpdatePasswordReq, opts ...grpc.CallOption) (*UpdatePasswordReply, error)
	// 删除用户
	DeleteUser(ctx context.Context, in *DeleteUserReq, opts ...grpc.CallOption) (*DeleteUserReply, error)
	// 校验密码
	VerifyPassword(ctx context.Context, in *VerifyPasswordReq, opts ...grpc.CallOption) (*VerifyPasswordReply, error)
	// 批量插入
	BatchInsert(ctx context.Context, in *BatchInsertUserReq, opts ...grpc.CallOption) (*BatchInsertUserReply, error)
	// 获取同步用户信息
	GetSyncUserInfo(ctx context.Context, in *GetSyncUserInfoReq, opts ...grpc.CallOption) (*GetSyncUserInfoReply, error)
	// 同步用户信息
	SyncUserInfo(ctx context.Context, in *SyncUserInfoReq, opts ...grpc.CallOption) (*SyncUserInfoReply, error)
	// userId 查询nodeId
	GetNodeInfoByUserId(ctx context.Context, in *GetNodeInfoByUserIdReq, opts ...grpc.CallOption) (*GetNodeInfoByUserIdReply, error)
	// 直接下发用户数据
	DistributeUser(ctx context.Context, in *DistributeUserReq, opts ...grpc.CallOption) (*DistributeUserReply, error)
	// 更具node和用户中心id获取用户信息
	GetUserNodeByNodeIdAndCenterUserId(ctx context.Context, in *GetUserNodeByNodeIdAndCenterUserIdReq, opts ...grpc.CallOption) (*GetUserNodeByNodeIdAndCenterUserIdReply, error)
	// 注销节点账号
	CancelNodeAccount(ctx context.Context, in *CancelNodeAccountReq, opts ...grpc.CallOption) (*CancelNodeAccountReply, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserData

type UserData struct {
	CreatedAt int64  `protobuf:"varint,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // 创建时间
	UpdatedAt int64  `protobuf:"varint,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // 更新时间
	DeletedAt int64  `protobuf:"varint,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"` // 删除时间
	Id        string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`                // profile id 和 userId 等价
	Password  string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`    // 密码
	TenantId  string `protobuf:"bytes,6,opt,name=tenantId,proto3" json:"tenantId,omitempty"`    // 租户id
	// contains filtered or unexported fields
}

func (*UserData) Descriptor deprecated

func (*UserData) Descriptor() ([]byte, []int)

Deprecated: Use UserData.ProtoReflect.Descriptor instead.

func (*UserData) GetCreatedAt

func (x *UserData) GetCreatedAt() int64

func (*UserData) GetDeletedAt

func (x *UserData) GetDeletedAt() int64

func (*UserData) GetId

func (x *UserData) GetId() string

func (*UserData) GetPassword

func (x *UserData) GetPassword() string

func (*UserData) GetTenantId

func (x *UserData) GetTenantId() string

func (*UserData) GetUpdatedAt

func (x *UserData) GetUpdatedAt() int64

func (*UserData) ProtoMessage

func (*UserData) ProtoMessage()

func (*UserData) ProtoReflect

func (x *UserData) ProtoReflect() protoreflect.Message

func (*UserData) Reset

func (x *UserData) Reset()

func (*UserData) String

func (x *UserData) String() string

func (*UserData) Validate

func (m *UserData) Validate() error

Validate checks the field values on UserData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserData) ValidateAll

func (m *UserData) ValidateAll() error

ValidateAll checks the field values on UserData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserDataMultiError, or nil if none found.

type UserDataMultiError

type UserDataMultiError []error

UserDataMultiError is an error wrapping multiple validation errors returned by UserData.ValidateAll() if the designated constraints aren't met.

func (UserDataMultiError) AllErrors

func (m UserDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserDataMultiError) Error

func (m UserDataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserDataValidationError

type UserDataValidationError struct {
	// contains filtered or unexported fields
}

UserDataValidationError is the validation error returned by UserData.Validate if the designated constraints aren't met.

func (UserDataValidationError) Cause

func (e UserDataValidationError) Cause() error

Cause function returns cause value.

func (UserDataValidationError) Error

func (e UserDataValidationError) Error() string

Error satisfies the builtin error interface

func (UserDataValidationError) ErrorName

func (e UserDataValidationError) ErrorName() string

ErrorName returns error name.

func (UserDataValidationError) Field

func (e UserDataValidationError) Field() string

Field function returns field value.

func (UserDataValidationError) Key

func (e UserDataValidationError) Key() bool

Key function returns key value.

func (UserDataValidationError) Reason

func (e UserDataValidationError) Reason() string

Reason function returns reason value.

type UserNode

type UserNode struct {
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`     // 节点名称
	NodeId string `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点id
	Code   string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`     // 节点code
	// contains filtered or unexported fields
}

func (*UserNode) Descriptor deprecated

func (*UserNode) Descriptor() ([]byte, []int)

Deprecated: Use UserNode.ProtoReflect.Descriptor instead.

func (*UserNode) GetCode

func (x *UserNode) GetCode() string
func (x *UserNode) GetLogo() string

func (*UserNode) GetName

func (x *UserNode) GetName() string

func (*UserNode) GetNodeId

func (x *UserNode) GetNodeId() string

func (*UserNode) ProtoMessage

func (*UserNode) ProtoMessage()

func (*UserNode) ProtoReflect

func (x *UserNode) ProtoReflect() protoreflect.Message

func (*UserNode) Reset

func (x *UserNode) Reset()

func (*UserNode) String

func (x *UserNode) String() string

func (*UserNode) Validate

func (m *UserNode) Validate() error

Validate checks the field values on UserNode with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserNode) ValidateAll

func (m *UserNode) ValidateAll() error

ValidateAll checks the field values on UserNode with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserNodeMultiError, or nil if none found.

type UserNodeMultiError

type UserNodeMultiError []error

UserNodeMultiError is an error wrapping multiple validation errors returned by UserNode.ValidateAll() if the designated constraints aren't met.

func (UserNodeMultiError) AllErrors

func (m UserNodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserNodeMultiError) Error

func (m UserNodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserNodeValidationError

type UserNodeValidationError struct {
	// contains filtered or unexported fields
}

UserNodeValidationError is the validation error returned by UserNode.Validate if the designated constraints aren't met.

func (UserNodeValidationError) Cause

func (e UserNodeValidationError) Cause() error

Cause function returns cause value.

func (UserNodeValidationError) Error

func (e UserNodeValidationError) Error() string

Error satisfies the builtin error interface

func (UserNodeValidationError) ErrorName

func (e UserNodeValidationError) ErrorName() string

ErrorName returns error name.

func (UserNodeValidationError) Field

func (e UserNodeValidationError) Field() string

Field function returns field value.

func (UserNodeValidationError) Key

func (e UserNodeValidationError) Key() bool

Key function returns key value.

func (UserNodeValidationError) Reason

func (e UserNodeValidationError) Reason() string

Reason function returns reason value.

type UserOnlineType

type UserOnlineType int32

用户在线状态

const (
	UserOnlineType_USER_ONLINE_TYPE_OFFLINE UserOnlineType = 0 // 离线
	UserOnlineType_USER_ONLINE_TYPE_ONLINE  UserOnlineType = 1 // 在线
)

func (UserOnlineType) Descriptor

func (UserOnlineType) Enum

func (x UserOnlineType) Enum() *UserOnlineType

func (UserOnlineType) EnumDescriptor deprecated

func (UserOnlineType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserOnlineType.Descriptor instead.

func (UserOnlineType) Number

func (UserOnlineType) String

func (x UserOnlineType) String() string

func (UserOnlineType) Type

type UserProfile

type UserProfile struct {
	Id              string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                         // profile id 和 userId 等价
	FaceURL         string    `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"`                               // 头像地址
	Nickname        string    `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`                             // 昵称
	Account         string    `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"`                               // 账号
	Code            string    `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`                                     // 用户code
	Phone           string    `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`                                   // 电话
	Gender          v2.Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=api.common.enum.v2.Gender" json:"gender,omitempty"` // 性别
	ShareCode       string    `protobuf:"bytes,8,opt,name=shareCode,proto3" json:"shareCode,omitempty"`                           // 分享码
	Email           string    `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`                                   // 邮箱
	Birth           int64     `protobuf:"varint,10,opt,name=birth,proto3" json:"birth,omitempty"`                                 // 生日
	FullName        string    `protobuf:"bytes,11,opt,name=fullName,proto3" json:"fullName,omitempty"`                            // 真实名称
	PersonId        string    `protobuf:"bytes,12,opt,name=personId,proto3" json:"personId,omitempty"`                            // 身份证号
	CreatedAt       int64     `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"`                         // 创建时间
	UpdatedAt       int64     `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`                         // 更新时间
	DeletedAt       int64     `protobuf:"varint,15,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`                         // 删除时间
	AreaCode        int32     `protobuf:"varint,16,opt,name=areaCode,proto3" json:"areaCode,omitempty"`                           //手机区号
	Status          int32     `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"`                               // 账户状态 1 -> 正常,2->冻结
	TenantId        string    `protobuf:"bytes,18,opt,name=tenantId,proto3" json:"tenantId,omitempty"`                            // 租户id
	NodeId          string    `protobuf:"bytes,19,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                                //用户注册节点
	LastLoginNodeId string    `protobuf:"bytes,20,opt,name=lastLoginNodeId,proto3" json:"lastLoginNodeId,omitempty"`              //上次登录节点
	// contains filtered or unexported fields
}

用户信息

func (*UserProfile) Descriptor deprecated

func (*UserProfile) Descriptor() ([]byte, []int)

Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.

func (*UserProfile) GetAccount

func (x *UserProfile) GetAccount() string

func (*UserProfile) GetAreaCode

func (x *UserProfile) GetAreaCode() int32

func (*UserProfile) GetBirth

func (x *UserProfile) GetBirth() int64

func (*UserProfile) GetCode

func (x *UserProfile) GetCode() string

func (*UserProfile) GetCreatedAt

func (x *UserProfile) GetCreatedAt() int64

func (*UserProfile) GetDeletedAt

func (x *UserProfile) GetDeletedAt() int64

func (*UserProfile) GetEmail

func (x *UserProfile) GetEmail() string

func (*UserProfile) GetFaceURL

func (x *UserProfile) GetFaceURL() string

func (*UserProfile) GetFullName

func (x *UserProfile) GetFullName() string

func (*UserProfile) GetGender

func (x *UserProfile) GetGender() v2.Gender

func (*UserProfile) GetId

func (x *UserProfile) GetId() string

func (*UserProfile) GetLastLoginNodeId

func (x *UserProfile) GetLastLoginNodeId() string

func (*UserProfile) GetNickname

func (x *UserProfile) GetNickname() string

func (*UserProfile) GetNodeId

func (x *UserProfile) GetNodeId() string

func (*UserProfile) GetPersonId

func (x *UserProfile) GetPersonId() string

func (*UserProfile) GetPhone

func (x *UserProfile) GetPhone() string

func (*UserProfile) GetShareCode

func (x *UserProfile) GetShareCode() string

func (*UserProfile) GetStatus

func (x *UserProfile) GetStatus() int32

func (*UserProfile) GetTenantId

func (x *UserProfile) GetTenantId() string

func (*UserProfile) GetUpdatedAt

func (x *UserProfile) GetUpdatedAt() int64

func (*UserProfile) ProtoMessage

func (*UserProfile) ProtoMessage()

func (*UserProfile) ProtoReflect

func (x *UserProfile) ProtoReflect() protoreflect.Message

func (*UserProfile) Reset

func (x *UserProfile) Reset()

func (*UserProfile) String

func (x *UserProfile) String() string

func (*UserProfile) Validate

func (m *UserProfile) Validate() error

Validate checks the field values on UserProfile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserProfile) ValidateAll

func (m *UserProfile) ValidateAll() error

ValidateAll checks the field values on UserProfile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserProfileMultiError, or nil if none found.

type UserProfileMultiError

type UserProfileMultiError []error

UserProfileMultiError is an error wrapping multiple validation errors returned by UserProfile.ValidateAll() if the designated constraints aren't met.

func (UserProfileMultiError) AllErrors

func (m UserProfileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserProfileMultiError) Error

func (m UserProfileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserProfileValidationError

type UserProfileValidationError struct {
	// contains filtered or unexported fields
}

UserProfileValidationError is the validation error returned by UserProfile.Validate if the designated constraints aren't met.

func (UserProfileValidationError) Cause

Cause function returns cause value.

func (UserProfileValidationError) Error

Error satisfies the builtin error interface

func (UserProfileValidationError) ErrorName

func (e UserProfileValidationError) ErrorName() string

ErrorName returns error name.

func (UserProfileValidationError) Field

Field function returns field value.

func (UserProfileValidationError) Key

Key function returns key value.

func (UserProfileValidationError) Reason

Reason function returns reason value.

type UserServer

type UserServer interface {
	// 创建用户
	CreateUser(context.Context, *CreateUserReq) (*CreateUserReply, error)
	// 修改用户密码
	UpdatePassword(context.Context, *UpdatePasswordReq) (*UpdatePasswordReply, error)
	// 删除用户
	DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserReply, error)
	// 校验密码
	VerifyPassword(context.Context, *VerifyPasswordReq) (*VerifyPasswordReply, error)
	// 批量插入
	BatchInsert(context.Context, *BatchInsertUserReq) (*BatchInsertUserReply, error)
	// 获取同步用户信息
	GetSyncUserInfo(context.Context, *GetSyncUserInfoReq) (*GetSyncUserInfoReply, error)
	// 同步用户信息
	SyncUserInfo(context.Context, *SyncUserInfoReq) (*SyncUserInfoReply, error)
	// userId 查询nodeId
	GetNodeInfoByUserId(context.Context, *GetNodeInfoByUserIdReq) (*GetNodeInfoByUserIdReply, error)
	// 直接下发用户数据
	DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error)
	// 更具node和用户中心id获取用户信息
	GetUserNodeByNodeIdAndCenterUserId(context.Context, *GetUserNodeByNodeIdAndCenterUserIdReq) (*GetUserNodeByNodeIdAndCenterUserIdReply, error)
	// 注销节点账号
	CancelNodeAccount(context.Context, *CancelNodeAccountReq) (*CancelNodeAccountReply, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

type VerifyPasswordReply

type VerifyPasswordReply struct {
	Ok bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyPasswordReply) Descriptor deprecated

func (*VerifyPasswordReply) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPasswordReply.ProtoReflect.Descriptor instead.

func (*VerifyPasswordReply) GetId

func (x *VerifyPasswordReply) GetId() string

func (*VerifyPasswordReply) GetOk

func (x *VerifyPasswordReply) GetOk() bool

func (*VerifyPasswordReply) ProtoMessage

func (*VerifyPasswordReply) ProtoMessage()

func (*VerifyPasswordReply) ProtoReflect

func (x *VerifyPasswordReply) ProtoReflect() protoreflect.Message

func (*VerifyPasswordReply) Reset

func (x *VerifyPasswordReply) Reset()

func (*VerifyPasswordReply) String

func (x *VerifyPasswordReply) String() string

func (*VerifyPasswordReply) Validate

func (m *VerifyPasswordReply) Validate() error

Validate checks the field values on VerifyPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyPasswordReply) ValidateAll

func (m *VerifyPasswordReply) ValidateAll() error

ValidateAll checks the field values on VerifyPasswordReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyPasswordReplyMultiError, or nil if none found.

type VerifyPasswordReplyMultiError

type VerifyPasswordReplyMultiError []error

VerifyPasswordReplyMultiError is an error wrapping multiple validation errors returned by VerifyPasswordReply.ValidateAll() if the designated constraints aren't met.

func (VerifyPasswordReplyMultiError) AllErrors

func (m VerifyPasswordReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyPasswordReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyPasswordReplyValidationError

type VerifyPasswordReplyValidationError struct {
	// contains filtered or unexported fields
}

VerifyPasswordReplyValidationError is the validation error returned by VerifyPasswordReply.Validate if the designated constraints aren't met.

func (VerifyPasswordReplyValidationError) Cause

Cause function returns cause value.

func (VerifyPasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (VerifyPasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (VerifyPasswordReplyValidationError) Field

Field function returns field value.

func (VerifyPasswordReplyValidationError) Key

Key function returns key value.

func (VerifyPasswordReplyValidationError) Reason

Reason function returns reason value.

type VerifyPasswordReq

type VerifyPasswordReq struct {
	UserId   string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`     // 用户 id
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码
	// contains filtered or unexported fields
}

校验密码 -------------------------------------------

func (*VerifyPasswordReq) Descriptor deprecated

func (*VerifyPasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPasswordReq.ProtoReflect.Descriptor instead.

func (*VerifyPasswordReq) GetPassword

func (x *VerifyPasswordReq) GetPassword() string

func (*VerifyPasswordReq) GetUserId

func (x *VerifyPasswordReq) GetUserId() string

func (*VerifyPasswordReq) ProtoMessage

func (*VerifyPasswordReq) ProtoMessage()

func (*VerifyPasswordReq) ProtoReflect

func (x *VerifyPasswordReq) ProtoReflect() protoreflect.Message

func (*VerifyPasswordReq) Reset

func (x *VerifyPasswordReq) Reset()

func (*VerifyPasswordReq) String

func (x *VerifyPasswordReq) String() string

func (*VerifyPasswordReq) Validate

func (m *VerifyPasswordReq) Validate() error

Validate checks the field values on VerifyPasswordReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyPasswordReq) ValidateAll

func (m *VerifyPasswordReq) ValidateAll() error

ValidateAll checks the field values on VerifyPasswordReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyPasswordReqMultiError, or nil if none found.

type VerifyPasswordReqMultiError

type VerifyPasswordReqMultiError []error

VerifyPasswordReqMultiError is an error wrapping multiple validation errors returned by VerifyPasswordReq.ValidateAll() if the designated constraints aren't met.

func (VerifyPasswordReqMultiError) AllErrors

func (m VerifyPasswordReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyPasswordReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VerifyPasswordReqValidationError

type VerifyPasswordReqValidationError struct {
	// contains filtered or unexported fields
}

VerifyPasswordReqValidationError is the validation error returned by VerifyPasswordReq.Validate if the designated constraints aren't met.

func (VerifyPasswordReqValidationError) Cause

Cause function returns cause value.

func (VerifyPasswordReqValidationError) Error

Error satisfies the builtin error interface

func (VerifyPasswordReqValidationError) ErrorName

ErrorName returns error name.

func (VerifyPasswordReqValidationError) Field

Field function returns field value.

func (VerifyPasswordReqValidationError) Key

Key function returns key value.

func (VerifyPasswordReqValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL