Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddUserAppRequest
- func (*AddUserAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserAppRequest) GetAppId() uint32
- func (x *AddUserAppRequest) GetUserId() uint32
- func (*AddUserAppRequest) ProtoMessage()
- func (x *AddUserAppRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserAppRequest) Reset()
- func (x *AddUserAppRequest) String() string
- func (m *AddUserAppRequest) Validate() error
- func (m *AddUserAppRequest) ValidateAll() error
- type AddUserAppRequestMultiError
- type AddUserAppRequestValidationError
- func (e AddUserAppRequestValidationError) Cause() error
- func (e AddUserAppRequestValidationError) Error() string
- func (e AddUserAppRequestValidationError) ErrorName() string
- func (e AddUserAppRequestValidationError) Field() string
- func (e AddUserAppRequestValidationError) Key() bool
- func (e AddUserAppRequestValidationError) Reason() string
- type AddUserExtraRequest
- func (*AddUserExtraRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserExtraRequest) GetKeyword() string
- func (x *AddUserExtraRequest) GetType() string
- func (x *AddUserExtraRequest) GetUserId() uint32
- func (x *AddUserExtraRequest) GetValue() *anypb.Any
- func (*AddUserExtraRequest) ProtoMessage()
- func (x *AddUserExtraRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserExtraRequest) Reset()
- func (x *AddUserExtraRequest) String() string
- func (m *AddUserExtraRequest) Validate() error
- func (m *AddUserExtraRequest) ValidateAll() error
- type AddUserExtraRequestMultiError
- type AddUserExtraRequestValidationError
- func (e AddUserExtraRequestValidationError) Cause() error
- func (e AddUserExtraRequestValidationError) Error() string
- func (e AddUserExtraRequestValidationError) ErrorName() string
- func (e AddUserExtraRequestValidationError) Field() string
- func (e AddUserExtraRequestValidationError) Key() bool
- func (e AddUserExtraRequestValidationError) Reason() string
- type AddUserReply
- func (*AddUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserReply) GetId() uint32
- func (*AddUserReply) ProtoMessage()
- func (x *AddUserReply) ProtoReflect() protoreflect.Message
- func (x *AddUserReply) Reset()
- func (x *AddUserReply) String() string
- func (m *AddUserReply) Validate() error
- func (m *AddUserReply) ValidateAll() error
- type AddUserReplyMultiError
- type AddUserReplyValidationError
- func (e AddUserReplyValidationError) Cause() error
- func (e AddUserReplyValidationError) Error() string
- func (e AddUserReplyValidationError) ErrorName() string
- func (e AddUserReplyValidationError) Field() string
- func (e AddUserReplyValidationError) Key() bool
- func (e AddUserReplyValidationError) Reason() string
- type AddUserRequest
- func (*AddUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRequest) GetAvatar() string
- func (x *AddUserRequest) GetEmail() string
- func (x *AddUserRequest) GetFrom() string
- func (x *AddUserRequest) GetFromDesc() string
- func (x *AddUserRequest) GetGender() string
- func (x *AddUserRequest) GetNickName() string
- func (x *AddUserRequest) GetPassword() string
- func (x *AddUserRequest) GetPhone() string
- func (x *AddUserRequest) GetRealName() string
- func (x *AddUserRequest) GetUserExtras() []*AddUserRequest_UserExtra
- func (x *AddUserRequest) GetUsername() string
- func (*AddUserRequest) ProtoMessage()
- func (x *AddUserRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserRequest) Reset()
- func (x *AddUserRequest) String() string
- func (m *AddUserRequest) Validate() error
- func (m *AddUserRequest) ValidateAll() error
- type AddUserRequestMultiError
- type AddUserRequestValidationError
- func (e AddUserRequestValidationError) Cause() error
- func (e AddUserRequestValidationError) Error() string
- func (e AddUserRequestValidationError) ErrorName() string
- func (e AddUserRequestValidationError) Field() string
- func (e AddUserRequestValidationError) Key() bool
- func (e AddUserRequestValidationError) Reason() string
- type AddUserRequest_UserExtra
- func (*AddUserRequest_UserExtra) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRequest_UserExtra) GetCreatedAt() uint32
- func (x *AddUserRequest_UserExtra) GetId() uint32
- func (x *AddUserRequest_UserExtra) GetKeyword() string
- func (x *AddUserRequest_UserExtra) GetType() string
- func (x *AddUserRequest_UserExtra) GetUserId() uint32
- func (x *AddUserRequest_UserExtra) GetValue() *anypb.Any
- func (*AddUserRequest_UserExtra) ProtoMessage()
- func (x *AddUserRequest_UserExtra) ProtoReflect() protoreflect.Message
- func (x *AddUserRequest_UserExtra) Reset()
- func (x *AddUserRequest_UserExtra) String() string
- func (m *AddUserRequest_UserExtra) Validate() error
- func (m *AddUserRequest_UserExtra) ValidateAll() error
- type AddUserRequest_UserExtraMultiError
- type AddUserRequest_UserExtraValidationError
- func (e AddUserRequest_UserExtraValidationError) Cause() error
- func (e AddUserRequest_UserExtraValidationError) Error() string
- func (e AddUserRequest_UserExtraValidationError) ErrorName() string
- func (e AddUserRequest_UserExtraValidationError) Field() string
- func (e AddUserRequest_UserExtraValidationError) Key() bool
- func (e AddUserRequest_UserExtraValidationError) Reason() string
- type AllLoginPlatformReply
- func (*AllLoginPlatformReply) Descriptor() ([]byte, []int)deprecated
- func (x *AllLoginPlatformReply) GetList() []*AllLoginPlatformReply_Platform
- func (*AllLoginPlatformReply) ProtoMessage()
- func (x *AllLoginPlatformReply) ProtoReflect() protoreflect.Message
- func (x *AllLoginPlatformReply) Reset()
- func (x *AllLoginPlatformReply) String() string
- func (m *AllLoginPlatformReply) Validate() error
- func (m *AllLoginPlatformReply) ValidateAll() error
- type AllLoginPlatformReplyMultiError
- type AllLoginPlatformReplyValidationError
- func (e AllLoginPlatformReplyValidationError) Cause() error
- func (e AllLoginPlatformReplyValidationError) Error() string
- func (e AllLoginPlatformReplyValidationError) ErrorName() string
- func (e AllLoginPlatformReplyValidationError) Field() string
- func (e AllLoginPlatformReplyValidationError) Key() bool
- func (e AllLoginPlatformReplyValidationError) Reason() string
- type AllLoginPlatformReply_Platform
- func (*AllLoginPlatformReply_Platform) Descriptor() ([]byte, []int)deprecated
- func (x *AllLoginPlatformReply_Platform) GetName() string
- func (x *AllLoginPlatformReply_Platform) GetPlatform() string
- func (*AllLoginPlatformReply_Platform) ProtoMessage()
- func (x *AllLoginPlatformReply_Platform) ProtoReflect() protoreflect.Message
- func (x *AllLoginPlatformReply_Platform) Reset()
- func (x *AllLoginPlatformReply_Platform) String() string
- func (m *AllLoginPlatformReply_Platform) Validate() error
- func (m *AllLoginPlatformReply_Platform) ValidateAll() error
- type AllLoginPlatformReply_PlatformMultiError
- type AllLoginPlatformReply_PlatformValidationError
- func (e AllLoginPlatformReply_PlatformValidationError) Cause() error
- func (e AllLoginPlatformReply_PlatformValidationError) Error() string
- func (e AllLoginPlatformReply_PlatformValidationError) ErrorName() string
- func (e AllLoginPlatformReply_PlatformValidationError) Field() string
- func (e AllLoginPlatformReply_PlatformValidationError) Key() bool
- func (e AllLoginPlatformReply_PlatformValidationError) Reason() string
- type AuthReply
- func (*AuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *AuthReply) GetAppId() uint32
- func (x *AuthReply) GetAppKeyword() string
- func (x *AuthReply) GetChannelId() uint32
- func (x *AuthReply) GetUserId() uint32
- func (*AuthReply) ProtoMessage()
- func (x *AuthReply) ProtoReflect() protoreflect.Message
- func (x *AuthReply) Reset()
- func (x *AuthReply) String() string
- func (m *AuthReply) Validate() error
- func (m *AuthReply) ValidateAll() error
- type AuthReplyMultiError
- type AuthReplyValidationError
- type BaseUser
- func (*BaseUser) Descriptor() ([]byte, []int)deprecated
- func (x *BaseUser) GetAvatar() string
- func (x *BaseUser) GetEmail() string
- func (x *BaseUser) GetGender() string
- func (x *BaseUser) GetId() uint32
- func (x *BaseUser) GetNickName() string
- func (x *BaseUser) GetPhone() string
- func (x *BaseUser) GetRealName() string
- func (x *BaseUser) GetResource() *v1.File
- func (x *BaseUser) GetUsername() string
- func (*BaseUser) ProtoMessage()
- func (x *BaseUser) ProtoReflect() protoreflect.Message
- func (x *BaseUser) Reset()
- func (x *BaseUser) String() string
- func (m *BaseUser) Validate() error
- func (m *BaseUser) ValidateAll() error
- type BaseUserMultiError
- type BaseUserValidationError
- type BindReply
- func (*BindReply) Descriptor() ([]byte, []int)deprecated
- func (x *BindReply) GetToken() string
- func (*BindReply) ProtoMessage()
- func (x *BindReply) ProtoReflect() protoreflect.Message
- func (x *BindReply) Reset()
- func (x *BindReply) String() string
- func (m *BindReply) Validate() error
- func (m *BindReply) ValidateAll() error
- type BindReplyMultiError
- type BindReplyValidationError
- type CaptchaLoginEmailRequest
- func (*CaptchaLoginEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaLoginEmailRequest) GetEmail() string
- func (*CaptchaLoginEmailRequest) ProtoMessage()
- func (x *CaptchaLoginEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaLoginEmailRequest) Reset()
- func (x *CaptchaLoginEmailRequest) String() string
- func (m *CaptchaLoginEmailRequest) Validate() error
- func (m *CaptchaLoginEmailRequest) ValidateAll() error
- type CaptchaLoginEmailRequestMultiError
- type CaptchaLoginEmailRequestValidationError
- func (e CaptchaLoginEmailRequestValidationError) Cause() error
- func (e CaptchaLoginEmailRequestValidationError) Error() string
- func (e CaptchaLoginEmailRequestValidationError) ErrorName() string
- func (e CaptchaLoginEmailRequestValidationError) Field() string
- func (e CaptchaLoginEmailRequestValidationError) Key() bool
- func (e CaptchaLoginEmailRequestValidationError) Reason() string
- type CaptchaLoginRequest
- func (*CaptchaLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaLoginRequest) GetApp() string
- func (x *CaptchaLoginRequest) GetCaptcha() string
- func (x *CaptchaLoginRequest) GetCaptchaId() string
- func (x *CaptchaLoginRequest) GetUsername() string
- func (*CaptchaLoginRequest) ProtoMessage()
- func (x *CaptchaLoginRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaLoginRequest) Reset()
- func (x *CaptchaLoginRequest) String() string
- func (m *CaptchaLoginRequest) Validate() error
- func (m *CaptchaLoginRequest) ValidateAll() error
- type CaptchaLoginRequestMultiError
- type CaptchaLoginRequestValidationError
- func (e CaptchaLoginRequestValidationError) Cause() error
- func (e CaptchaLoginRequestValidationError) Error() string
- func (e CaptchaLoginRequestValidationError) ErrorName() string
- func (e CaptchaLoginRequestValidationError) Field() string
- func (e CaptchaLoginRequestValidationError) Key() bool
- func (e CaptchaLoginRequestValidationError) Reason() string
- type CaptchaRegisterEmailRequest
- func (*CaptchaRegisterEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaRegisterEmailRequest) GetEmail() string
- func (*CaptchaRegisterEmailRequest) ProtoMessage()
- func (x *CaptchaRegisterEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaRegisterEmailRequest) Reset()
- func (x *CaptchaRegisterEmailRequest) String() string
- func (m *CaptchaRegisterEmailRequest) Validate() error
- func (m *CaptchaRegisterEmailRequest) ValidateAll() error
- type CaptchaRegisterEmailRequestMultiError
- type CaptchaRegisterEmailRequestValidationError
- func (e CaptchaRegisterEmailRequestValidationError) Cause() error
- func (e CaptchaRegisterEmailRequestValidationError) Error() string
- func (e CaptchaRegisterEmailRequestValidationError) ErrorName() string
- func (e CaptchaRegisterEmailRequestValidationError) Field() string
- func (e CaptchaRegisterEmailRequestValidationError) Key() bool
- func (e CaptchaRegisterEmailRequestValidationError) Reason() string
- type CaptchaRegisterRequest
- func (*CaptchaRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaRegisterRequest) GetApp() string
- func (x *CaptchaRegisterRequest) GetCaptcha() string
- func (x *CaptchaRegisterRequest) GetCaptchaId() string
- func (x *CaptchaRegisterRequest) GetUsername() string
- func (*CaptchaRegisterRequest) ProtoMessage()
- func (x *CaptchaRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaRegisterRequest) Reset()
- func (x *CaptchaRegisterRequest) String() string
- func (m *CaptchaRegisterRequest) Validate() error
- func (m *CaptchaRegisterRequest) ValidateAll() error
- type CaptchaRegisterRequestMultiError
- type CaptchaRegisterRequestValidationError
- func (e CaptchaRegisterRequestValidationError) Cause() error
- func (e CaptchaRegisterRequestValidationError) Error() string
- func (e CaptchaRegisterRequestValidationError) ErrorName() string
- func (e CaptchaRegisterRequestValidationError) Field() string
- func (e CaptchaRegisterRequestValidationError) Key() bool
- func (e CaptchaRegisterRequestValidationError) Reason() string
- type CaptchaReply
- func (*CaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaReply) GetBase64() string
- func (x *CaptchaReply) GetExpire() uint32
- func (x *CaptchaReply) GetId() string
- func (*CaptchaReply) ProtoMessage()
- func (x *CaptchaReply) ProtoReflect() protoreflect.Message
- func (x *CaptchaReply) Reset()
- func (x *CaptchaReply) String() string
- func (m *CaptchaReply) Validate() error
- func (m *CaptchaReply) ValidateAll() error
- type CaptchaReplyMultiError
- type CaptchaReplyValidationError
- func (e CaptchaReplyValidationError) Cause() error
- func (e CaptchaReplyValidationError) Error() string
- func (e CaptchaReplyValidationError) ErrorName() string
- func (e CaptchaReplyValidationError) Field() string
- func (e CaptchaReplyValidationError) Key() bool
- func (e CaptchaReplyValidationError) Reason() string
- type DeleteUserAppRequest
- func (*DeleteUserAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserAppRequest) GetAppId() uint32
- func (x *DeleteUserAppRequest) GetUserId() uint32
- func (*DeleteUserAppRequest) ProtoMessage()
- func (x *DeleteUserAppRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserAppRequest) Reset()
- func (x *DeleteUserAppRequest) String() string
- func (m *DeleteUserAppRequest) Validate() error
- func (m *DeleteUserAppRequest) ValidateAll() error
- type DeleteUserAppRequestMultiError
- type DeleteUserAppRequestValidationError
- func (e DeleteUserAppRequestValidationError) Cause() error
- func (e DeleteUserAppRequestValidationError) Error() string
- func (e DeleteUserAppRequestValidationError) ErrorName() string
- func (e DeleteUserAppRequestValidationError) Field() string
- func (e DeleteUserAppRequestValidationError) Key() bool
- func (e DeleteUserAppRequestValidationError) Reason() string
- type DeleteUserExtraRequest
- func (*DeleteUserExtraRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserExtraRequest) GetKeyword() string
- func (x *DeleteUserExtraRequest) GetUserId() uint32
- func (*DeleteUserExtraRequest) ProtoMessage()
- func (x *DeleteUserExtraRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserExtraRequest) Reset()
- func (x *DeleteUserExtraRequest) String() string
- func (m *DeleteUserExtraRequest) Validate() error
- func (m *DeleteUserExtraRequest) ValidateAll() error
- type DeleteUserExtraRequestMultiError
- type DeleteUserExtraRequestValidationError
- func (e DeleteUserExtraRequestValidationError) Cause() error
- func (e DeleteUserExtraRequestValidationError) Error() string
- func (e DeleteUserExtraRequestValidationError) ErrorName() string
- func (e DeleteUserExtraRequestValidationError) Field() string
- func (e DeleteUserExtraRequestValidationError) Key() bool
- func (e DeleteUserExtraRequestValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetId() uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DisableUserRequest
- func (*DisableUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableUserRequest) GetDesc() string
- func (x *DisableUserRequest) GetId() uint32
- func (*DisableUserRequest) ProtoMessage()
- func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
- func (x *DisableUserRequest) Reset()
- func (x *DisableUserRequest) String() string
- func (m *DisableUserRequest) Validate() error
- func (m *DisableUserRequest) ValidateAll() error
- type DisableUserRequestMultiError
- type DisableUserRequestValidationError
- func (e DisableUserRequestValidationError) Cause() error
- func (e DisableUserRequestValidationError) Error() string
- func (e DisableUserRequestValidationError) ErrorName() string
- func (e DisableUserRequestValidationError) Field() string
- func (e DisableUserRequestValidationError) Key() bool
- func (e DisableUserRequestValidationError) Reason() string
- type EnableUserRequest
- func (*EnableUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableUserRequest) GetId() uint32
- func (*EnableUserRequest) ProtoMessage()
- func (x *EnableUserRequest) ProtoReflect() protoreflect.Message
- func (x *EnableUserRequest) Reset()
- func (x *EnableUserRequest) String() string
- func (m *EnableUserRequest) Validate() error
- func (m *EnableUserRequest) ValidateAll() error
- type EnableUserRequestMultiError
- type EnableUserRequestValidationError
- func (e EnableUserRequestValidationError) Cause() error
- func (e EnableUserRequestValidationError) Error() string
- func (e EnableUserRequestValidationError) ErrorName() string
- func (e EnableUserRequestValidationError) Field() string
- func (e EnableUserRequestValidationError) Key() bool
- func (e EnableUserRequestValidationError) Reason() string
- type GetBaseUserRequest
- func (*GetBaseUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBaseUserRequest) GetId() uint32
- func (*GetBaseUserRequest) ProtoMessage()
- func (x *GetBaseUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetBaseUserRequest) Reset()
- func (x *GetBaseUserRequest) String() string
- func (m *GetBaseUserRequest) Validate() error
- func (m *GetBaseUserRequest) ValidateAll() error
- type GetBaseUserRequestMultiError
- type GetBaseUserRequestValidationError
- func (e GetBaseUserRequestValidationError) Cause() error
- func (e GetBaseUserRequestValidationError) Error() string
- func (e GetBaseUserRequestValidationError) ErrorName() string
- func (e GetBaseUserRequestValidationError) Field() string
- func (e GetBaseUserRequestValidationError) Key() bool
- func (e GetBaseUserRequestValidationError) Reason() string
- type GetSimpleUserRequest
- func (*GetSimpleUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSimpleUserRequest) GetId() uint32
- func (*GetSimpleUserRequest) ProtoMessage()
- func (x *GetSimpleUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetSimpleUserRequest) Reset()
- func (x *GetSimpleUserRequest) String() string
- func (m *GetSimpleUserRequest) Validate() error
- func (m *GetSimpleUserRequest) ValidateAll() error
- type GetSimpleUserRequestMultiError
- type GetSimpleUserRequestValidationError
- func (e GetSimpleUserRequestValidationError) Cause() error
- func (e GetSimpleUserRequestValidationError) Error() string
- func (e GetSimpleUserRequestValidationError) ErrorName() string
- func (e GetSimpleUserRequestValidationError) Field() string
- func (e GetSimpleUserRequestValidationError) Key() bool
- func (e GetSimpleUserRequestValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetUserRequest) GetCondition() isGetUserRequest_Condition
- func (x *GetUserRequest) GetEmail() string
- func (x *GetUserRequest) GetId() uint32
- func (x *GetUserRequest) GetPhone() string
- func (x *GetUserRequest) GetUsername() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserRequest_Email
- type GetUserRequest_Id
- type GetUserRequest_Phone
- type GetUserRequest_Username
- type ImportUserRequest
- func (*ImportUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserRequest) GetList() []*ImportUserRequestData
- func (*ImportUserRequest) ProtoMessage()
- func (x *ImportUserRequest) ProtoReflect() protoreflect.Message
- func (x *ImportUserRequest) Reset()
- func (x *ImportUserRequest) String() string
- func (m *ImportUserRequest) Validate() error
- func (m *ImportUserRequest) ValidateAll() error
- type ImportUserRequestData
- func (*ImportUserRequestData) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserRequestData) GetEmail() string
- func (x *ImportUserRequestData) GetGender() string
- func (x *ImportUserRequestData) GetPhone() string
- func (x *ImportUserRequestData) GetRealName() string
- func (*ImportUserRequestData) ProtoMessage()
- func (x *ImportUserRequestData) ProtoReflect() protoreflect.Message
- func (x *ImportUserRequestData) Reset()
- func (x *ImportUserRequestData) String() string
- func (m *ImportUserRequestData) Validate() error
- func (m *ImportUserRequestData) ValidateAll() error
- type ImportUserRequestDataMultiError
- type ImportUserRequestDataValidationError
- func (e ImportUserRequestDataValidationError) Cause() error
- func (e ImportUserRequestDataValidationError) Error() string
- func (e ImportUserRequestDataValidationError) ErrorName() string
- func (e ImportUserRequestDataValidationError) Field() string
- func (e ImportUserRequestDataValidationError) Key() bool
- func (e ImportUserRequestDataValidationError) Reason() string
- type ImportUserRequestMultiError
- type ImportUserRequestValidationError
- func (e ImportUserRequestValidationError) Cause() error
- func (e ImportUserRequestValidationError) Error() string
- func (e ImportUserRequestValidationError) ErrorName() string
- func (e ImportUserRequestValidationError) Field() string
- func (e ImportUserRequestValidationError) Key() bool
- func (e ImportUserRequestValidationError) Reason() string
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetToken() string
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type OAuthBindByCaptchaRequest
- func (*OAuthBindByCaptchaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthBindByCaptchaRequest) GetApp() string
- func (x *OAuthBindByCaptchaRequest) GetCaptcha() string
- func (x *OAuthBindByCaptchaRequest) GetCaptchaId() string
- func (x *OAuthBindByCaptchaRequest) GetCode() string
- func (x *OAuthBindByCaptchaRequest) GetPlatform() string
- func (x *OAuthBindByCaptchaRequest) GetUsername() string
- func (*OAuthBindByCaptchaRequest) ProtoMessage()
- func (x *OAuthBindByCaptchaRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthBindByCaptchaRequest) Reset()
- func (x *OAuthBindByCaptchaRequest) String() string
- func (m *OAuthBindByCaptchaRequest) Validate() error
- func (m *OAuthBindByCaptchaRequest) ValidateAll() error
- type OAuthBindByCaptchaRequestMultiError
- type OAuthBindByCaptchaRequestValidationError
- func (e OAuthBindByCaptchaRequestValidationError) Cause() error
- func (e OAuthBindByCaptchaRequestValidationError) Error() string
- func (e OAuthBindByCaptchaRequestValidationError) ErrorName() string
- func (e OAuthBindByCaptchaRequestValidationError) Field() string
- func (e OAuthBindByCaptchaRequestValidationError) Key() bool
- func (e OAuthBindByCaptchaRequestValidationError) Reason() string
- type OAuthBindByPasswordRequest
- func (*OAuthBindByPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthBindByPasswordRequest) GetApp() string
- func (x *OAuthBindByPasswordRequest) GetCaptcha() string
- func (x *OAuthBindByPasswordRequest) GetCaptchaId() string
- func (x *OAuthBindByPasswordRequest) GetCode() string
- func (x *OAuthBindByPasswordRequest) GetPassword() string
- func (x *OAuthBindByPasswordRequest) GetPlatform() string
- func (x *OAuthBindByPasswordRequest) GetUsername() string
- func (*OAuthBindByPasswordRequest) ProtoMessage()
- func (x *OAuthBindByPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthBindByPasswordRequest) Reset()
- func (x *OAuthBindByPasswordRequest) String() string
- func (m *OAuthBindByPasswordRequest) Validate() error
- func (m *OAuthBindByPasswordRequest) ValidateAll() error
- type OAuthBindByPasswordRequestMultiError
- type OAuthBindByPasswordRequestValidationError
- func (e OAuthBindByPasswordRequestValidationError) Cause() error
- func (e OAuthBindByPasswordRequestValidationError) Error() string
- func (e OAuthBindByPasswordRequestValidationError) ErrorName() string
- func (e OAuthBindByPasswordRequestValidationError) Field() string
- func (e OAuthBindByPasswordRequestValidationError) Key() bool
- func (e OAuthBindByPasswordRequestValidationError) Reason() string
- type OAuthBindEmailCaptchaRequest
- func (*OAuthBindEmailCaptchaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthBindEmailCaptchaRequest) GetEmail() string
- func (*OAuthBindEmailCaptchaRequest) ProtoMessage()
- func (x *OAuthBindEmailCaptchaRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthBindEmailCaptchaRequest) Reset()
- func (x *OAuthBindEmailCaptchaRequest) String() string
- func (m *OAuthBindEmailCaptchaRequest) Validate() error
- func (m *OAuthBindEmailCaptchaRequest) ValidateAll() error
- type OAuthBindEmailCaptchaRequestMultiError
- type OAuthBindEmailCaptchaRequestValidationError
- func (e OAuthBindEmailCaptchaRequestValidationError) Cause() error
- func (e OAuthBindEmailCaptchaRequestValidationError) Error() string
- func (e OAuthBindEmailCaptchaRequestValidationError) ErrorName() string
- func (e OAuthBindEmailCaptchaRequestValidationError) Field() string
- func (e OAuthBindEmailCaptchaRequestValidationError) Key() bool
- func (e OAuthBindEmailCaptchaRequestValidationError) Reason() string
- type OAuthLoginRequest
- func (*OAuthLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthLoginRequest) GetApp() string
- func (x *OAuthLoginRequest) GetCode() string
- func (x *OAuthLoginRequest) GetPlatform() string
- func (*OAuthLoginRequest) ProtoMessage()
- func (x *OAuthLoginRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthLoginRequest) Reset()
- func (x *OAuthLoginRequest) String() string
- func (m *OAuthLoginRequest) Validate() error
- func (m *OAuthLoginRequest) ValidateAll() error
- type OAuthLoginRequestMultiError
- type OAuthLoginRequestValidationError
- func (e OAuthLoginRequestValidationError) Cause() error
- func (e OAuthLoginRequestValidationError) Error() string
- func (e OAuthLoginRequestValidationError) ErrorName() string
- func (e OAuthLoginRequestValidationError) Field() string
- func (e OAuthLoginRequestValidationError) Key() bool
- func (e OAuthLoginRequestValidationError) Reason() string
- type OfflineUserRequest
- func (*OfflineUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OfflineUserRequest) GetId() uint32
- func (*OfflineUserRequest) ProtoMessage()
- func (x *OfflineUserRequest) ProtoReflect() protoreflect.Message
- func (x *OfflineUserRequest) Reset()
- func (x *OfflineUserRequest) String() string
- func (m *OfflineUserRequest) Validate() error
- func (m *OfflineUserRequest) ValidateAll() error
- type OfflineUserRequestMultiError
- type OfflineUserRequestValidationError
- func (e OfflineUserRequestValidationError) Cause() error
- func (e OfflineUserRequestValidationError) Error() string
- func (e OfflineUserRequestValidationError) ErrorName() string
- func (e OfflineUserRequestValidationError) Field() string
- func (e OfflineUserRequestValidationError) Key() bool
- func (e OfflineUserRequestValidationError) Reason() string
- type PageUserReply
- func (*PageUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageUserReply) GetList() []*User
- func (x *PageUserReply) GetTotal() uint32
- func (*PageUserReply) ProtoMessage()
- func (x *PageUserReply) ProtoReflect() protoreflect.Message
- func (x *PageUserReply) Reset()
- func (x *PageUserReply) String() string
- func (m *PageUserReply) Validate() error
- func (m *PageUserReply) ValidateAll() error
- type PageUserReplyMultiError
- type PageUserReplyValidationError
- func (e PageUserReplyValidationError) Cause() error
- func (e PageUserReplyValidationError) Error() string
- func (e PageUserReplyValidationError) ErrorName() string
- func (e PageUserReplyValidationError) Field() string
- func (e PageUserReplyValidationError) Key() bool
- func (e PageUserReplyValidationError) Reason() string
- type PageUserRequest
- func (*PageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageUserRequest) GetApp() string
- func (x *PageUserRequest) GetEmail() string
- func (x *PageUserRequest) GetInIds() []uint32
- func (x *PageUserRequest) GetNotInIds() []uint32
- func (x *PageUserRequest) GetPage() uint32
- func (x *PageUserRequest) GetPageSize() uint32
- func (x *PageUserRequest) GetPhone() string
- func (x *PageUserRequest) GetUsername() string
- func (*PageUserRequest) ProtoMessage()
- func (x *PageUserRequest) ProtoReflect() protoreflect.Message
- func (x *PageUserRequest) Reset()
- func (x *PageUserRequest) String() string
- func (m *PageUserRequest) Validate() error
- func (m *PageUserRequest) ValidateAll() error
- type PageUserRequestMultiError
- type PageUserRequestValidationError
- func (e PageUserRequestValidationError) Cause() error
- func (e PageUserRequestValidationError) Error() string
- func (e PageUserRequestValidationError) ErrorName() string
- func (e PageUserRequestValidationError) Field() string
- func (e PageUserRequestValidationError) Key() bool
- func (e PageUserRequestValidationError) Reason() string
- type ParseTokenReply
- func (*ParseTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTokenReply) GetAppId() uint32
- func (x *ParseTokenReply) GetAppKeyword() string
- func (x *ParseTokenReply) GetChannelId() uint32
- func (x *ParseTokenReply) GetUserId() uint32
- func (*ParseTokenReply) ProtoMessage()
- func (x *ParseTokenReply) ProtoReflect() protoreflect.Message
- func (x *ParseTokenReply) Reset()
- func (x *ParseTokenReply) String() string
- func (m *ParseTokenReply) Validate() error
- func (m *ParseTokenReply) ValidateAll() error
- type ParseTokenReplyMultiError
- type ParseTokenReplyValidationError
- func (e ParseTokenReplyValidationError) Cause() error
- func (e ParseTokenReplyValidationError) Error() string
- func (e ParseTokenReplyValidationError) ErrorName() string
- func (e ParseTokenReplyValidationError) Field() string
- func (e ParseTokenReplyValidationError) Key() bool
- func (e ParseTokenReplyValidationError) Reason() string
- type PasswordLoginRequest
- func (*PasswordLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordLoginRequest) GetApp() string
- func (x *PasswordLoginRequest) GetCaptcha() string
- func (x *PasswordLoginRequest) GetCaptchaId() string
- func (x *PasswordLoginRequest) GetPassword() string
- func (x *PasswordLoginRequest) GetUsername() string
- func (*PasswordLoginRequest) ProtoMessage()
- func (x *PasswordLoginRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordLoginRequest) Reset()
- func (x *PasswordLoginRequest) String() string
- func (m *PasswordLoginRequest) Validate() error
- func (m *PasswordLoginRequest) ValidateAll() error
- type PasswordLoginRequestMultiError
- type PasswordLoginRequestValidationError
- func (e PasswordLoginRequestValidationError) Cause() error
- func (e PasswordLoginRequestValidationError) Error() string
- func (e PasswordLoginRequestValidationError) ErrorName() string
- func (e PasswordLoginRequestValidationError) Field() string
- func (e PasswordLoginRequestValidationError) Key() bool
- func (e PasswordLoginRequestValidationError) Reason() string
- type PasswordRegisterCheckReply
- func (*PasswordRegisterCheckReply) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRegisterCheckReply) GetAllow() bool
- func (*PasswordRegisterCheckReply) ProtoMessage()
- func (x *PasswordRegisterCheckReply) ProtoReflect() protoreflect.Message
- func (x *PasswordRegisterCheckReply) Reset()
- func (x *PasswordRegisterCheckReply) String() string
- func (m *PasswordRegisterCheckReply) Validate() error
- func (m *PasswordRegisterCheckReply) ValidateAll() error
- type PasswordRegisterCheckReplyMultiError
- type PasswordRegisterCheckReplyValidationError
- func (e PasswordRegisterCheckReplyValidationError) Cause() error
- func (e PasswordRegisterCheckReplyValidationError) Error() string
- func (e PasswordRegisterCheckReplyValidationError) ErrorName() string
- func (e PasswordRegisterCheckReplyValidationError) Field() string
- func (e PasswordRegisterCheckReplyValidationError) Key() bool
- func (e PasswordRegisterCheckReplyValidationError) Reason() string
- type PasswordRegisterCheckRequest
- func (*PasswordRegisterCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRegisterCheckRequest) GetUsername() string
- func (*PasswordRegisterCheckRequest) ProtoMessage()
- func (x *PasswordRegisterCheckRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordRegisterCheckRequest) Reset()
- func (x *PasswordRegisterCheckRequest) String() string
- func (m *PasswordRegisterCheckRequest) Validate() error
- func (m *PasswordRegisterCheckRequest) ValidateAll() error
- type PasswordRegisterCheckRequestMultiError
- type PasswordRegisterCheckRequestValidationError
- func (e PasswordRegisterCheckRequestValidationError) Cause() error
- func (e PasswordRegisterCheckRequestValidationError) Error() string
- func (e PasswordRegisterCheckRequestValidationError) ErrorName() string
- func (e PasswordRegisterCheckRequestValidationError) Field() string
- func (e PasswordRegisterCheckRequestValidationError) Key() bool
- func (e PasswordRegisterCheckRequestValidationError) Reason() string
- type PasswordRegisterRequest
- func (*PasswordRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRegisterRequest) GetApp() string
- func (x *PasswordRegisterRequest) GetCaptcha() string
- func (x *PasswordRegisterRequest) GetCaptchaId() string
- func (x *PasswordRegisterRequest) GetPassword() string
- func (x *PasswordRegisterRequest) GetUsername() string
- func (*PasswordRegisterRequest) ProtoMessage()
- func (x *PasswordRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordRegisterRequest) Reset()
- func (x *PasswordRegisterRequest) String() string
- func (m *PasswordRegisterRequest) Validate() error
- func (m *PasswordRegisterRequest) ValidateAll() error
- type PasswordRegisterRequestMultiError
- type PasswordRegisterRequestValidationError
- func (e PasswordRegisterRequestValidationError) Cause() error
- func (e PasswordRegisterRequestValidationError) Error() string
- func (e PasswordRegisterRequestValidationError) ErrorName() string
- func (e PasswordRegisterRequestValidationError) Field() string
- func (e PasswordRegisterRequestValidationError) Key() bool
- func (e PasswordRegisterRequestValidationError) Reason() string
- type RegisterReply
- func (*RegisterReply) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterReply) GetId() uint32
- func (x *RegisterReply) GetToken() string
- func (*RegisterReply) ProtoMessage()
- func (x *RegisterReply) ProtoReflect() protoreflect.Message
- func (x *RegisterReply) Reset()
- func (x *RegisterReply) String() string
- func (m *RegisterReply) Validate() error
- func (m *RegisterReply) ValidateAll() error
- type RegisterReplyMultiError
- type RegisterReplyValidationError
- func (e RegisterReplyValidationError) Cause() error
- func (e RegisterReplyValidationError) Error() string
- func (e RegisterReplyValidationError) ErrorName() string
- func (e RegisterReplyValidationError) Field() string
- func (e RegisterReplyValidationError) Key() bool
- func (e RegisterReplyValidationError) Reason() string
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- func (c *ServiceHTTPClientImpl) AddUser(ctx context.Context, in *AddUserRequest, opts ...http.CallOption) (*AddUserReply, error)
- func (c *ServiceHTTPClientImpl) AddUserApp(ctx context.Context, in *AddUserAppRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) CaptchaLogin(ctx context.Context, in *CaptchaLoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *ServiceHTTPClientImpl) CaptchaLoginEmail(ctx context.Context, in *CaptchaLoginEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) CaptchaRegister(ctx context.Context, in *CaptchaRegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
- func (c *ServiceHTTPClientImpl) CaptchaRegisterEmail(ctx context.Context, in *CaptchaRegisterEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteUserApp(ctx context.Context, in *DeleteUserAppRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DisableUser(ctx context.Context, in *DisableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) EnableUser(ctx context.Context, in *EnableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*User, error)
- func (c *ServiceHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*User, error)
- func (c *ServiceHTTPClientImpl) ImportUser(ctx context.Context, in *ImportUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) OAuthBindByCaptcha(ctx context.Context, in *OAuthBindByCaptchaRequest, opts ...http.CallOption) (*BindReply, error)
- func (c *ServiceHTTPClientImpl) OAuthBindByPassword(ctx context.Context, in *OAuthBindByPasswordRequest, opts ...http.CallOption) (*BindReply, error)
- func (c *ServiceHTTPClientImpl) OAuthBindEmailCaptcha(ctx context.Context, in *OAuthBindEmailCaptchaRequest, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) OAuthBindImageCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) OAuthLogin(ctx context.Context, in *OAuthLoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *ServiceHTTPClientImpl) OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) PageUser(ctx context.Context, in *PageUserRequest, opts ...http.CallOption) (*PageUserReply, error)
- func (c *ServiceHTTPClientImpl) ParseToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ParseTokenReply, error)
- func (c *ServiceHTTPClientImpl) PasswordLogin(ctx context.Context, in *PasswordLoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *ServiceHTTPClientImpl) PasswordLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) PasswordRegister(ctx context.Context, in *PasswordRegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
- func (c *ServiceHTTPClientImpl) PasswordRegisterCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *ServiceHTTPClientImpl) PasswordRegisterCheck(ctx context.Context, in *PasswordRegisterCheckRequest, opts ...http.CallOption) (*PasswordRegisterCheckReply, error)
- func (c *ServiceHTTPClientImpl) RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoginReply, error)
- func (c *ServiceHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServiceHTTPServer
- type ServiceServer
- type SimpleUser
- func (*SimpleUser) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleUser) GetAvatar() string
- func (x *SimpleUser) GetGender() string
- func (x *SimpleUser) GetId() uint32
- func (x *SimpleUser) GetNickName() string
- func (x *SimpleUser) GetResource() *v1.File
- func (*SimpleUser) ProtoMessage()
- func (x *SimpleUser) ProtoReflect() protoreflect.Message
- func (x *SimpleUser) Reset()
- func (x *SimpleUser) String() string
- func (m *SimpleUser) Validate() error
- func (m *SimpleUser) ValidateAll() error
- type SimpleUserMultiError
- type SimpleUserValidationError
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) AddUser(context.Context, *AddUserRequest) (*AddUserReply, error)
- func (UnimplementedServiceServer) AddUserApp(context.Context, *AddUserAppRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) CaptchaLogin(context.Context, *CaptchaLoginRequest) (*LoginReply, error)
- func (UnimplementedServiceServer) CaptchaLoginEmail(context.Context, *CaptchaLoginEmailRequest) (*CaptchaReply, error)
- func (UnimplementedServiceServer) CaptchaRegister(context.Context, *CaptchaRegisterRequest) (*RegisterReply, error)
- func (UnimplementedServiceServer) CaptchaRegisterEmail(context.Context, *CaptchaRegisterEmailRequest) (*CaptchaReply, error)
- func (UnimplementedServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteUserApp(context.Context, *DeleteUserAppRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) GetBaseUser(context.Context, *GetBaseUserRequest) (*BaseUser, error)
- func (UnimplementedServiceServer) GetCurrentUser(context.Context, *emptypb.Empty) (*User, error)
- func (UnimplementedServiceServer) GetSimpleUser(context.Context, *GetSimpleUserRequest) (*SimpleUser, error)
- func (UnimplementedServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
- func (UnimplementedServiceServer) ImportUser(context.Context, *ImportUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) OAuthBindByCaptcha(context.Context, *OAuthBindByCaptchaRequest) (*BindReply, error)
- func (UnimplementedServiceServer) OAuthBindByPassword(context.Context, *OAuthBindByPasswordRequest) (*BindReply, error)
- func (UnimplementedServiceServer) OAuthBindEmailCaptcha(context.Context, *OAuthBindEmailCaptchaRequest) (*CaptchaReply, error)
- func (UnimplementedServiceServer) OAuthBindImageCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
- func (UnimplementedServiceServer) OAuthLogin(context.Context, *OAuthLoginRequest) (*LoginReply, error)
- func (UnimplementedServiceServer) OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
- func (UnimplementedServiceServer) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error)
- func (UnimplementedServiceServer) PasswordLogin(context.Context, *PasswordLoginRequest) (*LoginReply, error)
- func (UnimplementedServiceServer) PasswordLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
- func (UnimplementedServiceServer) PasswordRegister(context.Context, *PasswordRegisterRequest) (*RegisterReply, error)
- func (UnimplementedServiceServer) PasswordRegisterCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
- func (UnimplementedServiceServer) PasswordRegisterCheck(context.Context, *PasswordRegisterCheckRequest) (*PasswordRegisterCheckReply, error)
- func (UnimplementedServiceServer) RefreshToken(context.Context, *emptypb.Empty) (*LoginReply, error)
- func (UnimplementedServiceServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
- type UnsafeServiceServer
- type UpdateCurrentUserRequest
- func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserRequest) GetAvatar() string
- func (x *UpdateCurrentUserRequest) GetEmail() string
- func (x *UpdateCurrentUserRequest) GetExtra() map[string]*structpb.Value
- func (x *UpdateCurrentUserRequest) GetGender() string
- func (x *UpdateCurrentUserRequest) GetIdCard() string
- func (x *UpdateCurrentUserRequest) GetNickName() string
- func (x *UpdateCurrentUserRequest) GetPassword() string
- func (x *UpdateCurrentUserRequest) GetPhone() string
- func (x *UpdateCurrentUserRequest) GetRealName() string
- func (x *UpdateCurrentUserRequest) GetUsername() string
- func (*UpdateCurrentUserRequest) ProtoMessage()
- func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserRequest) Reset()
- func (x *UpdateCurrentUserRequest) String() string
- func (m *UpdateCurrentUserRequest) Validate() error
- func (m *UpdateCurrentUserRequest) ValidateAll() error
- type UpdateCurrentUserRequestMultiError
- type UpdateCurrentUserRequestValidationError
- func (e UpdateCurrentUserRequestValidationError) Cause() error
- func (e UpdateCurrentUserRequestValidationError) Error() string
- func (e UpdateCurrentUserRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserRequestValidationError) Field() string
- func (e UpdateCurrentUserRequestValidationError) Key() bool
- func (e UpdateCurrentUserRequestValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAvatar() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetGender() string
- func (x *UpdateUserRequest) GetId() uint32
- func (x *UpdateUserRequest) GetIdCard() string
- func (x *UpdateUserRequest) GetNickName() string
- func (x *UpdateUserRequest) GetPassword() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetRealName() string
- func (x *UpdateUserRequest) GetUsername() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetApps() []*User_App
- func (x *User) GetAvatar() string
- func (x *User) GetChannels() []*User_Channel
- func (x *User) GetCreatedAt() uint32
- func (x *User) GetDisableDesc() string
- func (x *User) GetEmail() string
- func (x *User) GetExtra() map[string]*structpb.Value
- func (x *User) GetExtraList() []*User_Extra
- func (x *User) GetFrom() string
- func (x *User) GetFromDesc() string
- func (x *User) GetGender() string
- func (x *User) GetId() uint32
- func (x *User) GetIdCard() string
- func (x *User) GetNickName() string
- func (x *User) GetPhone() string
- func (x *User) GetRealName() string
- func (x *User) GetResource() *v1.File
- func (x *User) GetStatus() bool
- func (x *User) GetUpdatedAt() uint32
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
- type User_App
- func (*User_App) Descriptor() ([]byte, []int)deprecated
- func (x *User_App) GetCreatedAt() uint32
- func (x *User_App) GetId() uint32
- func (x *User_App) GetLoginAt() uint32
- func (x *User_App) GetLogo() string
- func (x *User_App) GetName() string
- func (x *User_App) GetResource() *v1.File
- func (*User_App) ProtoMessage()
- func (x *User_App) ProtoReflect() protoreflect.Message
- func (x *User_App) Reset()
- func (x *User_App) String() string
- func (m *User_App) Validate() error
- func (m *User_App) ValidateAll() error
- type User_AppMultiError
- type User_AppValidationError
- type User_Channel
- func (*User_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *User_Channel) GetCreatedAt() uint32
- func (x *User_Channel) GetId() uint32
- func (x *User_Channel) GetLoginAt() uint32
- func (x *User_Channel) GetLogo() string
- func (x *User_Channel) GetName() string
- func (x *User_Channel) GetResource() *v1.File
- func (*User_Channel) ProtoMessage()
- func (x *User_Channel) ProtoReflect() protoreflect.Message
- func (x *User_Channel) Reset()
- func (x *User_Channel) String() string
- func (m *User_Channel) Validate() error
- func (m *User_Channel) ValidateAll() error
- type User_ChannelMultiError
- type User_ChannelValidationError
- func (e User_ChannelValidationError) Cause() error
- func (e User_ChannelValidationError) Error() string
- func (e User_ChannelValidationError) ErrorName() string
- func (e User_ChannelValidationError) Field() string
- func (e User_ChannelValidationError) Key() bool
- func (e User_ChannelValidationError) Reason() string
- type User_Extra
- func (*User_Extra) Descriptor() ([]byte, []int)deprecated
- func (x *User_Extra) GetKeyword() string
- func (x *User_Extra) GetName() string
- func (x *User_Extra) GetType() string
- func (x *User_Extra) GetTypeName() string
- func (x *User_Extra) GetValue() *structpb.Value
- func (*User_Extra) ProtoMessage()
- func (x *User_Extra) ProtoReflect() protoreflect.Message
- func (x *User_Extra) Reset()
- func (x *User_Extra) String() string
- func (m *User_Extra) Validate() error
- func (m *User_Extra) ValidateAll() error
- type User_ExtraMultiError
- type User_ExtraValidationError
Constants ¶
const ( Service_GetSimpleUser_FullMethodName = "/user.Service/GetSimpleUser" Service_GetBaseUser_FullMethodName = "/user.Service/GetBaseUser" Service_GetUser_FullMethodName = "/user.Service/GetUser" Service_GetCurrentUser_FullMethodName = "/user.Service/GetCurrentUser" Service_UpdateCurrentUser_FullMethodName = "/user.Service/UpdateCurrentUser" Service_PageUser_FullMethodName = "/user.Service/PageUser" Service_AddUser_FullMethodName = "/user.Service/AddUser" Service_ImportUser_FullMethodName = "/user.Service/ImportUser" Service_UpdateUser_FullMethodName = "/user.Service/UpdateUser" Service_DeleteUser_FullMethodName = "/user.Service/DeleteUser" Service_DisableUser_FullMethodName = "/user.Service/DisableUser" Service_EnableUser_FullMethodName = "/user.Service/EnableUser" Service_OfflineUser_FullMethodName = "/user.Service/OfflineUser" Service_AddUserApp_FullMethodName = "/user.Service/AddUserApp" Service_DeleteUserApp_FullMethodName = "/user.Service/DeleteUserApp" Service_OAuthLogin_FullMethodName = "/user.Service/OAuthLogin" Service_OAuthBindByPassword_FullMethodName = "/user.Service/OAuthBindByPassword" Service_OAuthBindByCaptcha_FullMethodName = "/user.Service/OAuthBindByCaptcha" Service_OAuthBindImageCaptcha_FullMethodName = "/user.Service/OAuthBindImageCaptcha" Service_OAuthBindEmailCaptcha_FullMethodName = "/user.Service/OAuthBindEmailCaptcha" Service_PasswordLogin_FullMethodName = "/user.Service/PasswordLogin" Service_PasswordLoginCaptcha_FullMethodName = "/user.Service/PasswordLoginCaptcha" Service_PasswordRegister_FullMethodName = "/user.Service/PasswordRegister" Service_PasswordRegisterCheck_FullMethodName = "/user.Service/PasswordRegisterCheck" Service_PasswordRegisterCaptcha_FullMethodName = "/user.Service/PasswordRegisterCaptcha" Service_CaptchaLogin_FullMethodName = "/user.Service/CaptchaLogin" Service_CaptchaLoginEmail_FullMethodName = "/user.Service/CaptchaLoginEmail" Service_CaptchaRegisterEmail_FullMethodName = "/user.Service/CaptchaRegisterEmail" Service_CaptchaRegister_FullMethodName = "/user.Service/CaptchaRegister" Service_ParseToken_FullMethodName = "/user.Service/ParseToken" Service_RefreshToken_FullMethodName = "/user.Service/RefreshToken" )
const OperationServiceAddUser = "/user.Service/AddUser"
const OperationServiceAddUserApp = "/user.Service/AddUserApp"
const OperationServiceCaptchaLogin = "/user.Service/CaptchaLogin"
const OperationServiceCaptchaLoginEmail = "/user.Service/CaptchaLoginEmail"
const OperationServiceCaptchaRegister = "/user.Service/CaptchaRegister"
const OperationServiceCaptchaRegisterEmail = "/user.Service/CaptchaRegisterEmail"
const OperationServiceDeleteUser = "/user.Service/DeleteUser"
const OperationServiceDeleteUserApp = "/user.Service/DeleteUserApp"
const OperationServiceDisableUser = "/user.Service/DisableUser"
const OperationServiceEnableUser = "/user.Service/EnableUser"
const OperationServiceGetCurrentUser = "/user.Service/GetCurrentUser"
const OperationServiceGetUser = "/user.Service/GetUser"
const OperationServiceImportUser = "/user.Service/ImportUser"
const OperationServiceOAuthBindByCaptcha = "/user.Service/OAuthBindByCaptcha"
const OperationServiceOAuthBindByPassword = "/user.Service/OAuthBindByPassword"
const OperationServiceOAuthBindEmailCaptcha = "/user.Service/OAuthBindEmailCaptcha"
const OperationServiceOAuthBindImageCaptcha = "/user.Service/OAuthBindImageCaptcha"
const OperationServiceOAuthLogin = "/user.Service/OAuthLogin"
const OperationServiceOfflineUser = "/user.Service/OfflineUser"
const OperationServicePageUser = "/user.Service/PageUser"
const OperationServiceParseToken = "/user.Service/ParseToken"
const OperationServicePasswordLogin = "/user.Service/PasswordLogin"
const OperationServicePasswordLoginCaptcha = "/user.Service/PasswordLoginCaptcha"
const OperationServicePasswordRegister = "/user.Service/PasswordRegister"
const OperationServicePasswordRegisterCaptcha = "/user.Service/PasswordRegisterCaptcha"
const OperationServicePasswordRegisterCheck = "/user.Service/PasswordRegisterCheck"
const OperationServiceRefreshToken = "/user.Service/RefreshToken"
const OperationServiceUpdateCurrentUser = "/user.Service/UpdateCurrentUser"
const OperationServiceUpdateUser = "/user.Service/UpdateUser"
Variables ¶
var File_user_center_auth_proto protoreflect.FileDescriptor
var File_user_center_user_app_proto protoreflect.FileDescriptor
var File_user_center_user_extra_proto protoreflect.FileDescriptor
var File_user_center_user_proto protoreflect.FileDescriptor
var File_user_center_user_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSimpleUser", Handler: _Service_GetSimpleUser_Handler, }, { MethodName: "GetBaseUser", Handler: _Service_GetBaseUser_Handler, }, { MethodName: "GetUser", Handler: _Service_GetUser_Handler, }, { MethodName: "GetCurrentUser", Handler: _Service_GetCurrentUser_Handler, }, { MethodName: "UpdateCurrentUser", Handler: _Service_UpdateCurrentUser_Handler, }, { MethodName: "PageUser", Handler: _Service_PageUser_Handler, }, { MethodName: "AddUser", Handler: _Service_AddUser_Handler, }, { MethodName: "ImportUser", Handler: _Service_ImportUser_Handler, }, { MethodName: "UpdateUser", Handler: _Service_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _Service_DeleteUser_Handler, }, { MethodName: "DisableUser", Handler: _Service_DisableUser_Handler, }, { MethodName: "EnableUser", Handler: _Service_EnableUser_Handler, }, { MethodName: "OfflineUser", Handler: _Service_OfflineUser_Handler, }, { MethodName: "AddUserApp", Handler: _Service_AddUserApp_Handler, }, { MethodName: "DeleteUserApp", Handler: _Service_DeleteUserApp_Handler, }, { MethodName: "OAuthLogin", Handler: _Service_OAuthLogin_Handler, }, { MethodName: "OAuthBindByPassword", Handler: _Service_OAuthBindByPassword_Handler, }, { MethodName: "OAuthBindByCaptcha", Handler: _Service_OAuthBindByCaptcha_Handler, }, { MethodName: "OAuthBindImageCaptcha", Handler: _Service_OAuthBindImageCaptcha_Handler, }, { MethodName: "OAuthBindEmailCaptcha", Handler: _Service_OAuthBindEmailCaptcha_Handler, }, { MethodName: "PasswordLogin", Handler: _Service_PasswordLogin_Handler, }, { MethodName: "PasswordLoginCaptcha", Handler: _Service_PasswordLoginCaptcha_Handler, }, { MethodName: "PasswordRegister", Handler: _Service_PasswordRegister_Handler, }, { MethodName: "PasswordRegisterCheck", Handler: _Service_PasswordRegisterCheck_Handler, }, { MethodName: "PasswordRegisterCaptcha", Handler: _Service_PasswordRegisterCaptcha_Handler, }, { MethodName: "CaptchaLogin", Handler: _Service_CaptchaLogin_Handler, }, { MethodName: "CaptchaLoginEmail", Handler: _Service_CaptchaLoginEmail_Handler, }, { MethodName: "CaptchaRegisterEmail", Handler: _Service_CaptchaRegisterEmail_Handler, }, { MethodName: "CaptchaRegister", Handler: _Service_CaptchaRegister_Handler, }, { MethodName: "ParseToken", Handler: _Service_ParseToken_Handler, }, { MethodName: "RefreshToken", Handler: _Service_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user_center_user_service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AddUserAppRequest ¶
type AddUserAppRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AppId uint32 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // contains filtered or unexported fields }
func (*AddUserAppRequest) Descriptor
deprecated
func (*AddUserAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserAppRequest.ProtoReflect.Descriptor instead.
func (*AddUserAppRequest) GetAppId ¶
func (x *AddUserAppRequest) GetAppId() uint32
func (*AddUserAppRequest) GetUserId ¶
func (x *AddUserAppRequest) GetUserId() uint32
func (*AddUserAppRequest) ProtoMessage ¶
func (*AddUserAppRequest) ProtoMessage()
func (*AddUserAppRequest) ProtoReflect ¶
func (x *AddUserAppRequest) ProtoReflect() protoreflect.Message
func (*AddUserAppRequest) Reset ¶
func (x *AddUserAppRequest) Reset()
func (*AddUserAppRequest) String ¶
func (x *AddUserAppRequest) String() string
func (*AddUserAppRequest) Validate ¶
func (m *AddUserAppRequest) Validate() error
Validate checks the field values on AddUserAppRequest 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 (*AddUserAppRequest) ValidateAll ¶
func (m *AddUserAppRequest) ValidateAll() error
ValidateAll checks the field values on AddUserAppRequest 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 AddUserAppRequestMultiError, or nil if none found.
type AddUserAppRequestMultiError ¶
type AddUserAppRequestMultiError []error
AddUserAppRequestMultiError is an error wrapping multiple validation errors returned by AddUserAppRequest.ValidateAll() if the designated constraints aren't met.
func (AddUserAppRequestMultiError) AllErrors ¶
func (m AddUserAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserAppRequestMultiError) Error ¶
func (m AddUserAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserAppRequestValidationError ¶
type AddUserAppRequestValidationError struct {
// contains filtered or unexported fields
}
AddUserAppRequestValidationError is the validation error returned by AddUserAppRequest.Validate if the designated constraints aren't met.
func (AddUserAppRequestValidationError) Cause ¶
func (e AddUserAppRequestValidationError) Cause() error
Cause function returns cause value.
func (AddUserAppRequestValidationError) Error ¶
func (e AddUserAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserAppRequestValidationError) ErrorName ¶
func (e AddUserAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserAppRequestValidationError) Field ¶
func (e AddUserAppRequestValidationError) Field() string
Field function returns field value.
func (AddUserAppRequestValidationError) Key ¶
func (e AddUserAppRequestValidationError) Key() bool
Key function returns key value.
func (AddUserAppRequestValidationError) Reason ¶
func (e AddUserAppRequestValidationError) Reason() string
Reason function returns reason value.
type AddUserExtraRequest ¶
type AddUserExtraRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Value *anypb.Any `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*AddUserExtraRequest) Descriptor
deprecated
func (*AddUserExtraRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserExtraRequest.ProtoReflect.Descriptor instead.
func (*AddUserExtraRequest) GetKeyword ¶
func (x *AddUserExtraRequest) GetKeyword() string
func (*AddUserExtraRequest) GetType ¶
func (x *AddUserExtraRequest) GetType() string
func (*AddUserExtraRequest) GetUserId ¶
func (x *AddUserExtraRequest) GetUserId() uint32
func (*AddUserExtraRequest) GetValue ¶
func (x *AddUserExtraRequest) GetValue() *anypb.Any
func (*AddUserExtraRequest) ProtoMessage ¶
func (*AddUserExtraRequest) ProtoMessage()
func (*AddUserExtraRequest) ProtoReflect ¶
func (x *AddUserExtraRequest) ProtoReflect() protoreflect.Message
func (*AddUserExtraRequest) Reset ¶
func (x *AddUserExtraRequest) Reset()
func (*AddUserExtraRequest) String ¶
func (x *AddUserExtraRequest) String() string
func (*AddUserExtraRequest) Validate ¶
func (m *AddUserExtraRequest) Validate() error
Validate checks the field values on AddUserExtraRequest 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 (*AddUserExtraRequest) ValidateAll ¶
func (m *AddUserExtraRequest) ValidateAll() error
ValidateAll checks the field values on AddUserExtraRequest 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 AddUserExtraRequestMultiError, or nil if none found.
type AddUserExtraRequestMultiError ¶
type AddUserExtraRequestMultiError []error
AddUserExtraRequestMultiError is an error wrapping multiple validation errors returned by AddUserExtraRequest.ValidateAll() if the designated constraints aren't met.
func (AddUserExtraRequestMultiError) AllErrors ¶
func (m AddUserExtraRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserExtraRequestMultiError) Error ¶
func (m AddUserExtraRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserExtraRequestValidationError ¶
type AddUserExtraRequestValidationError struct {
// contains filtered or unexported fields
}
AddUserExtraRequestValidationError is the validation error returned by AddUserExtraRequest.Validate if the designated constraints aren't met.
func (AddUserExtraRequestValidationError) Cause ¶
func (e AddUserExtraRequestValidationError) Cause() error
Cause function returns cause value.
func (AddUserExtraRequestValidationError) Error ¶
func (e AddUserExtraRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserExtraRequestValidationError) ErrorName ¶
func (e AddUserExtraRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserExtraRequestValidationError) Field ¶
func (e AddUserExtraRequestValidationError) Field() string
Field function returns field value.
func (AddUserExtraRequestValidationError) Key ¶
func (e AddUserExtraRequestValidationError) Key() bool
Key function returns key value.
func (AddUserExtraRequestValidationError) Reason ¶
func (e AddUserExtraRequestValidationError) Reason() string
Reason function returns reason value.
type AddUserReply ¶
type AddUserReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddUserReply) Descriptor
deprecated
func (*AddUserReply) Descriptor() ([]byte, []int)
Deprecated: Use AddUserReply.ProtoReflect.Descriptor instead.
func (*AddUserReply) GetId ¶
func (x *AddUserReply) GetId() uint32
func (*AddUserReply) ProtoMessage ¶
func (*AddUserReply) ProtoMessage()
func (*AddUserReply) ProtoReflect ¶
func (x *AddUserReply) ProtoReflect() protoreflect.Message
func (*AddUserReply) Reset ¶
func (x *AddUserReply) Reset()
func (*AddUserReply) String ¶
func (x *AddUserReply) String() string
func (*AddUserReply) Validate ¶
func (m *AddUserReply) Validate() error
Validate checks the field values on AddUserReply 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 (*AddUserReply) ValidateAll ¶
func (m *AddUserReply) ValidateAll() error
ValidateAll checks the field values on AddUserReply 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 AddUserReplyMultiError, or nil if none found.
type AddUserReplyMultiError ¶
type AddUserReplyMultiError []error
AddUserReplyMultiError is an error wrapping multiple validation errors returned by AddUserReply.ValidateAll() if the designated constraints aren't met.
func (AddUserReplyMultiError) AllErrors ¶
func (m AddUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserReplyMultiError) Error ¶
func (m AddUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserReplyValidationError ¶
type AddUserReplyValidationError struct {
// contains filtered or unexported fields
}
AddUserReplyValidationError is the validation error returned by AddUserReply.Validate if the designated constraints aren't met.
func (AddUserReplyValidationError) Cause ¶
func (e AddUserReplyValidationError) Cause() error
Cause function returns cause value.
func (AddUserReplyValidationError) Error ¶
func (e AddUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserReplyValidationError) ErrorName ¶
func (e AddUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserReplyValidationError) Field ¶
func (e AddUserReplyValidationError) Field() string
Field function returns field value.
func (AddUserReplyValidationError) Key ¶
func (e AddUserReplyValidationError) Key() bool
Key function returns key value.
func (AddUserReplyValidationError) Reason ¶
func (e AddUserReplyValidationError) Reason() string
Reason function returns reason value.
type AddUserRequest ¶
type AddUserRequest struct { Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"` Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"` NickName *string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3,oneof" json:"nick_name,omitempty"` RealName *string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3,oneof" json:"real_name,omitempty"` Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"` From *string `protobuf:"bytes,10,opt,name=from,proto3,oneof" json:"from,omitempty"` FromDesc *string `protobuf:"bytes,11,opt,name=from_desc,json=fromDesc,proto3,oneof" json:"from_desc,omitempty"` UserExtras []*AddUserRequest_UserExtra `protobuf:"bytes,13,rep,name=user_extras,json=userExtras,proto3" json:"user_extras,omitempty"` // contains filtered or unexported fields }
func (*AddUserRequest) Descriptor
deprecated
func (*AddUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserRequest.ProtoReflect.Descriptor instead.
func (*AddUserRequest) GetAvatar ¶
func (x *AddUserRequest) GetAvatar() string
func (*AddUserRequest) GetEmail ¶
func (x *AddUserRequest) GetEmail() string
func (*AddUserRequest) GetFrom ¶
func (x *AddUserRequest) GetFrom() string
func (*AddUserRequest) GetFromDesc ¶
func (x *AddUserRequest) GetFromDesc() string
func (*AddUserRequest) GetGender ¶
func (x *AddUserRequest) GetGender() string
func (*AddUserRequest) GetNickName ¶
func (x *AddUserRequest) GetNickName() string
func (*AddUserRequest) GetPassword ¶
func (x *AddUserRequest) GetPassword() string
func (*AddUserRequest) GetPhone ¶
func (x *AddUserRequest) GetPhone() string
func (*AddUserRequest) GetRealName ¶
func (x *AddUserRequest) GetRealName() string
func (*AddUserRequest) GetUserExtras ¶
func (x *AddUserRequest) GetUserExtras() []*AddUserRequest_UserExtra
func (*AddUserRequest) GetUsername ¶
func (x *AddUserRequest) GetUsername() string
func (*AddUserRequest) ProtoMessage ¶
func (*AddUserRequest) ProtoMessage()
func (*AddUserRequest) ProtoReflect ¶
func (x *AddUserRequest) ProtoReflect() protoreflect.Message
func (*AddUserRequest) Reset ¶
func (x *AddUserRequest) Reset()
func (*AddUserRequest) String ¶
func (x *AddUserRequest) String() string
func (*AddUserRequest) Validate ¶
func (m *AddUserRequest) Validate() error
Validate checks the field values on AddUserRequest 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 (*AddUserRequest) ValidateAll ¶
func (m *AddUserRequest) ValidateAll() error
ValidateAll checks the field values on AddUserRequest 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 AddUserRequestMultiError, or nil if none found.
type AddUserRequestMultiError ¶
type AddUserRequestMultiError []error
AddUserRequestMultiError is an error wrapping multiple validation errors returned by AddUserRequest.ValidateAll() if the designated constraints aren't met.
func (AddUserRequestMultiError) AllErrors ¶
func (m AddUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserRequestMultiError) Error ¶
func (m AddUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserRequestValidationError ¶
type AddUserRequestValidationError struct {
// contains filtered or unexported fields
}
AddUserRequestValidationError is the validation error returned by AddUserRequest.Validate if the designated constraints aren't met.
func (AddUserRequestValidationError) Cause ¶
func (e AddUserRequestValidationError) Cause() error
Cause function returns cause value.
func (AddUserRequestValidationError) Error ¶
func (e AddUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserRequestValidationError) ErrorName ¶
func (e AddUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserRequestValidationError) Field ¶
func (e AddUserRequestValidationError) Field() string
Field function returns field value.
func (AddUserRequestValidationError) Key ¶
func (e AddUserRequestValidationError) Key() bool
Key function returns key value.
func (AddUserRequestValidationError) Reason ¶
func (e AddUserRequestValidationError) Reason() string
Reason function returns reason value.
type AddUserRequest_UserExtra ¶
type AddUserRequest_UserExtra struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Value *anypb.Any `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*AddUserRequest_UserExtra) Descriptor
deprecated
func (*AddUserRequest_UserExtra) Descriptor() ([]byte, []int)
Deprecated: Use AddUserRequest_UserExtra.ProtoReflect.Descriptor instead.
func (*AddUserRequest_UserExtra) GetCreatedAt ¶
func (x *AddUserRequest_UserExtra) GetCreatedAt() uint32
func (*AddUserRequest_UserExtra) GetId ¶
func (x *AddUserRequest_UserExtra) GetId() uint32
func (*AddUserRequest_UserExtra) GetKeyword ¶
func (x *AddUserRequest_UserExtra) GetKeyword() string
func (*AddUserRequest_UserExtra) GetType ¶
func (x *AddUserRequest_UserExtra) GetType() string
func (*AddUserRequest_UserExtra) GetUserId ¶
func (x *AddUserRequest_UserExtra) GetUserId() uint32
func (*AddUserRequest_UserExtra) GetValue ¶
func (x *AddUserRequest_UserExtra) GetValue() *anypb.Any
func (*AddUserRequest_UserExtra) ProtoMessage ¶
func (*AddUserRequest_UserExtra) ProtoMessage()
func (*AddUserRequest_UserExtra) ProtoReflect ¶
func (x *AddUserRequest_UserExtra) ProtoReflect() protoreflect.Message
func (*AddUserRequest_UserExtra) Reset ¶
func (x *AddUserRequest_UserExtra) Reset()
func (*AddUserRequest_UserExtra) String ¶
func (x *AddUserRequest_UserExtra) String() string
func (*AddUserRequest_UserExtra) Validate ¶
func (m *AddUserRequest_UserExtra) Validate() error
Validate checks the field values on AddUserRequest_UserExtra 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 (*AddUserRequest_UserExtra) ValidateAll ¶
func (m *AddUserRequest_UserExtra) ValidateAll() error
ValidateAll checks the field values on AddUserRequest_UserExtra 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 AddUserRequest_UserExtraMultiError, or nil if none found.
type AddUserRequest_UserExtraMultiError ¶
type AddUserRequest_UserExtraMultiError []error
AddUserRequest_UserExtraMultiError is an error wrapping multiple validation errors returned by AddUserRequest_UserExtra.ValidateAll() if the designated constraints aren't met.
func (AddUserRequest_UserExtraMultiError) AllErrors ¶
func (m AddUserRequest_UserExtraMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserRequest_UserExtraMultiError) Error ¶
func (m AddUserRequest_UserExtraMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserRequest_UserExtraValidationError ¶
type AddUserRequest_UserExtraValidationError struct {
// contains filtered or unexported fields
}
AddUserRequest_UserExtraValidationError is the validation error returned by AddUserRequest_UserExtra.Validate if the designated constraints aren't met.
func (AddUserRequest_UserExtraValidationError) Cause ¶
func (e AddUserRequest_UserExtraValidationError) Cause() error
Cause function returns cause value.
func (AddUserRequest_UserExtraValidationError) Error ¶
func (e AddUserRequest_UserExtraValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserRequest_UserExtraValidationError) ErrorName ¶
func (e AddUserRequest_UserExtraValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserRequest_UserExtraValidationError) Field ¶
func (e AddUserRequest_UserExtraValidationError) Field() string
Field function returns field value.
func (AddUserRequest_UserExtraValidationError) Key ¶
func (e AddUserRequest_UserExtraValidationError) Key() bool
Key function returns key value.
func (AddUserRequest_UserExtraValidationError) Reason ¶
func (e AddUserRequest_UserExtraValidationError) Reason() string
Reason function returns reason value.
type AllLoginPlatformReply ¶
type AllLoginPlatformReply struct { List []*AllLoginPlatformReply_Platform `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*AllLoginPlatformReply) Descriptor
deprecated
func (*AllLoginPlatformReply) Descriptor() ([]byte, []int)
Deprecated: Use AllLoginPlatformReply.ProtoReflect.Descriptor instead.
func (*AllLoginPlatformReply) GetList ¶
func (x *AllLoginPlatformReply) GetList() []*AllLoginPlatformReply_Platform
func (*AllLoginPlatformReply) ProtoMessage ¶
func (*AllLoginPlatformReply) ProtoMessage()
func (*AllLoginPlatformReply) ProtoReflect ¶
func (x *AllLoginPlatformReply) ProtoReflect() protoreflect.Message
func (*AllLoginPlatformReply) Reset ¶
func (x *AllLoginPlatformReply) Reset()
func (*AllLoginPlatformReply) String ¶
func (x *AllLoginPlatformReply) String() string
func (*AllLoginPlatformReply) Validate ¶
func (m *AllLoginPlatformReply) Validate() error
Validate checks the field values on AllLoginPlatformReply 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 (*AllLoginPlatformReply) ValidateAll ¶
func (m *AllLoginPlatformReply) ValidateAll() error
ValidateAll checks the field values on AllLoginPlatformReply 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 AllLoginPlatformReplyMultiError, or nil if none found.
type AllLoginPlatformReplyMultiError ¶
type AllLoginPlatformReplyMultiError []error
AllLoginPlatformReplyMultiError is an error wrapping multiple validation errors returned by AllLoginPlatformReply.ValidateAll() if the designated constraints aren't met.
func (AllLoginPlatformReplyMultiError) AllErrors ¶
func (m AllLoginPlatformReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllLoginPlatformReplyMultiError) Error ¶
func (m AllLoginPlatformReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllLoginPlatformReplyValidationError ¶
type AllLoginPlatformReplyValidationError struct {
// contains filtered or unexported fields
}
AllLoginPlatformReplyValidationError is the validation error returned by AllLoginPlatformReply.Validate if the designated constraints aren't met.
func (AllLoginPlatformReplyValidationError) Cause ¶
func (e AllLoginPlatformReplyValidationError) Cause() error
Cause function returns cause value.
func (AllLoginPlatformReplyValidationError) Error ¶
func (e AllLoginPlatformReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AllLoginPlatformReplyValidationError) ErrorName ¶
func (e AllLoginPlatformReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AllLoginPlatformReplyValidationError) Field ¶
func (e AllLoginPlatformReplyValidationError) Field() string
Field function returns field value.
func (AllLoginPlatformReplyValidationError) Key ¶
func (e AllLoginPlatformReplyValidationError) Key() bool
Key function returns key value.
func (AllLoginPlatformReplyValidationError) Reason ¶
func (e AllLoginPlatformReplyValidationError) Reason() string
Reason function returns reason value.
type AllLoginPlatformReply_Platform ¶
type AllLoginPlatformReply_Platform struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AllLoginPlatformReply_Platform) Descriptor
deprecated
func (*AllLoginPlatformReply_Platform) Descriptor() ([]byte, []int)
Deprecated: Use AllLoginPlatformReply_Platform.ProtoReflect.Descriptor instead.
func (*AllLoginPlatformReply_Platform) GetName ¶
func (x *AllLoginPlatformReply_Platform) GetName() string
func (*AllLoginPlatformReply_Platform) GetPlatform ¶
func (x *AllLoginPlatformReply_Platform) GetPlatform() string
func (*AllLoginPlatformReply_Platform) ProtoMessage ¶
func (*AllLoginPlatformReply_Platform) ProtoMessage()
func (*AllLoginPlatformReply_Platform) ProtoReflect ¶
func (x *AllLoginPlatformReply_Platform) ProtoReflect() protoreflect.Message
func (*AllLoginPlatformReply_Platform) Reset ¶
func (x *AllLoginPlatformReply_Platform) Reset()
func (*AllLoginPlatformReply_Platform) String ¶
func (x *AllLoginPlatformReply_Platform) String() string
func (*AllLoginPlatformReply_Platform) Validate ¶
func (m *AllLoginPlatformReply_Platform) Validate() error
Validate checks the field values on AllLoginPlatformReply_Platform 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 (*AllLoginPlatformReply_Platform) ValidateAll ¶
func (m *AllLoginPlatformReply_Platform) ValidateAll() error
ValidateAll checks the field values on AllLoginPlatformReply_Platform 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 AllLoginPlatformReply_PlatformMultiError, or nil if none found.
type AllLoginPlatformReply_PlatformMultiError ¶
type AllLoginPlatformReply_PlatformMultiError []error
AllLoginPlatformReply_PlatformMultiError is an error wrapping multiple validation errors returned by AllLoginPlatformReply_Platform.ValidateAll() if the designated constraints aren't met.
func (AllLoginPlatformReply_PlatformMultiError) AllErrors ¶
func (m AllLoginPlatformReply_PlatformMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllLoginPlatformReply_PlatformMultiError) Error ¶
func (m AllLoginPlatformReply_PlatformMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllLoginPlatformReply_PlatformValidationError ¶
type AllLoginPlatformReply_PlatformValidationError struct {
// contains filtered or unexported fields
}
AllLoginPlatformReply_PlatformValidationError is the validation error returned by AllLoginPlatformReply_Platform.Validate if the designated constraints aren't met.
func (AllLoginPlatformReply_PlatformValidationError) Cause ¶
func (e AllLoginPlatformReply_PlatformValidationError) Cause() error
Cause function returns cause value.
func (AllLoginPlatformReply_PlatformValidationError) Error ¶
func (e AllLoginPlatformReply_PlatformValidationError) Error() string
Error satisfies the builtin error interface
func (AllLoginPlatformReply_PlatformValidationError) ErrorName ¶
func (e AllLoginPlatformReply_PlatformValidationError) ErrorName() string
ErrorName returns error name.
func (AllLoginPlatformReply_PlatformValidationError) Field ¶
func (e AllLoginPlatformReply_PlatformValidationError) Field() string
Field function returns field value.
func (AllLoginPlatformReply_PlatformValidationError) Key ¶
func (e AllLoginPlatformReply_PlatformValidationError) Key() bool
Key function returns key value.
func (AllLoginPlatformReply_PlatformValidationError) Reason ¶
func (e AllLoginPlatformReply_PlatformValidationError) Reason() string
Reason function returns reason value.
type AuthReply ¶
type AuthReply struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AppId uint32 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppKeyword string `protobuf:"bytes,3,opt,name=app_keyword,json=appKeyword,proto3" json:"app_keyword,omitempty"` ChannelId uint32 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*AuthReply) Descriptor
deprecated
func (*AuthReply) GetAppKeyword ¶
func (*AuthReply) GetChannelId ¶
func (*AuthReply) ProtoMessage ¶
func (*AuthReply) ProtoMessage()
func (*AuthReply) ProtoReflect ¶
func (x *AuthReply) ProtoReflect() protoreflect.Message
func (*AuthReply) Validate ¶
Validate checks the field values on AuthReply 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 (*AuthReply) ValidateAll ¶
ValidateAll checks the field values on AuthReply 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 AuthReplyMultiError, or nil if none found.
type AuthReplyMultiError ¶
type AuthReplyMultiError []error
AuthReplyMultiError is an error wrapping multiple validation errors returned by AuthReply.ValidateAll() if the designated constraints aren't met.
func (AuthReplyMultiError) AllErrors ¶
func (m AuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthReplyMultiError) Error ¶
func (m AuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthReplyValidationError ¶
type AuthReplyValidationError struct {
// contains filtered or unexported fields
}
AuthReplyValidationError is the validation error returned by AuthReply.Validate if the designated constraints aren't met.
func (AuthReplyValidationError) Cause ¶
func (e AuthReplyValidationError) Cause() error
Cause function returns cause value.
func (AuthReplyValidationError) Error ¶
func (e AuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AuthReplyValidationError) ErrorName ¶
func (e AuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AuthReplyValidationError) Field ¶
func (e AuthReplyValidationError) Field() string
Field function returns field value.
func (AuthReplyValidationError) Key ¶
func (e AuthReplyValidationError) Key() bool
Key function returns key value.
func (AuthReplyValidationError) Reason ¶
func (e AuthReplyValidationError) Reason() string
Reason function returns reason value.
type BaseUser ¶
type BaseUser struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"` Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"` NickName string `protobuf:"bytes,6,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` RealName string `protobuf:"bytes,7,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` Avatar string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"` Gender string `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"` Resource *v1.File `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*BaseUser) Descriptor
deprecated
func (*BaseUser) GetNickName ¶
func (*BaseUser) GetRealName ¶
func (*BaseUser) GetResource ¶
func (*BaseUser) GetUsername ¶
func (*BaseUser) ProtoMessage ¶
func (*BaseUser) ProtoMessage()
func (*BaseUser) ProtoReflect ¶
func (x *BaseUser) ProtoReflect() protoreflect.Message
func (*BaseUser) Validate ¶
Validate checks the field values on BaseUser 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 (*BaseUser) ValidateAll ¶
ValidateAll checks the field values on BaseUser 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 BaseUserMultiError, or nil if none found.
type BaseUserMultiError ¶
type BaseUserMultiError []error
BaseUserMultiError is an error wrapping multiple validation errors returned by BaseUser.ValidateAll() if the designated constraints aren't met.
func (BaseUserMultiError) AllErrors ¶
func (m BaseUserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BaseUserMultiError) Error ¶
func (m BaseUserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BaseUserValidationError ¶
type BaseUserValidationError struct {
// contains filtered or unexported fields
}
BaseUserValidationError is the validation error returned by BaseUser.Validate if the designated constraints aren't met.
func (BaseUserValidationError) Cause ¶
func (e BaseUserValidationError) Cause() error
Cause function returns cause value.
func (BaseUserValidationError) Error ¶
func (e BaseUserValidationError) Error() string
Error satisfies the builtin error interface
func (BaseUserValidationError) ErrorName ¶
func (e BaseUserValidationError) ErrorName() string
ErrorName returns error name.
func (BaseUserValidationError) Field ¶
func (e BaseUserValidationError) Field() string
Field function returns field value.
func (BaseUserValidationError) Key ¶
func (e BaseUserValidationError) Key() bool
Key function returns key value.
func (BaseUserValidationError) Reason ¶
func (e BaseUserValidationError) Reason() string
Reason function returns reason value.
type BindReply ¶
type BindReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*BindReply) Descriptor
deprecated
func (*BindReply) ProtoMessage ¶
func (*BindReply) ProtoMessage()
func (*BindReply) ProtoReflect ¶
func (x *BindReply) ProtoReflect() protoreflect.Message
func (*BindReply) Validate ¶
Validate checks the field values on BindReply 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 (*BindReply) ValidateAll ¶
ValidateAll checks the field values on BindReply 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 BindReplyMultiError, or nil if none found.
type BindReplyMultiError ¶
type BindReplyMultiError []error
BindReplyMultiError is an error wrapping multiple validation errors returned by BindReply.ValidateAll() if the designated constraints aren't met.
func (BindReplyMultiError) AllErrors ¶
func (m BindReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindReplyMultiError) Error ¶
func (m BindReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindReplyValidationError ¶
type BindReplyValidationError struct {
// contains filtered or unexported fields
}
BindReplyValidationError is the validation error returned by BindReply.Validate if the designated constraints aren't met.
func (BindReplyValidationError) Cause ¶
func (e BindReplyValidationError) Cause() error
Cause function returns cause value.
func (BindReplyValidationError) Error ¶
func (e BindReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BindReplyValidationError) ErrorName ¶
func (e BindReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BindReplyValidationError) Field ¶
func (e BindReplyValidationError) Field() string
Field function returns field value.
func (BindReplyValidationError) Key ¶
func (e BindReplyValidationError) Key() bool
Key function returns key value.
func (BindReplyValidationError) Reason ¶
func (e BindReplyValidationError) Reason() string
Reason function returns reason value.
type CaptchaLoginEmailRequest ¶
type CaptchaLoginEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*CaptchaLoginEmailRequest) Descriptor
deprecated
func (*CaptchaLoginEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaLoginEmailRequest.ProtoReflect.Descriptor instead.
func (*CaptchaLoginEmailRequest) GetEmail ¶
func (x *CaptchaLoginEmailRequest) GetEmail() string
func (*CaptchaLoginEmailRequest) ProtoMessage ¶
func (*CaptchaLoginEmailRequest) ProtoMessage()
func (*CaptchaLoginEmailRequest) ProtoReflect ¶
func (x *CaptchaLoginEmailRequest) ProtoReflect() protoreflect.Message
func (*CaptchaLoginEmailRequest) Reset ¶
func (x *CaptchaLoginEmailRequest) Reset()
func (*CaptchaLoginEmailRequest) String ¶
func (x *CaptchaLoginEmailRequest) String() string
func (*CaptchaLoginEmailRequest) Validate ¶
func (m *CaptchaLoginEmailRequest) Validate() error
Validate checks the field values on CaptchaLoginEmailRequest 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 (*CaptchaLoginEmailRequest) ValidateAll ¶
func (m *CaptchaLoginEmailRequest) ValidateAll() error
ValidateAll checks the field values on CaptchaLoginEmailRequest 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 CaptchaLoginEmailRequestMultiError, or nil if none found.
type CaptchaLoginEmailRequestMultiError ¶
type CaptchaLoginEmailRequestMultiError []error
CaptchaLoginEmailRequestMultiError is an error wrapping multiple validation errors returned by CaptchaLoginEmailRequest.ValidateAll() if the designated constraints aren't met.
func (CaptchaLoginEmailRequestMultiError) AllErrors ¶
func (m CaptchaLoginEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaLoginEmailRequestMultiError) Error ¶
func (m CaptchaLoginEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaLoginEmailRequestValidationError ¶
type CaptchaLoginEmailRequestValidationError struct {
// contains filtered or unexported fields
}
CaptchaLoginEmailRequestValidationError is the validation error returned by CaptchaLoginEmailRequest.Validate if the designated constraints aren't met.
func (CaptchaLoginEmailRequestValidationError) Cause ¶
func (e CaptchaLoginEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (CaptchaLoginEmailRequestValidationError) Error ¶
func (e CaptchaLoginEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaLoginEmailRequestValidationError) ErrorName ¶
func (e CaptchaLoginEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaLoginEmailRequestValidationError) Field ¶
func (e CaptchaLoginEmailRequestValidationError) Field() string
Field function returns field value.
func (CaptchaLoginEmailRequestValidationError) Key ¶
func (e CaptchaLoginEmailRequestValidationError) Key() bool
Key function returns key value.
func (CaptchaLoginEmailRequestValidationError) Reason ¶
func (e CaptchaLoginEmailRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaLoginRequest ¶
type CaptchaLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*CaptchaLoginRequest) Descriptor
deprecated
func (*CaptchaLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaLoginRequest.ProtoReflect.Descriptor instead.
func (*CaptchaLoginRequest) GetApp ¶
func (x *CaptchaLoginRequest) GetApp() string
func (*CaptchaLoginRequest) GetCaptcha ¶
func (x *CaptchaLoginRequest) GetCaptcha() string
func (*CaptchaLoginRequest) GetCaptchaId ¶
func (x *CaptchaLoginRequest) GetCaptchaId() string
func (*CaptchaLoginRequest) GetUsername ¶
func (x *CaptchaLoginRequest) GetUsername() string
func (*CaptchaLoginRequest) ProtoMessage ¶
func (*CaptchaLoginRequest) ProtoMessage()
func (*CaptchaLoginRequest) ProtoReflect ¶
func (x *CaptchaLoginRequest) ProtoReflect() protoreflect.Message
func (*CaptchaLoginRequest) Reset ¶
func (x *CaptchaLoginRequest) Reset()
func (*CaptchaLoginRequest) String ¶
func (x *CaptchaLoginRequest) String() string
func (*CaptchaLoginRequest) Validate ¶
func (m *CaptchaLoginRequest) Validate() error
Validate checks the field values on CaptchaLoginRequest 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 (*CaptchaLoginRequest) ValidateAll ¶
func (m *CaptchaLoginRequest) ValidateAll() error
ValidateAll checks the field values on CaptchaLoginRequest 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 CaptchaLoginRequestMultiError, or nil if none found.
type CaptchaLoginRequestMultiError ¶
type CaptchaLoginRequestMultiError []error
CaptchaLoginRequestMultiError is an error wrapping multiple validation errors returned by CaptchaLoginRequest.ValidateAll() if the designated constraints aren't met.
func (CaptchaLoginRequestMultiError) AllErrors ¶
func (m CaptchaLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaLoginRequestMultiError) Error ¶
func (m CaptchaLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaLoginRequestValidationError ¶
type CaptchaLoginRequestValidationError struct {
// contains filtered or unexported fields
}
CaptchaLoginRequestValidationError is the validation error returned by CaptchaLoginRequest.Validate if the designated constraints aren't met.
func (CaptchaLoginRequestValidationError) Cause ¶
func (e CaptchaLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (CaptchaLoginRequestValidationError) Error ¶
func (e CaptchaLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaLoginRequestValidationError) ErrorName ¶
func (e CaptchaLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaLoginRequestValidationError) Field ¶
func (e CaptchaLoginRequestValidationError) Field() string
Field function returns field value.
func (CaptchaLoginRequestValidationError) Key ¶
func (e CaptchaLoginRequestValidationError) Key() bool
Key function returns key value.
func (CaptchaLoginRequestValidationError) Reason ¶
func (e CaptchaLoginRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaRegisterEmailRequest ¶
type CaptchaRegisterEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*CaptchaRegisterEmailRequest) Descriptor
deprecated
func (*CaptchaRegisterEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaRegisterEmailRequest.ProtoReflect.Descriptor instead.
func (*CaptchaRegisterEmailRequest) GetEmail ¶
func (x *CaptchaRegisterEmailRequest) GetEmail() string
func (*CaptchaRegisterEmailRequest) ProtoMessage ¶
func (*CaptchaRegisterEmailRequest) ProtoMessage()
func (*CaptchaRegisterEmailRequest) ProtoReflect ¶
func (x *CaptchaRegisterEmailRequest) ProtoReflect() protoreflect.Message
func (*CaptchaRegisterEmailRequest) Reset ¶
func (x *CaptchaRegisterEmailRequest) Reset()
func (*CaptchaRegisterEmailRequest) String ¶
func (x *CaptchaRegisterEmailRequest) String() string
func (*CaptchaRegisterEmailRequest) Validate ¶
func (m *CaptchaRegisterEmailRequest) Validate() error
Validate checks the field values on CaptchaRegisterEmailRequest 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 (*CaptchaRegisterEmailRequest) ValidateAll ¶
func (m *CaptchaRegisterEmailRequest) ValidateAll() error
ValidateAll checks the field values on CaptchaRegisterEmailRequest 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 CaptchaRegisterEmailRequestMultiError, or nil if none found.
type CaptchaRegisterEmailRequestMultiError ¶
type CaptchaRegisterEmailRequestMultiError []error
CaptchaRegisterEmailRequestMultiError is an error wrapping multiple validation errors returned by CaptchaRegisterEmailRequest.ValidateAll() if the designated constraints aren't met.
func (CaptchaRegisterEmailRequestMultiError) AllErrors ¶
func (m CaptchaRegisterEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaRegisterEmailRequestMultiError) Error ¶
func (m CaptchaRegisterEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaRegisterEmailRequestValidationError ¶
type CaptchaRegisterEmailRequestValidationError struct {
// contains filtered or unexported fields
}
CaptchaRegisterEmailRequestValidationError is the validation error returned by CaptchaRegisterEmailRequest.Validate if the designated constraints aren't met.
func (CaptchaRegisterEmailRequestValidationError) Cause ¶
func (e CaptchaRegisterEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (CaptchaRegisterEmailRequestValidationError) Error ¶
func (e CaptchaRegisterEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaRegisterEmailRequestValidationError) ErrorName ¶
func (e CaptchaRegisterEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaRegisterEmailRequestValidationError) Field ¶
func (e CaptchaRegisterEmailRequestValidationError) Field() string
Field function returns field value.
func (CaptchaRegisterEmailRequestValidationError) Key ¶
func (e CaptchaRegisterEmailRequestValidationError) Key() bool
Key function returns key value.
func (CaptchaRegisterEmailRequestValidationError) Reason ¶
func (e CaptchaRegisterEmailRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaRegisterRequest ¶
type CaptchaRegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*CaptchaRegisterRequest) Descriptor
deprecated
func (*CaptchaRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaRegisterRequest.ProtoReflect.Descriptor instead.
func (*CaptchaRegisterRequest) GetApp ¶
func (x *CaptchaRegisterRequest) GetApp() string
func (*CaptchaRegisterRequest) GetCaptcha ¶
func (x *CaptchaRegisterRequest) GetCaptcha() string
func (*CaptchaRegisterRequest) GetCaptchaId ¶
func (x *CaptchaRegisterRequest) GetCaptchaId() string
func (*CaptchaRegisterRequest) GetUsername ¶
func (x *CaptchaRegisterRequest) GetUsername() string
func (*CaptchaRegisterRequest) ProtoMessage ¶
func (*CaptchaRegisterRequest) ProtoMessage()
func (*CaptchaRegisterRequest) ProtoReflect ¶
func (x *CaptchaRegisterRequest) ProtoReflect() protoreflect.Message
func (*CaptchaRegisterRequest) Reset ¶
func (x *CaptchaRegisterRequest) Reset()
func (*CaptchaRegisterRequest) String ¶
func (x *CaptchaRegisterRequest) String() string
func (*CaptchaRegisterRequest) Validate ¶
func (m *CaptchaRegisterRequest) Validate() error
Validate checks the field values on CaptchaRegisterRequest 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 (*CaptchaRegisterRequest) ValidateAll ¶
func (m *CaptchaRegisterRequest) ValidateAll() error
ValidateAll checks the field values on CaptchaRegisterRequest 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 CaptchaRegisterRequestMultiError, or nil if none found.
type CaptchaRegisterRequestMultiError ¶
type CaptchaRegisterRequestMultiError []error
CaptchaRegisterRequestMultiError is an error wrapping multiple validation errors returned by CaptchaRegisterRequest.ValidateAll() if the designated constraints aren't met.
func (CaptchaRegisterRequestMultiError) AllErrors ¶
func (m CaptchaRegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaRegisterRequestMultiError) Error ¶
func (m CaptchaRegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaRegisterRequestValidationError ¶
type CaptchaRegisterRequestValidationError struct {
// contains filtered or unexported fields
}
CaptchaRegisterRequestValidationError is the validation error returned by CaptchaRegisterRequest.Validate if the designated constraints aren't met.
func (CaptchaRegisterRequestValidationError) Cause ¶
func (e CaptchaRegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (CaptchaRegisterRequestValidationError) Error ¶
func (e CaptchaRegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaRegisterRequestValidationError) ErrorName ¶
func (e CaptchaRegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaRegisterRequestValidationError) Field ¶
func (e CaptchaRegisterRequestValidationError) Field() string
Field function returns field value.
func (CaptchaRegisterRequestValidationError) Key ¶
func (e CaptchaRegisterRequestValidationError) Key() bool
Key function returns key value.
func (CaptchaRegisterRequestValidationError) Reason ¶
func (e CaptchaRegisterRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaReply ¶
type CaptchaReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Expire uint32 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"` Base64 string `protobuf:"bytes,3,opt,name=base64,proto3" json:"base64,omitempty"` // contains filtered or unexported fields }
func (*CaptchaReply) Descriptor
deprecated
func (*CaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaReply.ProtoReflect.Descriptor instead.
func (*CaptchaReply) GetBase64 ¶
func (x *CaptchaReply) GetBase64() string
func (*CaptchaReply) GetExpire ¶
func (x *CaptchaReply) GetExpire() uint32
func (*CaptchaReply) GetId ¶
func (x *CaptchaReply) GetId() string
func (*CaptchaReply) ProtoMessage ¶
func (*CaptchaReply) ProtoMessage()
func (*CaptchaReply) ProtoReflect ¶
func (x *CaptchaReply) ProtoReflect() protoreflect.Message
func (*CaptchaReply) Reset ¶
func (x *CaptchaReply) Reset()
func (*CaptchaReply) String ¶
func (x *CaptchaReply) String() string
func (*CaptchaReply) Validate ¶
func (m *CaptchaReply) Validate() error
Validate checks the field values on CaptchaReply 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 (*CaptchaReply) ValidateAll ¶
func (m *CaptchaReply) ValidateAll() error
ValidateAll checks the field values on CaptchaReply 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 CaptchaReplyMultiError, or nil if none found.
type CaptchaReplyMultiError ¶
type CaptchaReplyMultiError []error
CaptchaReplyMultiError is an error wrapping multiple validation errors returned by CaptchaReply.ValidateAll() if the designated constraints aren't met.
func (CaptchaReplyMultiError) AllErrors ¶
func (m CaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaReplyMultiError) Error ¶
func (m CaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaReplyValidationError ¶
type CaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
CaptchaReplyValidationError is the validation error returned by CaptchaReply.Validate if the designated constraints aren't met.
func (CaptchaReplyValidationError) Cause ¶
func (e CaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (CaptchaReplyValidationError) Error ¶
func (e CaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaReplyValidationError) ErrorName ¶
func (e CaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaReplyValidationError) Field ¶
func (e CaptchaReplyValidationError) Field() string
Field function returns field value.
func (CaptchaReplyValidationError) Key ¶
func (e CaptchaReplyValidationError) Key() bool
Key function returns key value.
func (CaptchaReplyValidationError) Reason ¶
func (e CaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserAppRequest ¶
type DeleteUserAppRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AppId uint32 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserAppRequest) Descriptor
deprecated
func (*DeleteUserAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAppRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserAppRequest) GetAppId ¶
func (x *DeleteUserAppRequest) GetAppId() uint32
func (*DeleteUserAppRequest) GetUserId ¶
func (x *DeleteUserAppRequest) GetUserId() uint32
func (*DeleteUserAppRequest) ProtoMessage ¶
func (*DeleteUserAppRequest) ProtoMessage()
func (*DeleteUserAppRequest) ProtoReflect ¶
func (x *DeleteUserAppRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserAppRequest) Reset ¶
func (x *DeleteUserAppRequest) Reset()
func (*DeleteUserAppRequest) String ¶
func (x *DeleteUserAppRequest) String() string
func (*DeleteUserAppRequest) Validate ¶
func (m *DeleteUserAppRequest) Validate() error
Validate checks the field values on DeleteUserAppRequest 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 (*DeleteUserAppRequest) ValidateAll ¶
func (m *DeleteUserAppRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserAppRequest 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 DeleteUserAppRequestMultiError, or nil if none found.
type DeleteUserAppRequestMultiError ¶
type DeleteUserAppRequestMultiError []error
DeleteUserAppRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserAppRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserAppRequestMultiError) AllErrors ¶
func (m DeleteUserAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserAppRequestMultiError) Error ¶
func (m DeleteUserAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserAppRequestValidationError ¶
type DeleteUserAppRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserAppRequestValidationError is the validation error returned by DeleteUserAppRequest.Validate if the designated constraints aren't met.
func (DeleteUserAppRequestValidationError) Cause ¶
func (e DeleteUserAppRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserAppRequestValidationError) Error ¶
func (e DeleteUserAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserAppRequestValidationError) ErrorName ¶
func (e DeleteUserAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserAppRequestValidationError) Field ¶
func (e DeleteUserAppRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserAppRequestValidationError) Key ¶
func (e DeleteUserAppRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserAppRequestValidationError) Reason ¶
func (e DeleteUserAppRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserExtraRequest ¶
type DeleteUserExtraRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserExtraRequest) Descriptor
deprecated
func (*DeleteUserExtraRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserExtraRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserExtraRequest) GetKeyword ¶
func (x *DeleteUserExtraRequest) GetKeyword() string
func (*DeleteUserExtraRequest) GetUserId ¶
func (x *DeleteUserExtraRequest) GetUserId() uint32
func (*DeleteUserExtraRequest) ProtoMessage ¶
func (*DeleteUserExtraRequest) ProtoMessage()
func (*DeleteUserExtraRequest) ProtoReflect ¶
func (x *DeleteUserExtraRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserExtraRequest) Reset ¶
func (x *DeleteUserExtraRequest) Reset()
func (*DeleteUserExtraRequest) String ¶
func (x *DeleteUserExtraRequest) String() string
func (*DeleteUserExtraRequest) Validate ¶
func (m *DeleteUserExtraRequest) Validate() error
Validate checks the field values on DeleteUserExtraRequest 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 (*DeleteUserExtraRequest) ValidateAll ¶
func (m *DeleteUserExtraRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserExtraRequest 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 DeleteUserExtraRequestMultiError, or nil if none found.
type DeleteUserExtraRequestMultiError ¶
type DeleteUserExtraRequestMultiError []error
DeleteUserExtraRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserExtraRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserExtraRequestMultiError) AllErrors ¶
func (m DeleteUserExtraRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserExtraRequestMultiError) Error ¶
func (m DeleteUserExtraRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserExtraRequestValidationError ¶
type DeleteUserExtraRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserExtraRequestValidationError is the validation error returned by DeleteUserExtraRequest.Validate if the designated constraints aren't met.
func (DeleteUserExtraRequestValidationError) Cause ¶
func (e DeleteUserExtraRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserExtraRequestValidationError) Error ¶
func (e DeleteUserExtraRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserExtraRequestValidationError) ErrorName ¶
func (e DeleteUserExtraRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserExtraRequestValidationError) Field ¶
func (e DeleteUserExtraRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserExtraRequestValidationError) Key ¶
func (e DeleteUserExtraRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserExtraRequestValidationError) Reason ¶
func (e DeleteUserExtraRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type DisableUserRequest ¶
type DisableUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*DisableUserRequest) Descriptor
deprecated
func (*DisableUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableUserRequest.ProtoReflect.Descriptor instead.
func (*DisableUserRequest) GetDesc ¶
func (x *DisableUserRequest) GetDesc() string
func (*DisableUserRequest) GetId ¶
func (x *DisableUserRequest) GetId() uint32
func (*DisableUserRequest) ProtoMessage ¶
func (*DisableUserRequest) ProtoMessage()
func (*DisableUserRequest) ProtoReflect ¶
func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
func (*DisableUserRequest) Reset ¶
func (x *DisableUserRequest) Reset()
func (*DisableUserRequest) String ¶
func (x *DisableUserRequest) String() string
func (*DisableUserRequest) Validate ¶
func (m *DisableUserRequest) Validate() error
Validate checks the field values on DisableUserRequest 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 (*DisableUserRequest) ValidateAll ¶
func (m *DisableUserRequest) ValidateAll() error
ValidateAll checks the field values on DisableUserRequest 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 DisableUserRequestMultiError, or nil if none found.
type DisableUserRequestMultiError ¶
type DisableUserRequestMultiError []error
DisableUserRequestMultiError is an error wrapping multiple validation errors returned by DisableUserRequest.ValidateAll() if the designated constraints aren't met.
func (DisableUserRequestMultiError) AllErrors ¶
func (m DisableUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableUserRequestMultiError) Error ¶
func (m DisableUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableUserRequestValidationError ¶
type DisableUserRequestValidationError struct {
// contains filtered or unexported fields
}
DisableUserRequestValidationError is the validation error returned by DisableUserRequest.Validate if the designated constraints aren't met.
func (DisableUserRequestValidationError) Cause ¶
func (e DisableUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DisableUserRequestValidationError) Error ¶
func (e DisableUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisableUserRequestValidationError) ErrorName ¶
func (e DisableUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisableUserRequestValidationError) Field ¶
func (e DisableUserRequestValidationError) Field() string
Field function returns field value.
func (DisableUserRequestValidationError) Key ¶
func (e DisableUserRequestValidationError) Key() bool
Key function returns key value.
func (DisableUserRequestValidationError) Reason ¶
func (e DisableUserRequestValidationError) Reason() string
Reason function returns reason value.
type EnableUserRequest ¶
type EnableUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EnableUserRequest) Descriptor
deprecated
func (*EnableUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableUserRequest.ProtoReflect.Descriptor instead.
func (*EnableUserRequest) GetId ¶
func (x *EnableUserRequest) GetId() uint32
func (*EnableUserRequest) ProtoMessage ¶
func (*EnableUserRequest) ProtoMessage()
func (*EnableUserRequest) ProtoReflect ¶
func (x *EnableUserRequest) ProtoReflect() protoreflect.Message
func (*EnableUserRequest) Reset ¶
func (x *EnableUserRequest) Reset()
func (*EnableUserRequest) String ¶
func (x *EnableUserRequest) String() string
func (*EnableUserRequest) Validate ¶
func (m *EnableUserRequest) Validate() error
Validate checks the field values on EnableUserRequest 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 (*EnableUserRequest) ValidateAll ¶
func (m *EnableUserRequest) ValidateAll() error
ValidateAll checks the field values on EnableUserRequest 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 EnableUserRequestMultiError, or nil if none found.
type EnableUserRequestMultiError ¶
type EnableUserRequestMultiError []error
EnableUserRequestMultiError is an error wrapping multiple validation errors returned by EnableUserRequest.ValidateAll() if the designated constraints aren't met.
func (EnableUserRequestMultiError) AllErrors ¶
func (m EnableUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableUserRequestMultiError) Error ¶
func (m EnableUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableUserRequestValidationError ¶
type EnableUserRequestValidationError struct {
// contains filtered or unexported fields
}
EnableUserRequestValidationError is the validation error returned by EnableUserRequest.Validate if the designated constraints aren't met.
func (EnableUserRequestValidationError) Cause ¶
func (e EnableUserRequestValidationError) Cause() error
Cause function returns cause value.
func (EnableUserRequestValidationError) Error ¶
func (e EnableUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EnableUserRequestValidationError) ErrorName ¶
func (e EnableUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EnableUserRequestValidationError) Field ¶
func (e EnableUserRequestValidationError) Field() string
Field function returns field value.
func (EnableUserRequestValidationError) Key ¶
func (e EnableUserRequestValidationError) Key() bool
Key function returns key value.
func (EnableUserRequestValidationError) Reason ¶
func (e EnableUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetBaseUserRequest ¶
type GetBaseUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBaseUserRequest) Descriptor
deprecated
func (*GetBaseUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBaseUserRequest.ProtoReflect.Descriptor instead.
func (*GetBaseUserRequest) GetId ¶
func (x *GetBaseUserRequest) GetId() uint32
func (*GetBaseUserRequest) ProtoMessage ¶
func (*GetBaseUserRequest) ProtoMessage()
func (*GetBaseUserRequest) ProtoReflect ¶
func (x *GetBaseUserRequest) ProtoReflect() protoreflect.Message
func (*GetBaseUserRequest) Reset ¶
func (x *GetBaseUserRequest) Reset()
func (*GetBaseUserRequest) String ¶
func (x *GetBaseUserRequest) String() string
func (*GetBaseUserRequest) Validate ¶
func (m *GetBaseUserRequest) Validate() error
Validate checks the field values on GetBaseUserRequest 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 (*GetBaseUserRequest) ValidateAll ¶
func (m *GetBaseUserRequest) ValidateAll() error
ValidateAll checks the field values on GetBaseUserRequest 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 GetBaseUserRequestMultiError, or nil if none found.
type GetBaseUserRequestMultiError ¶
type GetBaseUserRequestMultiError []error
GetBaseUserRequestMultiError is an error wrapping multiple validation errors returned by GetBaseUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetBaseUserRequestMultiError) AllErrors ¶
func (m GetBaseUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBaseUserRequestMultiError) Error ¶
func (m GetBaseUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBaseUserRequestValidationError ¶
type GetBaseUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetBaseUserRequestValidationError is the validation error returned by GetBaseUserRequest.Validate if the designated constraints aren't met.
func (GetBaseUserRequestValidationError) Cause ¶
func (e GetBaseUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBaseUserRequestValidationError) Error ¶
func (e GetBaseUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBaseUserRequestValidationError) ErrorName ¶
func (e GetBaseUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBaseUserRequestValidationError) Field ¶
func (e GetBaseUserRequestValidationError) Field() string
Field function returns field value.
func (GetBaseUserRequestValidationError) Key ¶
func (e GetBaseUserRequestValidationError) Key() bool
Key function returns key value.
func (GetBaseUserRequestValidationError) Reason ¶
func (e GetBaseUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetSimpleUserRequest ¶
type GetSimpleUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSimpleUserRequest) Descriptor
deprecated
func (*GetSimpleUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSimpleUserRequest.ProtoReflect.Descriptor instead.
func (*GetSimpleUserRequest) GetId ¶
func (x *GetSimpleUserRequest) GetId() uint32
func (*GetSimpleUserRequest) ProtoMessage ¶
func (*GetSimpleUserRequest) ProtoMessage()
func (*GetSimpleUserRequest) ProtoReflect ¶
func (x *GetSimpleUserRequest) ProtoReflect() protoreflect.Message
func (*GetSimpleUserRequest) Reset ¶
func (x *GetSimpleUserRequest) Reset()
func (*GetSimpleUserRequest) String ¶
func (x *GetSimpleUserRequest) String() string
func (*GetSimpleUserRequest) Validate ¶
func (m *GetSimpleUserRequest) Validate() error
Validate checks the field values on GetSimpleUserRequest 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 (*GetSimpleUserRequest) ValidateAll ¶
func (m *GetSimpleUserRequest) ValidateAll() error
ValidateAll checks the field values on GetSimpleUserRequest 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 GetSimpleUserRequestMultiError, or nil if none found.
type GetSimpleUserRequestMultiError ¶
type GetSimpleUserRequestMultiError []error
GetSimpleUserRequestMultiError is an error wrapping multiple validation errors returned by GetSimpleUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetSimpleUserRequestMultiError) AllErrors ¶
func (m GetSimpleUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSimpleUserRequestMultiError) Error ¶
func (m GetSimpleUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSimpleUserRequestValidationError ¶
type GetSimpleUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetSimpleUserRequestValidationError is the validation error returned by GetSimpleUserRequest.Validate if the designated constraints aren't met.
func (GetSimpleUserRequestValidationError) Cause ¶
func (e GetSimpleUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSimpleUserRequestValidationError) Error ¶
func (e GetSimpleUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSimpleUserRequestValidationError) ErrorName ¶
func (e GetSimpleUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSimpleUserRequestValidationError) Field ¶
func (e GetSimpleUserRequestValidationError) Field() string
Field function returns field value.
func (GetSimpleUserRequestValidationError) Key ¶
func (e GetSimpleUserRequestValidationError) Key() bool
Key function returns key value.
func (GetSimpleUserRequestValidationError) Reason ¶
func (e GetSimpleUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { // Types that are assignable to Condition: // // *GetUserRequest_Phone // *GetUserRequest_Email // *GetUserRequest_Username // *GetUserRequest_Id Condition isGetUserRequest_Condition `protobuf_oneof:"Condition"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetCondition ¶
func (m *GetUserRequest) GetCondition() isGetUserRequest_Condition
func (*GetUserRequest) GetEmail ¶
func (x *GetUserRequest) GetEmail() string
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() uint32
func (*GetUserRequest) GetPhone ¶
func (x *GetUserRequest) GetPhone() string
func (*GetUserRequest) GetUsername ¶
func (x *GetUserRequest) GetUsername() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest_Email ¶
type GetUserRequest_Email struct {
Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type GetUserRequest_Id ¶
type GetUserRequest_Id struct {
Id uint32 `protobuf:"varint,4,opt,name=id,proto3,oneof"`
}
type GetUserRequest_Phone ¶
type GetUserRequest_Phone struct {
Phone string `protobuf:"bytes,1,opt,name=phone,proto3,oneof"`
}
type GetUserRequest_Username ¶
type GetUserRequest_Username struct {
Username string `protobuf:"bytes,3,opt,name=username,proto3,oneof"`
}
type ImportUserRequest ¶ added in v1.0.4
type ImportUserRequest struct { List []*ImportUserRequestData `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ImportUserRequest) Descriptor
deprecated
added in
v1.0.4
func (*ImportUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportUserRequest.ProtoReflect.Descriptor instead.
func (*ImportUserRequest) GetList ¶ added in v1.0.4
func (x *ImportUserRequest) GetList() []*ImportUserRequestData
func (*ImportUserRequest) ProtoMessage ¶ added in v1.0.4
func (*ImportUserRequest) ProtoMessage()
func (*ImportUserRequest) ProtoReflect ¶ added in v1.0.4
func (x *ImportUserRequest) ProtoReflect() protoreflect.Message
func (*ImportUserRequest) Reset ¶ added in v1.0.4
func (x *ImportUserRequest) Reset()
func (*ImportUserRequest) String ¶ added in v1.0.4
func (x *ImportUserRequest) String() string
func (*ImportUserRequest) Validate ¶ added in v1.0.4
func (m *ImportUserRequest) Validate() error
Validate checks the field values on ImportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImportUserRequest) ValidateAll ¶ added in v1.0.4
func (m *ImportUserRequest) ValidateAll() error
ValidateAll checks the field values on ImportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportUserRequestMultiError, or nil if none found.
type ImportUserRequestData ¶ added in v1.0.4
type ImportUserRequestData struct { Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` RealName *string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3,oneof" json:"real_name,omitempty"` Gender string `protobuf:"bytes,9,opt,name=gender,proto3" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*ImportUserRequestData) Descriptor
deprecated
added in
v1.0.4
func (*ImportUserRequestData) Descriptor() ([]byte, []int)
Deprecated: Use ImportUserRequestData.ProtoReflect.Descriptor instead.
func (*ImportUserRequestData) GetEmail ¶ added in v1.0.4
func (x *ImportUserRequestData) GetEmail() string
func (*ImportUserRequestData) GetGender ¶ added in v1.0.4
func (x *ImportUserRequestData) GetGender() string
func (*ImportUserRequestData) GetPhone ¶ added in v1.0.4
func (x *ImportUserRequestData) GetPhone() string
func (*ImportUserRequestData) GetRealName ¶ added in v1.0.4
func (x *ImportUserRequestData) GetRealName() string
func (*ImportUserRequestData) ProtoMessage ¶ added in v1.0.4
func (*ImportUserRequestData) ProtoMessage()
func (*ImportUserRequestData) ProtoReflect ¶ added in v1.0.4
func (x *ImportUserRequestData) ProtoReflect() protoreflect.Message
func (*ImportUserRequestData) Reset ¶ added in v1.0.4
func (x *ImportUserRequestData) Reset()
func (*ImportUserRequestData) String ¶ added in v1.0.4
func (x *ImportUserRequestData) String() string
func (*ImportUserRequestData) Validate ¶ added in v1.0.4
func (m *ImportUserRequestData) Validate() error
Validate checks the field values on ImportUserRequestData 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 (*ImportUserRequestData) ValidateAll ¶ added in v1.0.4
func (m *ImportUserRequestData) ValidateAll() error
ValidateAll checks the field values on ImportUserRequestData 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 ImportUserRequestDataMultiError, or nil if none found.
type ImportUserRequestDataMultiError ¶ added in v1.0.4
type ImportUserRequestDataMultiError []error
ImportUserRequestDataMultiError is an error wrapping multiple validation errors returned by ImportUserRequestData.ValidateAll() if the designated constraints aren't met.
func (ImportUserRequestDataMultiError) AllErrors ¶ added in v1.0.4
func (m ImportUserRequestDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportUserRequestDataMultiError) Error ¶ added in v1.0.4
func (m ImportUserRequestDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportUserRequestDataValidationError ¶ added in v1.0.4
type ImportUserRequestDataValidationError struct {
// contains filtered or unexported fields
}
ImportUserRequestDataValidationError is the validation error returned by ImportUserRequestData.Validate if the designated constraints aren't met.
func (ImportUserRequestDataValidationError) Cause ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) Cause() error
Cause function returns cause value.
func (ImportUserRequestDataValidationError) Error ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) Error() string
Error satisfies the builtin error interface
func (ImportUserRequestDataValidationError) ErrorName ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) ErrorName() string
ErrorName returns error name.
func (ImportUserRequestDataValidationError) Field ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) Field() string
Field function returns field value.
func (ImportUserRequestDataValidationError) Key ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) Key() bool
Key function returns key value.
func (ImportUserRequestDataValidationError) Reason ¶ added in v1.0.4
func (e ImportUserRequestDataValidationError) Reason() string
Reason function returns reason value.
type ImportUserRequestMultiError ¶ added in v1.0.4
type ImportUserRequestMultiError []error
ImportUserRequestMultiError is an error wrapping multiple validation errors returned by ImportUserRequest.ValidateAll() if the designated constraints aren't met.
func (ImportUserRequestMultiError) AllErrors ¶ added in v1.0.4
func (m ImportUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportUserRequestMultiError) Error ¶ added in v1.0.4
func (m ImportUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportUserRequestValidationError ¶ added in v1.0.4
type ImportUserRequestValidationError struct {
// contains filtered or unexported fields
}
ImportUserRequestValidationError is the validation error returned by ImportUserRequest.Validate if the designated constraints aren't met.
func (ImportUserRequestValidationError) Cause ¶ added in v1.0.4
func (e ImportUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ImportUserRequestValidationError) Error ¶ added in v1.0.4
func (e ImportUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ImportUserRequestValidationError) ErrorName ¶ added in v1.0.4
func (e ImportUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ImportUserRequestValidationError) Field ¶ added in v1.0.4
func (e ImportUserRequestValidationError) Field() string
Field function returns field value.
func (ImportUserRequestValidationError) Key ¶ added in v1.0.4
func (e ImportUserRequestValidationError) Key() bool
Key function returns key value.
func (ImportUserRequestValidationError) Reason ¶ added in v1.0.4
func (e ImportUserRequestValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
func (*LoginReply) GetToken ¶
func (x *LoginReply) GetToken() string
func (*LoginReply) ProtoMessage ¶
func (*LoginReply) ProtoMessage()
func (*LoginReply) ProtoReflect ¶
func (x *LoginReply) ProtoReflect() protoreflect.Message
func (*LoginReply) Reset ¶
func (x *LoginReply) Reset()
func (*LoginReply) String ¶
func (x *LoginReply) String() string
func (*LoginReply) Validate ¶
func (m *LoginReply) Validate() error
Validate checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginReply) ValidateAll ¶
func (m *LoginReply) ValidateAll() error
ValidateAll checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginReplyMultiError, or nil if none found.
type LoginReplyMultiError ¶
type LoginReplyMultiError []error
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
func (LoginReplyMultiError) AllErrors ¶
func (m LoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginReplyMultiError) Error ¶
func (m LoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginReplyValidationError ¶
type LoginReplyValidationError struct {
// contains filtered or unexported fields
}
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
func (LoginReplyValidationError) Cause ¶
func (e LoginReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginReplyValidationError) Error ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
Key function returns key value.
func (LoginReplyValidationError) Reason ¶
func (e LoginReplyValidationError) Reason() string
Reason function returns reason value.
type OAuthBindByCaptchaRequest ¶
type OAuthBindByCaptchaRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*OAuthBindByCaptchaRequest) Descriptor
deprecated
func (*OAuthBindByCaptchaRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthBindByCaptchaRequest.ProtoReflect.Descriptor instead.
func (*OAuthBindByCaptchaRequest) GetApp ¶
func (x *OAuthBindByCaptchaRequest) GetApp() string
func (*OAuthBindByCaptchaRequest) GetCaptcha ¶
func (x *OAuthBindByCaptchaRequest) GetCaptcha() string
func (*OAuthBindByCaptchaRequest) GetCaptchaId ¶
func (x *OAuthBindByCaptchaRequest) GetCaptchaId() string
func (*OAuthBindByCaptchaRequest) GetCode ¶
func (x *OAuthBindByCaptchaRequest) GetCode() string
func (*OAuthBindByCaptchaRequest) GetPlatform ¶
func (x *OAuthBindByCaptchaRequest) GetPlatform() string
func (*OAuthBindByCaptchaRequest) GetUsername ¶
func (x *OAuthBindByCaptchaRequest) GetUsername() string
func (*OAuthBindByCaptchaRequest) ProtoMessage ¶
func (*OAuthBindByCaptchaRequest) ProtoMessage()
func (*OAuthBindByCaptchaRequest) ProtoReflect ¶
func (x *OAuthBindByCaptchaRequest) ProtoReflect() protoreflect.Message
func (*OAuthBindByCaptchaRequest) Reset ¶
func (x *OAuthBindByCaptchaRequest) Reset()
func (*OAuthBindByCaptchaRequest) String ¶
func (x *OAuthBindByCaptchaRequest) String() string
func (*OAuthBindByCaptchaRequest) Validate ¶
func (m *OAuthBindByCaptchaRequest) Validate() error
Validate checks the field values on OAuthBindByCaptchaRequest 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 (*OAuthBindByCaptchaRequest) ValidateAll ¶
func (m *OAuthBindByCaptchaRequest) ValidateAll() error
ValidateAll checks the field values on OAuthBindByCaptchaRequest 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 OAuthBindByCaptchaRequestMultiError, or nil if none found.
type OAuthBindByCaptchaRequestMultiError ¶
type OAuthBindByCaptchaRequestMultiError []error
OAuthBindByCaptchaRequestMultiError is an error wrapping multiple validation errors returned by OAuthBindByCaptchaRequest.ValidateAll() if the designated constraints aren't met.
func (OAuthBindByCaptchaRequestMultiError) AllErrors ¶
func (m OAuthBindByCaptchaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthBindByCaptchaRequestMultiError) Error ¶
func (m OAuthBindByCaptchaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthBindByCaptchaRequestValidationError ¶
type OAuthBindByCaptchaRequestValidationError struct {
// contains filtered or unexported fields
}
OAuthBindByCaptchaRequestValidationError is the validation error returned by OAuthBindByCaptchaRequest.Validate if the designated constraints aren't met.
func (OAuthBindByCaptchaRequestValidationError) Cause ¶
func (e OAuthBindByCaptchaRequestValidationError) Cause() error
Cause function returns cause value.
func (OAuthBindByCaptchaRequestValidationError) Error ¶
func (e OAuthBindByCaptchaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthBindByCaptchaRequestValidationError) ErrorName ¶
func (e OAuthBindByCaptchaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthBindByCaptchaRequestValidationError) Field ¶
func (e OAuthBindByCaptchaRequestValidationError) Field() string
Field function returns field value.
func (OAuthBindByCaptchaRequestValidationError) Key ¶
func (e OAuthBindByCaptchaRequestValidationError) Key() bool
Key function returns key value.
func (OAuthBindByCaptchaRequestValidationError) Reason ¶
func (e OAuthBindByCaptchaRequestValidationError) Reason() string
Reason function returns reason value.
type OAuthBindByPasswordRequest ¶
type OAuthBindByPasswordRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*OAuthBindByPasswordRequest) Descriptor
deprecated
func (*OAuthBindByPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthBindByPasswordRequest.ProtoReflect.Descriptor instead.
func (*OAuthBindByPasswordRequest) GetApp ¶
func (x *OAuthBindByPasswordRequest) GetApp() string
func (*OAuthBindByPasswordRequest) GetCaptcha ¶
func (x *OAuthBindByPasswordRequest) GetCaptcha() string
func (*OAuthBindByPasswordRequest) GetCaptchaId ¶
func (x *OAuthBindByPasswordRequest) GetCaptchaId() string
func (*OAuthBindByPasswordRequest) GetCode ¶
func (x *OAuthBindByPasswordRequest) GetCode() string
func (*OAuthBindByPasswordRequest) GetPassword ¶
func (x *OAuthBindByPasswordRequest) GetPassword() string
func (*OAuthBindByPasswordRequest) GetPlatform ¶
func (x *OAuthBindByPasswordRequest) GetPlatform() string
func (*OAuthBindByPasswordRequest) GetUsername ¶
func (x *OAuthBindByPasswordRequest) GetUsername() string
func (*OAuthBindByPasswordRequest) ProtoMessage ¶
func (*OAuthBindByPasswordRequest) ProtoMessage()
func (*OAuthBindByPasswordRequest) ProtoReflect ¶
func (x *OAuthBindByPasswordRequest) ProtoReflect() protoreflect.Message
func (*OAuthBindByPasswordRequest) Reset ¶
func (x *OAuthBindByPasswordRequest) Reset()
func (*OAuthBindByPasswordRequest) String ¶
func (x *OAuthBindByPasswordRequest) String() string
func (*OAuthBindByPasswordRequest) Validate ¶
func (m *OAuthBindByPasswordRequest) Validate() error
Validate checks the field values on OAuthBindByPasswordRequest 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 (*OAuthBindByPasswordRequest) ValidateAll ¶
func (m *OAuthBindByPasswordRequest) ValidateAll() error
ValidateAll checks the field values on OAuthBindByPasswordRequest 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 OAuthBindByPasswordRequestMultiError, or nil if none found.
type OAuthBindByPasswordRequestMultiError ¶
type OAuthBindByPasswordRequestMultiError []error
OAuthBindByPasswordRequestMultiError is an error wrapping multiple validation errors returned by OAuthBindByPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (OAuthBindByPasswordRequestMultiError) AllErrors ¶
func (m OAuthBindByPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthBindByPasswordRequestMultiError) Error ¶
func (m OAuthBindByPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthBindByPasswordRequestValidationError ¶
type OAuthBindByPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
OAuthBindByPasswordRequestValidationError is the validation error returned by OAuthBindByPasswordRequest.Validate if the designated constraints aren't met.
func (OAuthBindByPasswordRequestValidationError) Cause ¶
func (e OAuthBindByPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (OAuthBindByPasswordRequestValidationError) Error ¶
func (e OAuthBindByPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthBindByPasswordRequestValidationError) ErrorName ¶
func (e OAuthBindByPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthBindByPasswordRequestValidationError) Field ¶
func (e OAuthBindByPasswordRequestValidationError) Field() string
Field function returns field value.
func (OAuthBindByPasswordRequestValidationError) Key ¶
func (e OAuthBindByPasswordRequestValidationError) Key() bool
Key function returns key value.
func (OAuthBindByPasswordRequestValidationError) Reason ¶
func (e OAuthBindByPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type OAuthBindEmailCaptchaRequest ¶
type OAuthBindEmailCaptchaRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*OAuthBindEmailCaptchaRequest) Descriptor
deprecated
func (*OAuthBindEmailCaptchaRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthBindEmailCaptchaRequest.ProtoReflect.Descriptor instead.
func (*OAuthBindEmailCaptchaRequest) GetEmail ¶
func (x *OAuthBindEmailCaptchaRequest) GetEmail() string
func (*OAuthBindEmailCaptchaRequest) ProtoMessage ¶
func (*OAuthBindEmailCaptchaRequest) ProtoMessage()
func (*OAuthBindEmailCaptchaRequest) ProtoReflect ¶
func (x *OAuthBindEmailCaptchaRequest) ProtoReflect() protoreflect.Message
func (*OAuthBindEmailCaptchaRequest) Reset ¶
func (x *OAuthBindEmailCaptchaRequest) Reset()
func (*OAuthBindEmailCaptchaRequest) String ¶
func (x *OAuthBindEmailCaptchaRequest) String() string
func (*OAuthBindEmailCaptchaRequest) Validate ¶
func (m *OAuthBindEmailCaptchaRequest) Validate() error
Validate checks the field values on OAuthBindEmailCaptchaRequest 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 (*OAuthBindEmailCaptchaRequest) ValidateAll ¶
func (m *OAuthBindEmailCaptchaRequest) ValidateAll() error
ValidateAll checks the field values on OAuthBindEmailCaptchaRequest 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 OAuthBindEmailCaptchaRequestMultiError, or nil if none found.
type OAuthBindEmailCaptchaRequestMultiError ¶
type OAuthBindEmailCaptchaRequestMultiError []error
OAuthBindEmailCaptchaRequestMultiError is an error wrapping multiple validation errors returned by OAuthBindEmailCaptchaRequest.ValidateAll() if the designated constraints aren't met.
func (OAuthBindEmailCaptchaRequestMultiError) AllErrors ¶
func (m OAuthBindEmailCaptchaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthBindEmailCaptchaRequestMultiError) Error ¶
func (m OAuthBindEmailCaptchaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthBindEmailCaptchaRequestValidationError ¶
type OAuthBindEmailCaptchaRequestValidationError struct {
// contains filtered or unexported fields
}
OAuthBindEmailCaptchaRequestValidationError is the validation error returned by OAuthBindEmailCaptchaRequest.Validate if the designated constraints aren't met.
func (OAuthBindEmailCaptchaRequestValidationError) Cause ¶
func (e OAuthBindEmailCaptchaRequestValidationError) Cause() error
Cause function returns cause value.
func (OAuthBindEmailCaptchaRequestValidationError) Error ¶
func (e OAuthBindEmailCaptchaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthBindEmailCaptchaRequestValidationError) ErrorName ¶
func (e OAuthBindEmailCaptchaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthBindEmailCaptchaRequestValidationError) Field ¶
func (e OAuthBindEmailCaptchaRequestValidationError) Field() string
Field function returns field value.
func (OAuthBindEmailCaptchaRequestValidationError) Key ¶
func (e OAuthBindEmailCaptchaRequestValidationError) Key() bool
Key function returns key value.
func (OAuthBindEmailCaptchaRequestValidationError) Reason ¶
func (e OAuthBindEmailCaptchaRequestValidationError) Reason() string
Reason function returns reason value.
type OAuthLoginRequest ¶
type OAuthLoginRequest struct { App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*OAuthLoginRequest) Descriptor
deprecated
func (*OAuthLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthLoginRequest.ProtoReflect.Descriptor instead.
func (*OAuthLoginRequest) GetApp ¶
func (x *OAuthLoginRequest) GetApp() string
func (*OAuthLoginRequest) GetCode ¶
func (x *OAuthLoginRequest) GetCode() string
func (*OAuthLoginRequest) GetPlatform ¶
func (x *OAuthLoginRequest) GetPlatform() string
func (*OAuthLoginRequest) ProtoMessage ¶
func (*OAuthLoginRequest) ProtoMessage()
func (*OAuthLoginRequest) ProtoReflect ¶
func (x *OAuthLoginRequest) ProtoReflect() protoreflect.Message
func (*OAuthLoginRequest) Reset ¶
func (x *OAuthLoginRequest) Reset()
func (*OAuthLoginRequest) String ¶
func (x *OAuthLoginRequest) String() string
func (*OAuthLoginRequest) Validate ¶
func (m *OAuthLoginRequest) Validate() error
Validate checks the field values on OAuthLoginRequest 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 (*OAuthLoginRequest) ValidateAll ¶
func (m *OAuthLoginRequest) ValidateAll() error
ValidateAll checks the field values on OAuthLoginRequest 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 OAuthLoginRequestMultiError, or nil if none found.
type OAuthLoginRequestMultiError ¶
type OAuthLoginRequestMultiError []error
OAuthLoginRequestMultiError is an error wrapping multiple validation errors returned by OAuthLoginRequest.ValidateAll() if the designated constraints aren't met.
func (OAuthLoginRequestMultiError) AllErrors ¶
func (m OAuthLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthLoginRequestMultiError) Error ¶
func (m OAuthLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthLoginRequestValidationError ¶
type OAuthLoginRequestValidationError struct {
// contains filtered or unexported fields
}
OAuthLoginRequestValidationError is the validation error returned by OAuthLoginRequest.Validate if the designated constraints aren't met.
func (OAuthLoginRequestValidationError) Cause ¶
func (e OAuthLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (OAuthLoginRequestValidationError) Error ¶
func (e OAuthLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthLoginRequestValidationError) ErrorName ¶
func (e OAuthLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthLoginRequestValidationError) Field ¶
func (e OAuthLoginRequestValidationError) Field() string
Field function returns field value.
func (OAuthLoginRequestValidationError) Key ¶
func (e OAuthLoginRequestValidationError) Key() bool
Key function returns key value.
func (OAuthLoginRequestValidationError) Reason ¶
func (e OAuthLoginRequestValidationError) Reason() string
Reason function returns reason value.
type OfflineUserRequest ¶
type OfflineUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*OfflineUserRequest) Descriptor
deprecated
func (*OfflineUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use OfflineUserRequest.ProtoReflect.Descriptor instead.
func (*OfflineUserRequest) GetId ¶
func (x *OfflineUserRequest) GetId() uint32
func (*OfflineUserRequest) ProtoMessage ¶
func (*OfflineUserRequest) ProtoMessage()
func (*OfflineUserRequest) ProtoReflect ¶
func (x *OfflineUserRequest) ProtoReflect() protoreflect.Message
func (*OfflineUserRequest) Reset ¶
func (x *OfflineUserRequest) Reset()
func (*OfflineUserRequest) String ¶
func (x *OfflineUserRequest) String() string
func (*OfflineUserRequest) Validate ¶
func (m *OfflineUserRequest) Validate() error
Validate checks the field values on OfflineUserRequest 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 (*OfflineUserRequest) ValidateAll ¶
func (m *OfflineUserRequest) ValidateAll() error
ValidateAll checks the field values on OfflineUserRequest 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 OfflineUserRequestMultiError, or nil if none found.
type OfflineUserRequestMultiError ¶
type OfflineUserRequestMultiError []error
OfflineUserRequestMultiError is an error wrapping multiple validation errors returned by OfflineUserRequest.ValidateAll() if the designated constraints aren't met.
func (OfflineUserRequestMultiError) AllErrors ¶
func (m OfflineUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OfflineUserRequestMultiError) Error ¶
func (m OfflineUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OfflineUserRequestValidationError ¶
type OfflineUserRequestValidationError struct {
// contains filtered or unexported fields
}
OfflineUserRequestValidationError is the validation error returned by OfflineUserRequest.Validate if the designated constraints aren't met.
func (OfflineUserRequestValidationError) Cause ¶
func (e OfflineUserRequestValidationError) Cause() error
Cause function returns cause value.
func (OfflineUserRequestValidationError) Error ¶
func (e OfflineUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OfflineUserRequestValidationError) ErrorName ¶
func (e OfflineUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OfflineUserRequestValidationError) Field ¶
func (e OfflineUserRequestValidationError) Field() string
Field function returns field value.
func (OfflineUserRequestValidationError) Key ¶
func (e OfflineUserRequestValidationError) Key() bool
Key function returns key value.
func (OfflineUserRequestValidationError) Reason ¶
func (e OfflineUserRequestValidationError) Reason() string
Reason function returns reason value.
type PageUserReply ¶
type PageUserReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageUserReply) Descriptor
deprecated
func (*PageUserReply) Descriptor() ([]byte, []int)
Deprecated: Use PageUserReply.ProtoReflect.Descriptor instead.
func (*PageUserReply) GetList ¶
func (x *PageUserReply) GetList() []*User
func (*PageUserReply) GetTotal ¶
func (x *PageUserReply) GetTotal() uint32
func (*PageUserReply) ProtoMessage ¶
func (*PageUserReply) ProtoMessage()
func (*PageUserReply) ProtoReflect ¶
func (x *PageUserReply) ProtoReflect() protoreflect.Message
func (*PageUserReply) Reset ¶
func (x *PageUserReply) Reset()
func (*PageUserReply) String ¶
func (x *PageUserReply) String() string
func (*PageUserReply) Validate ¶
func (m *PageUserReply) Validate() error
Validate checks the field values on PageUserReply 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 (*PageUserReply) ValidateAll ¶
func (m *PageUserReply) ValidateAll() error
ValidateAll checks the field values on PageUserReply 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 PageUserReplyMultiError, or nil if none found.
type PageUserReplyMultiError ¶
type PageUserReplyMultiError []error
PageUserReplyMultiError is an error wrapping multiple validation errors returned by PageUserReply.ValidateAll() if the designated constraints aren't met.
func (PageUserReplyMultiError) AllErrors ¶
func (m PageUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageUserReplyMultiError) Error ¶
func (m PageUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageUserReplyValidationError ¶
type PageUserReplyValidationError struct {
// contains filtered or unexported fields
}
PageUserReplyValidationError is the validation error returned by PageUserReply.Validate if the designated constraints aren't met.
func (PageUserReplyValidationError) Cause ¶
func (e PageUserReplyValidationError) Cause() error
Cause function returns cause value.
func (PageUserReplyValidationError) Error ¶
func (e PageUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageUserReplyValidationError) ErrorName ¶
func (e PageUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageUserReplyValidationError) Field ¶
func (e PageUserReplyValidationError) Field() string
Field function returns field value.
func (PageUserReplyValidationError) Key ¶
func (e PageUserReplyValidationError) Key() bool
Key function returns key value.
func (PageUserReplyValidationError) Reason ¶
func (e PageUserReplyValidationError) Reason() string
Reason function returns reason value.
type PageUserRequest ¶
type PageUserRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` App *string `protobuf:"bytes,3,opt,name=app,proto3,oneof" json:"app,omitempty"` Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"` Phone *string `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"` InIds []uint32 `protobuf:"varint,7,rep,packed,name=in_ids,json=inIds,proto3" json:"in_ids,omitempty"` NotInIds []uint32 `protobuf:"varint,8,rep,packed,name=not_in_ids,json=notInIds,proto3" json:"not_in_ids,omitempty"` // contains filtered or unexported fields }
func (*PageUserRequest) Descriptor
deprecated
func (*PageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageUserRequest.ProtoReflect.Descriptor instead.
func (*PageUserRequest) GetApp ¶
func (x *PageUserRequest) GetApp() string
func (*PageUserRequest) GetEmail ¶
func (x *PageUserRequest) GetEmail() string
func (*PageUserRequest) GetInIds ¶
func (x *PageUserRequest) GetInIds() []uint32
func (*PageUserRequest) GetNotInIds ¶
func (x *PageUserRequest) GetNotInIds() []uint32
func (*PageUserRequest) GetPage ¶
func (x *PageUserRequest) GetPage() uint32
func (*PageUserRequest) GetPageSize ¶
func (x *PageUserRequest) GetPageSize() uint32
func (*PageUserRequest) GetPhone ¶
func (x *PageUserRequest) GetPhone() string
func (*PageUserRequest) GetUsername ¶
func (x *PageUserRequest) GetUsername() string
func (*PageUserRequest) ProtoMessage ¶
func (*PageUserRequest) ProtoMessage()
func (*PageUserRequest) ProtoReflect ¶
func (x *PageUserRequest) ProtoReflect() protoreflect.Message
func (*PageUserRequest) Reset ¶
func (x *PageUserRequest) Reset()
func (*PageUserRequest) String ¶
func (x *PageUserRequest) String() string
func (*PageUserRequest) Validate ¶
func (m *PageUserRequest) Validate() error
Validate checks the field values on PageUserRequest 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 (*PageUserRequest) ValidateAll ¶
func (m *PageUserRequest) ValidateAll() error
ValidateAll checks the field values on PageUserRequest 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 PageUserRequestMultiError, or nil if none found.
type PageUserRequestMultiError ¶
type PageUserRequestMultiError []error
PageUserRequestMultiError is an error wrapping multiple validation errors returned by PageUserRequest.ValidateAll() if the designated constraints aren't met.
func (PageUserRequestMultiError) AllErrors ¶
func (m PageUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageUserRequestMultiError) Error ¶
func (m PageUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageUserRequestValidationError ¶
type PageUserRequestValidationError struct {
// contains filtered or unexported fields
}
PageUserRequestValidationError is the validation error returned by PageUserRequest.Validate if the designated constraints aren't met.
func (PageUserRequestValidationError) Cause ¶
func (e PageUserRequestValidationError) Cause() error
Cause function returns cause value.
func (PageUserRequestValidationError) Error ¶
func (e PageUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageUserRequestValidationError) ErrorName ¶
func (e PageUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageUserRequestValidationError) Field ¶
func (e PageUserRequestValidationError) Field() string
Field function returns field value.
func (PageUserRequestValidationError) Key ¶
func (e PageUserRequestValidationError) Key() bool
Key function returns key value.
func (PageUserRequestValidationError) Reason ¶
func (e PageUserRequestValidationError) Reason() string
Reason function returns reason value.
type ParseTokenReply ¶
type ParseTokenReply struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AppId uint32 `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` AppKeyword string `protobuf:"bytes,4,opt,name=app_keyword,json=appKeyword,proto3" json:"app_keyword,omitempty"` // contains filtered or unexported fields }
func (*ParseTokenReply) Descriptor
deprecated
func (*ParseTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use ParseTokenReply.ProtoReflect.Descriptor instead.
func (*ParseTokenReply) GetAppId ¶
func (x *ParseTokenReply) GetAppId() uint32
func (*ParseTokenReply) GetAppKeyword ¶
func (x *ParseTokenReply) GetAppKeyword() string
func (*ParseTokenReply) GetChannelId ¶
func (x *ParseTokenReply) GetChannelId() uint32
func (*ParseTokenReply) GetUserId ¶
func (x *ParseTokenReply) GetUserId() uint32
func (*ParseTokenReply) ProtoMessage ¶
func (*ParseTokenReply) ProtoMessage()
func (*ParseTokenReply) ProtoReflect ¶
func (x *ParseTokenReply) ProtoReflect() protoreflect.Message
func (*ParseTokenReply) Reset ¶
func (x *ParseTokenReply) Reset()
func (*ParseTokenReply) String ¶
func (x *ParseTokenReply) String() string
func (*ParseTokenReply) Validate ¶
func (m *ParseTokenReply) Validate() error
Validate checks the field values on ParseTokenReply 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 (*ParseTokenReply) ValidateAll ¶
func (m *ParseTokenReply) ValidateAll() error
ValidateAll checks the field values on ParseTokenReply 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 ParseTokenReplyMultiError, or nil if none found.
type ParseTokenReplyMultiError ¶
type ParseTokenReplyMultiError []error
ParseTokenReplyMultiError is an error wrapping multiple validation errors returned by ParseTokenReply.ValidateAll() if the designated constraints aren't met.
func (ParseTokenReplyMultiError) AllErrors ¶
func (m ParseTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseTokenReplyMultiError) Error ¶
func (m ParseTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseTokenReplyValidationError ¶
type ParseTokenReplyValidationError struct {
// contains filtered or unexported fields
}
ParseTokenReplyValidationError is the validation error returned by ParseTokenReply.Validate if the designated constraints aren't met.
func (ParseTokenReplyValidationError) Cause ¶
func (e ParseTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (ParseTokenReplyValidationError) Error ¶
func (e ParseTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ParseTokenReplyValidationError) ErrorName ¶
func (e ParseTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ParseTokenReplyValidationError) Field ¶
func (e ParseTokenReplyValidationError) Field() string
Field function returns field value.
func (ParseTokenReplyValidationError) Key ¶
func (e ParseTokenReplyValidationError) Key() bool
Key function returns key value.
func (ParseTokenReplyValidationError) Reason ¶
func (e ParseTokenReplyValidationError) Reason() string
Reason function returns reason value.
type PasswordLoginRequest ¶
type PasswordLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*PasswordLoginRequest) Descriptor
deprecated
func (*PasswordLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordLoginRequest.ProtoReflect.Descriptor instead.
func (*PasswordLoginRequest) GetApp ¶
func (x *PasswordLoginRequest) GetApp() string
func (*PasswordLoginRequest) GetCaptcha ¶
func (x *PasswordLoginRequest) GetCaptcha() string
func (*PasswordLoginRequest) GetCaptchaId ¶
func (x *PasswordLoginRequest) GetCaptchaId() string
func (*PasswordLoginRequest) GetPassword ¶
func (x *PasswordLoginRequest) GetPassword() string
func (*PasswordLoginRequest) GetUsername ¶
func (x *PasswordLoginRequest) GetUsername() string
func (*PasswordLoginRequest) ProtoMessage ¶
func (*PasswordLoginRequest) ProtoMessage()
func (*PasswordLoginRequest) ProtoReflect ¶
func (x *PasswordLoginRequest) ProtoReflect() protoreflect.Message
func (*PasswordLoginRequest) Reset ¶
func (x *PasswordLoginRequest) Reset()
func (*PasswordLoginRequest) String ¶
func (x *PasswordLoginRequest) String() string
func (*PasswordLoginRequest) Validate ¶
func (m *PasswordLoginRequest) Validate() error
Validate checks the field values on PasswordLoginRequest 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 (*PasswordLoginRequest) ValidateAll ¶
func (m *PasswordLoginRequest) ValidateAll() error
ValidateAll checks the field values on PasswordLoginRequest 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 PasswordLoginRequestMultiError, or nil if none found.
type PasswordLoginRequestMultiError ¶
type PasswordLoginRequestMultiError []error
PasswordLoginRequestMultiError is an error wrapping multiple validation errors returned by PasswordLoginRequest.ValidateAll() if the designated constraints aren't met.
func (PasswordLoginRequestMultiError) AllErrors ¶
func (m PasswordLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordLoginRequestMultiError) Error ¶
func (m PasswordLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordLoginRequestValidationError ¶
type PasswordLoginRequestValidationError struct {
// contains filtered or unexported fields
}
PasswordLoginRequestValidationError is the validation error returned by PasswordLoginRequest.Validate if the designated constraints aren't met.
func (PasswordLoginRequestValidationError) Cause ¶
func (e PasswordLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (PasswordLoginRequestValidationError) Error ¶
func (e PasswordLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordLoginRequestValidationError) ErrorName ¶
func (e PasswordLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordLoginRequestValidationError) Field ¶
func (e PasswordLoginRequestValidationError) Field() string
Field function returns field value.
func (PasswordLoginRequestValidationError) Key ¶
func (e PasswordLoginRequestValidationError) Key() bool
Key function returns key value.
func (PasswordLoginRequestValidationError) Reason ¶
func (e PasswordLoginRequestValidationError) Reason() string
Reason function returns reason value.
type PasswordRegisterCheckReply ¶
type PasswordRegisterCheckReply struct { Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"` // contains filtered or unexported fields }
func (*PasswordRegisterCheckReply) Descriptor
deprecated
func (*PasswordRegisterCheckReply) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRegisterCheckReply.ProtoReflect.Descriptor instead.
func (*PasswordRegisterCheckReply) GetAllow ¶
func (x *PasswordRegisterCheckReply) GetAllow() bool
func (*PasswordRegisterCheckReply) ProtoMessage ¶
func (*PasswordRegisterCheckReply) ProtoMessage()
func (*PasswordRegisterCheckReply) ProtoReflect ¶
func (x *PasswordRegisterCheckReply) ProtoReflect() protoreflect.Message
func (*PasswordRegisterCheckReply) Reset ¶
func (x *PasswordRegisterCheckReply) Reset()
func (*PasswordRegisterCheckReply) String ¶
func (x *PasswordRegisterCheckReply) String() string
func (*PasswordRegisterCheckReply) Validate ¶
func (m *PasswordRegisterCheckReply) Validate() error
Validate checks the field values on PasswordRegisterCheckReply 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 (*PasswordRegisterCheckReply) ValidateAll ¶
func (m *PasswordRegisterCheckReply) ValidateAll() error
ValidateAll checks the field values on PasswordRegisterCheckReply 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 PasswordRegisterCheckReplyMultiError, or nil if none found.
type PasswordRegisterCheckReplyMultiError ¶
type PasswordRegisterCheckReplyMultiError []error
PasswordRegisterCheckReplyMultiError is an error wrapping multiple validation errors returned by PasswordRegisterCheckReply.ValidateAll() if the designated constraints aren't met.
func (PasswordRegisterCheckReplyMultiError) AllErrors ¶
func (m PasswordRegisterCheckReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordRegisterCheckReplyMultiError) Error ¶
func (m PasswordRegisterCheckReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordRegisterCheckReplyValidationError ¶
type PasswordRegisterCheckReplyValidationError struct {
// contains filtered or unexported fields
}
PasswordRegisterCheckReplyValidationError is the validation error returned by PasswordRegisterCheckReply.Validate if the designated constraints aren't met.
func (PasswordRegisterCheckReplyValidationError) Cause ¶
func (e PasswordRegisterCheckReplyValidationError) Cause() error
Cause function returns cause value.
func (PasswordRegisterCheckReplyValidationError) Error ¶
func (e PasswordRegisterCheckReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordRegisterCheckReplyValidationError) ErrorName ¶
func (e PasswordRegisterCheckReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordRegisterCheckReplyValidationError) Field ¶
func (e PasswordRegisterCheckReplyValidationError) Field() string
Field function returns field value.
func (PasswordRegisterCheckReplyValidationError) Key ¶
func (e PasswordRegisterCheckReplyValidationError) Key() bool
Key function returns key value.
func (PasswordRegisterCheckReplyValidationError) Reason ¶
func (e PasswordRegisterCheckReplyValidationError) Reason() string
Reason function returns reason value.
type PasswordRegisterCheckRequest ¶
type PasswordRegisterCheckRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*PasswordRegisterCheckRequest) Descriptor
deprecated
func (*PasswordRegisterCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRegisterCheckRequest.ProtoReflect.Descriptor instead.
func (*PasswordRegisterCheckRequest) GetUsername ¶
func (x *PasswordRegisterCheckRequest) GetUsername() string
func (*PasswordRegisterCheckRequest) ProtoMessage ¶
func (*PasswordRegisterCheckRequest) ProtoMessage()
func (*PasswordRegisterCheckRequest) ProtoReflect ¶
func (x *PasswordRegisterCheckRequest) ProtoReflect() protoreflect.Message
func (*PasswordRegisterCheckRequest) Reset ¶
func (x *PasswordRegisterCheckRequest) Reset()
func (*PasswordRegisterCheckRequest) String ¶
func (x *PasswordRegisterCheckRequest) String() string
func (*PasswordRegisterCheckRequest) Validate ¶
func (m *PasswordRegisterCheckRequest) Validate() error
Validate checks the field values on PasswordRegisterCheckRequest 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 (*PasswordRegisterCheckRequest) ValidateAll ¶
func (m *PasswordRegisterCheckRequest) ValidateAll() error
ValidateAll checks the field values on PasswordRegisterCheckRequest 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 PasswordRegisterCheckRequestMultiError, or nil if none found.
type PasswordRegisterCheckRequestMultiError ¶
type PasswordRegisterCheckRequestMultiError []error
PasswordRegisterCheckRequestMultiError is an error wrapping multiple validation errors returned by PasswordRegisterCheckRequest.ValidateAll() if the designated constraints aren't met.
func (PasswordRegisterCheckRequestMultiError) AllErrors ¶
func (m PasswordRegisterCheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordRegisterCheckRequestMultiError) Error ¶
func (m PasswordRegisterCheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordRegisterCheckRequestValidationError ¶
type PasswordRegisterCheckRequestValidationError struct {
// contains filtered or unexported fields
}
PasswordRegisterCheckRequestValidationError is the validation error returned by PasswordRegisterCheckRequest.Validate if the designated constraints aren't met.
func (PasswordRegisterCheckRequestValidationError) Cause ¶
func (e PasswordRegisterCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (PasswordRegisterCheckRequestValidationError) Error ¶
func (e PasswordRegisterCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordRegisterCheckRequestValidationError) ErrorName ¶
func (e PasswordRegisterCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordRegisterCheckRequestValidationError) Field ¶
func (e PasswordRegisterCheckRequestValidationError) Field() string
Field function returns field value.
func (PasswordRegisterCheckRequestValidationError) Key ¶
func (e PasswordRegisterCheckRequestValidationError) Key() bool
Key function returns key value.
func (PasswordRegisterCheckRequestValidationError) Reason ¶
func (e PasswordRegisterCheckRequestValidationError) Reason() string
Reason function returns reason value.
type PasswordRegisterRequest ¶
type PasswordRegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*PasswordRegisterRequest) Descriptor
deprecated
func (*PasswordRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRegisterRequest.ProtoReflect.Descriptor instead.
func (*PasswordRegisterRequest) GetApp ¶
func (x *PasswordRegisterRequest) GetApp() string
func (*PasswordRegisterRequest) GetCaptcha ¶
func (x *PasswordRegisterRequest) GetCaptcha() string
func (*PasswordRegisterRequest) GetCaptchaId ¶
func (x *PasswordRegisterRequest) GetCaptchaId() string
func (*PasswordRegisterRequest) GetPassword ¶
func (x *PasswordRegisterRequest) GetPassword() string
func (*PasswordRegisterRequest) GetUsername ¶
func (x *PasswordRegisterRequest) GetUsername() string
func (*PasswordRegisterRequest) ProtoMessage ¶
func (*PasswordRegisterRequest) ProtoMessage()
func (*PasswordRegisterRequest) ProtoReflect ¶
func (x *PasswordRegisterRequest) ProtoReflect() protoreflect.Message
func (*PasswordRegisterRequest) Reset ¶
func (x *PasswordRegisterRequest) Reset()
func (*PasswordRegisterRequest) String ¶
func (x *PasswordRegisterRequest) String() string
func (*PasswordRegisterRequest) Validate ¶
func (m *PasswordRegisterRequest) Validate() error
Validate checks the field values on PasswordRegisterRequest 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 (*PasswordRegisterRequest) ValidateAll ¶
func (m *PasswordRegisterRequest) ValidateAll() error
ValidateAll checks the field values on PasswordRegisterRequest 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 PasswordRegisterRequestMultiError, or nil if none found.
type PasswordRegisterRequestMultiError ¶
type PasswordRegisterRequestMultiError []error
PasswordRegisterRequestMultiError is an error wrapping multiple validation errors returned by PasswordRegisterRequest.ValidateAll() if the designated constraints aren't met.
func (PasswordRegisterRequestMultiError) AllErrors ¶
func (m PasswordRegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordRegisterRequestMultiError) Error ¶
func (m PasswordRegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordRegisterRequestValidationError ¶
type PasswordRegisterRequestValidationError struct {
// contains filtered or unexported fields
}
PasswordRegisterRequestValidationError is the validation error returned by PasswordRegisterRequest.Validate if the designated constraints aren't met.
func (PasswordRegisterRequestValidationError) Cause ¶
func (e PasswordRegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (PasswordRegisterRequestValidationError) Error ¶
func (e PasswordRegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordRegisterRequestValidationError) ErrorName ¶
func (e PasswordRegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordRegisterRequestValidationError) Field ¶
func (e PasswordRegisterRequestValidationError) Field() string
Field function returns field value.
func (PasswordRegisterRequestValidationError) Key ¶
func (e PasswordRegisterRequestValidationError) Key() bool
Key function returns key value.
func (PasswordRegisterRequestValidationError) Reason ¶
func (e PasswordRegisterRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterReply ¶
type RegisterReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RegisterReply) Descriptor
deprecated
func (*RegisterReply) Descriptor() ([]byte, []int)
Deprecated: Use RegisterReply.ProtoReflect.Descriptor instead.
func (*RegisterReply) GetId ¶
func (x *RegisterReply) GetId() uint32
func (*RegisterReply) GetToken ¶
func (x *RegisterReply) GetToken() string
func (*RegisterReply) ProtoMessage ¶
func (*RegisterReply) ProtoMessage()
func (*RegisterReply) ProtoReflect ¶
func (x *RegisterReply) ProtoReflect() protoreflect.Message
func (*RegisterReply) Reset ¶
func (x *RegisterReply) Reset()
func (*RegisterReply) String ¶
func (x *RegisterReply) String() string
func (*RegisterReply) Validate ¶
func (m *RegisterReply) Validate() error
Validate checks the field values on RegisterReply 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 (*RegisterReply) ValidateAll ¶
func (m *RegisterReply) ValidateAll() error
ValidateAll checks the field values on RegisterReply 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 RegisterReplyMultiError, or nil if none found.
type RegisterReplyMultiError ¶
type RegisterReplyMultiError []error
RegisterReplyMultiError is an error wrapping multiple validation errors returned by RegisterReply.ValidateAll() if the designated constraints aren't met.
func (RegisterReplyMultiError) AllErrors ¶
func (m RegisterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterReplyMultiError) Error ¶
func (m RegisterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterReplyValidationError ¶
type RegisterReplyValidationError struct {
// contains filtered or unexported fields
}
RegisterReplyValidationError is the validation error returned by RegisterReply.Validate if the designated constraints aren't met.
func (RegisterReplyValidationError) Cause ¶
func (e RegisterReplyValidationError) Cause() error
Cause function returns cause value.
func (RegisterReplyValidationError) Error ¶
func (e RegisterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterReplyValidationError) ErrorName ¶
func (e RegisterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterReplyValidationError) Field ¶
func (e RegisterReplyValidationError) Field() string
Field function returns field value.
func (RegisterReplyValidationError) Key ¶
func (e RegisterReplyValidationError) Key() bool
Key function returns key value.
func (RegisterReplyValidationError) Reason ¶
func (e RegisterReplyValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface { GetSimpleUser(ctx context.Context, in *GetSimpleUserRequest, opts ...grpc.CallOption) (*SimpleUser, error) GetBaseUser(ctx context.Context, in *GetBaseUserRequest, opts ...grpc.CallOption) (*BaseUser, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*User, error) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) PageUser(ctx context.Context, in *PageUserRequest, opts ...grpc.CallOption) (*PageUserReply, error) AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*AddUserReply, error) ImportUser(ctx context.Context, in *ImportUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 禁用用户 DisableUser(ctx context.Context, in *DisableUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 启用用户 EnableUser(ctx context.Context, in *EnableUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 下线用户 OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 添加用户应用 AddUserApp(ctx context.Context, in *AddUserAppRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 删除用户应用 DeleteUserApp(ctx context.Context, in *DeleteUserAppRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // 三方授权登录 OAuthLogin(ctx context.Context, in *OAuthLoginRequest, opts ...grpc.CallOption) (*LoginReply, error) // 三方授权绑定-密码 OAuthBindByPassword(ctx context.Context, in *OAuthBindByPasswordRequest, opts ...grpc.CallOption) (*BindReply, error) // 三方授权绑定-验证码 OAuthBindByCaptcha(ctx context.Context, in *OAuthBindByCaptchaRequest, opts ...grpc.CallOption) (*BindReply, error) // 绑定的验证码 OAuthBindImageCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error) OAuthBindEmailCaptcha(ctx context.Context, in *OAuthBindEmailCaptchaRequest, opts ...grpc.CallOption) (*CaptchaReply, error) // 密码登录 PasswordLogin(ctx context.Context, in *PasswordLoginRequest, opts ...grpc.CallOption) (*LoginReply, error) // 密码登录验证码 PasswordLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error) // 密码注册 PasswordRegister(ctx context.Context, in *PasswordRegisterRequest, opts ...grpc.CallOption) (*RegisterReply, error) // 密码注册检测 PasswordRegisterCheck(ctx context.Context, in *PasswordRegisterCheckRequest, opts ...grpc.CallOption) (*PasswordRegisterCheckReply, error) // 注册验证啊 PasswordRegisterCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error) // 验证码登录 CaptchaLogin(ctx context.Context, in *CaptchaLoginRequest, opts ...grpc.CallOption) (*LoginReply, error) // 验证码登录邮件验证码 CaptchaLoginEmail(ctx context.Context, in *CaptchaLoginEmailRequest, opts ...grpc.CallOption) (*CaptchaReply, error) // 验证码注册邮件验证码 CaptchaRegisterEmail(ctx context.Context, in *CaptchaRegisterEmailRequest, opts ...grpc.CallOption) (*CaptchaReply, error) // 验证码注册接口 CaptchaRegister(ctx context.Context, in *CaptchaRegisterRequest, opts ...grpc.CallOption) (*RegisterReply, error) // 解析token信息 ParseToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ParseTokenReply, error) // 刷新token时长 RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LoginReply, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface { AddUser(ctx context.Context, req *AddUserRequest, opts ...http.CallOption) (rsp *AddUserReply, err error) AddUserApp(ctx context.Context, req *AddUserAppRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) CaptchaLogin(ctx context.Context, req *CaptchaLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) CaptchaLoginEmail(ctx context.Context, req *CaptchaLoginEmailRequest, opts ...http.CallOption) (rsp *CaptchaReply, err error) CaptchaRegister(ctx context.Context, req *CaptchaRegisterRequest, opts ...http.CallOption) (rsp *RegisterReply, err error) CaptchaRegisterEmail(ctx context.Context, req *CaptchaRegisterEmailRequest, opts ...http.CallOption) (rsp *CaptchaReply, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteUserApp(ctx context.Context, req *DeleteUserAppRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DisableUser(ctx context.Context, req *DisableUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) EnableUser(ctx context.Context, req *EnableUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) GetCurrentUser(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *User, err error) GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *User, err error) ImportUser(ctx context.Context, req *ImportUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) OAuthBindByCaptcha(ctx context.Context, req *OAuthBindByCaptchaRequest, opts ...http.CallOption) (rsp *BindReply, err error) OAuthBindByPassword(ctx context.Context, req *OAuthBindByPasswordRequest, opts ...http.CallOption) (rsp *BindReply, err error) OAuthBindEmailCaptcha(ctx context.Context, req *OAuthBindEmailCaptchaRequest, opts ...http.CallOption) (rsp *CaptchaReply, err error) OAuthBindImageCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error) OAuthLogin(ctx context.Context, req *OAuthLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) OfflineUser(ctx context.Context, req *OfflineUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) PageUser(ctx context.Context, req *PageUserRequest, opts ...http.CallOption) (rsp *PageUserReply, err error) ParseToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *ParseTokenReply, err error) PasswordLogin(ctx context.Context, req *PasswordLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) PasswordLoginCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error) PasswordRegister(ctx context.Context, req *PasswordRegisterRequest, opts ...http.CallOption) (rsp *RegisterReply, err error) PasswordRegisterCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error) PasswordRegisterCheck(ctx context.Context, req *PasswordRegisterCheckRequest, opts ...http.CallOption) (rsp *PasswordRegisterCheckReply, err error) RefreshToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *LoginReply, err error) UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) }
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) AddUser ¶
func (c *ServiceHTTPClientImpl) AddUser(ctx context.Context, in *AddUserRequest, opts ...http.CallOption) (*AddUserReply, error)
func (*ServiceHTTPClientImpl) AddUserApp ¶
func (c *ServiceHTTPClientImpl) AddUserApp(ctx context.Context, in *AddUserAppRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) CaptchaLogin ¶
func (c *ServiceHTTPClientImpl) CaptchaLogin(ctx context.Context, in *CaptchaLoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*ServiceHTTPClientImpl) CaptchaLoginEmail ¶
func (c *ServiceHTTPClientImpl) CaptchaLoginEmail(ctx context.Context, in *CaptchaLoginEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) CaptchaRegister ¶
func (c *ServiceHTTPClientImpl) CaptchaRegister(ctx context.Context, in *CaptchaRegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
func (*ServiceHTTPClientImpl) CaptchaRegisterEmail ¶
func (c *ServiceHTTPClientImpl) CaptchaRegisterEmail(ctx context.Context, in *CaptchaRegisterEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) DeleteUser ¶
func (c *ServiceHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteUserApp ¶
func (c *ServiceHTTPClientImpl) DeleteUserApp(ctx context.Context, in *DeleteUserAppRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DisableUser ¶
func (c *ServiceHTTPClientImpl) DisableUser(ctx context.Context, in *DisableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) EnableUser ¶
func (c *ServiceHTTPClientImpl) EnableUser(ctx context.Context, in *EnableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) GetCurrentUser ¶
func (c *ServiceHTTPClientImpl) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*User, error)
func (*ServiceHTTPClientImpl) GetUser ¶
func (c *ServiceHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*User, error)
func (*ServiceHTTPClientImpl) ImportUser ¶ added in v1.0.4
func (c *ServiceHTTPClientImpl) ImportUser(ctx context.Context, in *ImportUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) OAuthBindByCaptcha ¶
func (c *ServiceHTTPClientImpl) OAuthBindByCaptcha(ctx context.Context, in *OAuthBindByCaptchaRequest, opts ...http.CallOption) (*BindReply, error)
func (*ServiceHTTPClientImpl) OAuthBindByPassword ¶
func (c *ServiceHTTPClientImpl) OAuthBindByPassword(ctx context.Context, in *OAuthBindByPasswordRequest, opts ...http.CallOption) (*BindReply, error)
func (*ServiceHTTPClientImpl) OAuthBindEmailCaptcha ¶
func (c *ServiceHTTPClientImpl) OAuthBindEmailCaptcha(ctx context.Context, in *OAuthBindEmailCaptchaRequest, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) OAuthBindImageCaptcha ¶
func (c *ServiceHTTPClientImpl) OAuthBindImageCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) OAuthLogin ¶
func (c *ServiceHTTPClientImpl) OAuthLogin(ctx context.Context, in *OAuthLoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*ServiceHTTPClientImpl) OfflineUser ¶
func (c *ServiceHTTPClientImpl) OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) PageUser ¶
func (c *ServiceHTTPClientImpl) PageUser(ctx context.Context, in *PageUserRequest, opts ...http.CallOption) (*PageUserReply, error)
func (*ServiceHTTPClientImpl) ParseToken ¶
func (c *ServiceHTTPClientImpl) ParseToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ParseTokenReply, error)
func (*ServiceHTTPClientImpl) PasswordLogin ¶
func (c *ServiceHTTPClientImpl) PasswordLogin(ctx context.Context, in *PasswordLoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*ServiceHTTPClientImpl) PasswordLoginCaptcha ¶
func (c *ServiceHTTPClientImpl) PasswordLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) PasswordRegister ¶
func (c *ServiceHTTPClientImpl) PasswordRegister(ctx context.Context, in *PasswordRegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
func (*ServiceHTTPClientImpl) PasswordRegisterCaptcha ¶
func (c *ServiceHTTPClientImpl) PasswordRegisterCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
func (*ServiceHTTPClientImpl) PasswordRegisterCheck ¶
func (c *ServiceHTTPClientImpl) PasswordRegisterCheck(ctx context.Context, in *PasswordRegisterCheckRequest, opts ...http.CallOption) (*PasswordRegisterCheckReply, error)
func (*ServiceHTTPClientImpl) RefreshToken ¶
func (c *ServiceHTTPClientImpl) RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoginReply, error)
func (*ServiceHTTPClientImpl) UpdateCurrentUser ¶
func (c *ServiceHTTPClientImpl) UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateUser ¶
func (c *ServiceHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { AddUser(context.Context, *AddUserRequest) (*AddUserReply, error) // AddUserApp 添加用户应用 AddUserApp(context.Context, *AddUserAppRequest) (*emptypb.Empty, error) // CaptchaLogin 验证码登录 CaptchaLogin(context.Context, *CaptchaLoginRequest) (*LoginReply, error) // CaptchaLoginEmail 验证码登录邮件验证码 CaptchaLoginEmail(context.Context, *CaptchaLoginEmailRequest) (*CaptchaReply, error) // CaptchaRegister 验证码注册接口 CaptchaRegister(context.Context, *CaptchaRegisterRequest) (*RegisterReply, error) // CaptchaRegisterEmail 验证码注册邮件验证码 CaptchaRegisterEmail(context.Context, *CaptchaRegisterEmailRequest) (*CaptchaReply, error) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // DeleteUserApp 删除用户应用 DeleteUserApp(context.Context, *DeleteUserAppRequest) (*emptypb.Empty, error) // DisableUser 禁用用户 DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error) // EnableUser 启用用户 EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error) GetCurrentUser(context.Context, *emptypb.Empty) (*User, error) GetUser(context.Context, *GetUserRequest) (*User, error) ImportUser(context.Context, *ImportUserRequest) (*emptypb.Empty, error) // OAuthBindByCaptcha 三方授权绑定-验证码 OAuthBindByCaptcha(context.Context, *OAuthBindByCaptchaRequest) (*BindReply, error) // OAuthBindByPassword 三方授权绑定-密码 OAuthBindByPassword(context.Context, *OAuthBindByPasswordRequest) (*BindReply, error) OAuthBindEmailCaptcha(context.Context, *OAuthBindEmailCaptchaRequest) (*CaptchaReply, error) // OAuthBindImageCaptcha 绑定的验证码 OAuthBindImageCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) // OAuthLogin 三方授权登录 OAuthLogin(context.Context, *OAuthLoginRequest) (*LoginReply, error) // OfflineUser 下线用户 OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error) // ParseToken 解析token信息 ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error) // PasswordLogin 密码登录 PasswordLogin(context.Context, *PasswordLoginRequest) (*LoginReply, error) // PasswordLoginCaptcha 密码登录验证码 PasswordLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) // PasswordRegister 密码注册 PasswordRegister(context.Context, *PasswordRegisterRequest) (*RegisterReply, error) // PasswordRegisterCaptcha 注册验证啊 PasswordRegisterCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) // PasswordRegisterCheck 密码注册检测 PasswordRegisterCheck(context.Context, *PasswordRegisterCheckRequest) (*PasswordRegisterCheckReply, error) // RefreshToken 刷新token时长 RefreshToken(context.Context, *emptypb.Empty) (*LoginReply, error) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) }
type ServiceServer ¶
type ServiceServer interface { GetSimpleUser(context.Context, *GetSimpleUserRequest) (*SimpleUser, error) GetBaseUser(context.Context, *GetBaseUserRequest) (*BaseUser, error) GetUser(context.Context, *GetUserRequest) (*User, error) GetCurrentUser(context.Context, *emptypb.Empty) (*User, error) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error) AddUser(context.Context, *AddUserRequest) (*AddUserReply, error) ImportUser(context.Context, *ImportUserRequest) (*emptypb.Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // 禁用用户 DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error) // 启用用户 EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error) // 下线用户 OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error) // 添加用户应用 AddUserApp(context.Context, *AddUserAppRequest) (*emptypb.Empty, error) // 删除用户应用 DeleteUserApp(context.Context, *DeleteUserAppRequest) (*emptypb.Empty, error) // 三方授权登录 OAuthLogin(context.Context, *OAuthLoginRequest) (*LoginReply, error) // 三方授权绑定-密码 OAuthBindByPassword(context.Context, *OAuthBindByPasswordRequest) (*BindReply, error) // 三方授权绑定-验证码 OAuthBindByCaptcha(context.Context, *OAuthBindByCaptchaRequest) (*BindReply, error) // 绑定的验证码 OAuthBindImageCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) OAuthBindEmailCaptcha(context.Context, *OAuthBindEmailCaptchaRequest) (*CaptchaReply, error) // 密码登录 PasswordLogin(context.Context, *PasswordLoginRequest) (*LoginReply, error) // 密码登录验证码 PasswordLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) // 密码注册 PasswordRegister(context.Context, *PasswordRegisterRequest) (*RegisterReply, error) // 密码注册检测 PasswordRegisterCheck(context.Context, *PasswordRegisterCheckRequest) (*PasswordRegisterCheckReply, error) // 注册验证啊 PasswordRegisterCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) // 验证码登录 CaptchaLogin(context.Context, *CaptchaLoginRequest) (*LoginReply, error) // 验证码登录邮件验证码 CaptchaLoginEmail(context.Context, *CaptchaLoginEmailRequest) (*CaptchaReply, error) // 验证码注册邮件验证码 CaptchaRegisterEmail(context.Context, *CaptchaRegisterEmailRequest) (*CaptchaReply, error) // 验证码注册接口 CaptchaRegister(context.Context, *CaptchaRegisterRequest) (*RegisterReply, error) // 解析token信息 ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error) // 刷新token时长 RefreshToken(context.Context, *emptypb.Empty) (*LoginReply, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type SimpleUser ¶
type SimpleUser struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` Resource *v1.File `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*SimpleUser) Descriptor
deprecated
func (*SimpleUser) Descriptor() ([]byte, []int)
Deprecated: Use SimpleUser.ProtoReflect.Descriptor instead.
func (*SimpleUser) GetAvatar ¶
func (x *SimpleUser) GetAvatar() string
func (*SimpleUser) GetGender ¶
func (x *SimpleUser) GetGender() string
func (*SimpleUser) GetId ¶
func (x *SimpleUser) GetId() uint32
func (*SimpleUser) GetNickName ¶
func (x *SimpleUser) GetNickName() string
func (*SimpleUser) GetResource ¶
func (x *SimpleUser) GetResource() *v1.File
func (*SimpleUser) ProtoMessage ¶
func (*SimpleUser) ProtoMessage()
func (*SimpleUser) ProtoReflect ¶
func (x *SimpleUser) ProtoReflect() protoreflect.Message
func (*SimpleUser) Reset ¶
func (x *SimpleUser) Reset()
func (*SimpleUser) String ¶
func (x *SimpleUser) String() string
func (*SimpleUser) Validate ¶
func (m *SimpleUser) Validate() error
Validate checks the field values on SimpleUser 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 (*SimpleUser) ValidateAll ¶
func (m *SimpleUser) ValidateAll() error
ValidateAll checks the field values on SimpleUser 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 SimpleUserMultiError, or nil if none found.
type SimpleUserMultiError ¶
type SimpleUserMultiError []error
SimpleUserMultiError is an error wrapping multiple validation errors returned by SimpleUser.ValidateAll() if the designated constraints aren't met.
func (SimpleUserMultiError) AllErrors ¶
func (m SimpleUserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SimpleUserMultiError) Error ¶
func (m SimpleUserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SimpleUserValidationError ¶
type SimpleUserValidationError struct {
// contains filtered or unexported fields
}
SimpleUserValidationError is the validation error returned by SimpleUser.Validate if the designated constraints aren't met.
func (SimpleUserValidationError) Cause ¶
func (e SimpleUserValidationError) Cause() error
Cause function returns cause value.
func (SimpleUserValidationError) Error ¶
func (e SimpleUserValidationError) Error() string
Error satisfies the builtin error interface
func (SimpleUserValidationError) ErrorName ¶
func (e SimpleUserValidationError) ErrorName() string
ErrorName returns error name.
func (SimpleUserValidationError) Field ¶
func (e SimpleUserValidationError) Field() string
Field function returns field value.
func (SimpleUserValidationError) Key ¶
func (e SimpleUserValidationError) Key() bool
Key function returns key value.
func (SimpleUserValidationError) Reason ¶
func (e SimpleUserValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AddUser ¶
func (UnimplementedServiceServer) AddUser(context.Context, *AddUserRequest) (*AddUserReply, error)
func (UnimplementedServiceServer) AddUserApp ¶
func (UnimplementedServiceServer) AddUserApp(context.Context, *AddUserAppRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) CaptchaLogin ¶
func (UnimplementedServiceServer) CaptchaLogin(context.Context, *CaptchaLoginRequest) (*LoginReply, error)
func (UnimplementedServiceServer) CaptchaLoginEmail ¶
func (UnimplementedServiceServer) CaptchaLoginEmail(context.Context, *CaptchaLoginEmailRequest) (*CaptchaReply, error)
func (UnimplementedServiceServer) CaptchaRegister ¶
func (UnimplementedServiceServer) CaptchaRegister(context.Context, *CaptchaRegisterRequest) (*RegisterReply, error)
func (UnimplementedServiceServer) CaptchaRegisterEmail ¶
func (UnimplementedServiceServer) CaptchaRegisterEmail(context.Context, *CaptchaRegisterEmailRequest) (*CaptchaReply, error)
func (UnimplementedServiceServer) DeleteUser ¶
func (UnimplementedServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteUserApp ¶
func (UnimplementedServiceServer) DeleteUserApp(context.Context, *DeleteUserAppRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DisableUser ¶
func (UnimplementedServiceServer) DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) EnableUser ¶
func (UnimplementedServiceServer) EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) GetBaseUser ¶
func (UnimplementedServiceServer) GetBaseUser(context.Context, *GetBaseUserRequest) (*BaseUser, error)
func (UnimplementedServiceServer) GetCurrentUser ¶
func (UnimplementedServiceServer) GetSimpleUser ¶
func (UnimplementedServiceServer) GetSimpleUser(context.Context, *GetSimpleUserRequest) (*SimpleUser, error)
func (UnimplementedServiceServer) GetUser ¶
func (UnimplementedServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error)
func (UnimplementedServiceServer) ImportUser ¶ added in v1.0.4
func (UnimplementedServiceServer) ImportUser(context.Context, *ImportUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) OAuthBindByCaptcha ¶
func (UnimplementedServiceServer) OAuthBindByCaptcha(context.Context, *OAuthBindByCaptchaRequest) (*BindReply, error)
func (UnimplementedServiceServer) OAuthBindByPassword ¶
func (UnimplementedServiceServer) OAuthBindByPassword(context.Context, *OAuthBindByPasswordRequest) (*BindReply, error)
func (UnimplementedServiceServer) OAuthBindEmailCaptcha ¶
func (UnimplementedServiceServer) OAuthBindEmailCaptcha(context.Context, *OAuthBindEmailCaptchaRequest) (*CaptchaReply, error)
func (UnimplementedServiceServer) OAuthBindImageCaptcha ¶
func (UnimplementedServiceServer) OAuthBindImageCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
func (UnimplementedServiceServer) OAuthLogin ¶
func (UnimplementedServiceServer) OAuthLogin(context.Context, *OAuthLoginRequest) (*LoginReply, error)
func (UnimplementedServiceServer) OfflineUser ¶
func (UnimplementedServiceServer) OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) PageUser ¶
func (UnimplementedServiceServer) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
func (UnimplementedServiceServer) ParseToken ¶
func (UnimplementedServiceServer) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error)
func (UnimplementedServiceServer) PasswordLogin ¶
func (UnimplementedServiceServer) PasswordLogin(context.Context, *PasswordLoginRequest) (*LoginReply, error)
func (UnimplementedServiceServer) PasswordLoginCaptcha ¶
func (UnimplementedServiceServer) PasswordLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
func (UnimplementedServiceServer) PasswordRegister ¶
func (UnimplementedServiceServer) PasswordRegister(context.Context, *PasswordRegisterRequest) (*RegisterReply, error)
func (UnimplementedServiceServer) PasswordRegisterCaptcha ¶
func (UnimplementedServiceServer) PasswordRegisterCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
func (UnimplementedServiceServer) PasswordRegisterCheck ¶
func (UnimplementedServiceServer) PasswordRegisterCheck(context.Context, *PasswordRegisterCheckRequest) (*PasswordRegisterCheckReply, error)
func (UnimplementedServiceServer) RefreshToken ¶
func (UnimplementedServiceServer) RefreshToken(context.Context, *emptypb.Empty) (*LoginReply, error)
func (UnimplementedServiceServer) UpdateCurrentUser ¶
func (UnimplementedServiceServer) UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateUser ¶
func (UnimplementedServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UpdateCurrentUserRequest ¶
type UpdateCurrentUserRequest struct { Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"` Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"` NickName *string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3,oneof" json:"nick_name,omitempty"` RealName *string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3,oneof" json:"real_name,omitempty"` IdCard *string `protobuf:"bytes,7,opt,name=id_card,json=idCard,proto3,oneof" json:"id_card,omitempty"` Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"` Extra map[string]*structpb.Value `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateCurrentUserRequest) Descriptor
deprecated
func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateCurrentUserRequest) GetAvatar ¶
func (x *UpdateCurrentUserRequest) GetAvatar() string
func (*UpdateCurrentUserRequest) GetEmail ¶
func (x *UpdateCurrentUserRequest) GetEmail() string
func (*UpdateCurrentUserRequest) GetExtra ¶
func (x *UpdateCurrentUserRequest) GetExtra() map[string]*structpb.Value
func (*UpdateCurrentUserRequest) GetGender ¶
func (x *UpdateCurrentUserRequest) GetGender() string
func (*UpdateCurrentUserRequest) GetIdCard ¶
func (x *UpdateCurrentUserRequest) GetIdCard() string
func (*UpdateCurrentUserRequest) GetNickName ¶
func (x *UpdateCurrentUserRequest) GetNickName() string
func (*UpdateCurrentUserRequest) GetPassword ¶
func (x *UpdateCurrentUserRequest) GetPassword() string
func (*UpdateCurrentUserRequest) GetPhone ¶
func (x *UpdateCurrentUserRequest) GetPhone() string
func (*UpdateCurrentUserRequest) GetRealName ¶
func (x *UpdateCurrentUserRequest) GetRealName() string
func (*UpdateCurrentUserRequest) GetUsername ¶
func (x *UpdateCurrentUserRequest) GetUsername() string
func (*UpdateCurrentUserRequest) ProtoMessage ¶
func (*UpdateCurrentUserRequest) ProtoMessage()
func (*UpdateCurrentUserRequest) ProtoReflect ¶
func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserRequest) Reset ¶
func (x *UpdateCurrentUserRequest) Reset()
func (*UpdateCurrentUserRequest) String ¶
func (x *UpdateCurrentUserRequest) String() string
func (*UpdateCurrentUserRequest) Validate ¶
func (m *UpdateCurrentUserRequest) Validate() error
Validate checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCurrentUserRequest) ValidateAll ¶
func (m *UpdateCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRequestMultiError, or nil if none found.
type UpdateCurrentUserRequestMultiError ¶
type UpdateCurrentUserRequestMultiError []error
UpdateCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCurrentUserRequestMultiError) AllErrors ¶
func (m UpdateCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserRequestMultiError) Error ¶
func (m UpdateCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCurrentUserRequestValidationError ¶
type UpdateCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCurrentUserRequestValidationError is the validation error returned by UpdateCurrentUserRequest.Validate if the designated constraints aren't met.
func (UpdateCurrentUserRequestValidationError) Cause ¶
func (e UpdateCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserRequestValidationError) Error ¶
func (e UpdateCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserRequestValidationError) Field ¶
func (e UpdateCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserRequestValidationError) Key ¶
func (e UpdateCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserRequestValidationError) Reason ¶
func (e UpdateCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id uint32 `protobuf:"varint,10,opt,name=id,proto3" json:"id,omitempty"` Phone *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"` Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"` NickName *string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3,oneof" json:"nick_name,omitempty"` RealName *string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3,oneof" json:"real_name,omitempty"` IdCard *string `protobuf:"bytes,7,opt,name=id_card,json=idCard,proto3,oneof" json:"id_card,omitempty"` Avatar *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Gender *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatar ¶
func (x *UpdateUserRequest) GetAvatar() string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetGender ¶
func (x *UpdateUserRequest) GetGender() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint32
func (*UpdateUserRequest) GetIdCard ¶
func (x *UpdateUserRequest) GetIdCard() string
func (*UpdateUserRequest) GetNickName ¶
func (x *UpdateUserRequest) GetNickName() string
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetRealName ¶
func (x *UpdateUserRequest) GetRealName() string
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"` Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"` NickName string `protobuf:"bytes,6,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` RealName string `protobuf:"bytes,7,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` IdCard *string `protobuf:"bytes,8,opt,name=id_card,json=idCard,proto3,oneof" json:"id_card,omitempty"` Avatar string `protobuf:"bytes,9,opt,name=avatar,proto3" json:"avatar,omitempty"` Gender string `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"` Status bool `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"` DisableDesc *string `protobuf:"bytes,12,opt,name=disable_desc,json=disableDesc,proto3,oneof" json:"disable_desc,omitempty"` From string `protobuf:"bytes,13,opt,name=from,proto3" json:"from,omitempty"` FromDesc string `protobuf:"bytes,14,opt,name=from_desc,json=fromDesc,proto3" json:"from_desc,omitempty"` CreatedAt uint32 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Apps []*User_App `protobuf:"bytes,17,rep,name=apps,proto3" json:"apps,omitempty"` Channels []*User_Channel `protobuf:"bytes,19,rep,name=channels,proto3" json:"channels,omitempty"` Extra map[string]*structpb.Value `` /* 152-byte string literal not displayed */ ExtraList []*User_Extra `protobuf:"bytes,21,rep,name=extra_list,json=extraList,proto3" json:"extra_list,omitempty"` Resource *v1.File `protobuf:"bytes,22,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetChannels ¶
func (x *User) GetChannels() []*User_Channel
func (*User) GetCreatedAt ¶
func (*User) GetDisableDesc ¶
func (*User) GetExtraList ¶
func (x *User) GetExtraList() []*User_Extra
func (*User) GetFromDesc ¶
func (*User) GetNickName ¶
func (*User) GetRealName ¶
func (*User) GetResource ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type User_App ¶
type User_App struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"` CreatedAt uint32 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LoginAt uint32 `protobuf:"varint,5,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"` Resource *v1.File `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*User_App) Descriptor
deprecated
func (*User_App) GetCreatedAt ¶
func (*User_App) GetLoginAt ¶
func (*User_App) GetResource ¶
func (*User_App) ProtoMessage ¶
func (*User_App) ProtoMessage()
func (*User_App) ProtoReflect ¶
func (x *User_App) ProtoReflect() protoreflect.Message
func (*User_App) Validate ¶
Validate checks the field values on User_App 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 (*User_App) ValidateAll ¶
ValidateAll checks the field values on User_App 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 User_AppMultiError, or nil if none found.
type User_AppMultiError ¶
type User_AppMultiError []error
User_AppMultiError is an error wrapping multiple validation errors returned by User_App.ValidateAll() if the designated constraints aren't met.
func (User_AppMultiError) AllErrors ¶
func (m User_AppMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (User_AppMultiError) Error ¶
func (m User_AppMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type User_AppValidationError ¶
type User_AppValidationError struct {
// contains filtered or unexported fields
}
User_AppValidationError is the validation error returned by User_App.Validate if the designated constraints aren't met.
func (User_AppValidationError) Cause ¶
func (e User_AppValidationError) Cause() error
Cause function returns cause value.
func (User_AppValidationError) Error ¶
func (e User_AppValidationError) Error() string
Error satisfies the builtin error interface
func (User_AppValidationError) ErrorName ¶
func (e User_AppValidationError) ErrorName() string
ErrorName returns error name.
func (User_AppValidationError) Field ¶
func (e User_AppValidationError) Field() string
Field function returns field value.
func (User_AppValidationError) Key ¶
func (e User_AppValidationError) Key() bool
Key function returns key value.
func (User_AppValidationError) Reason ¶
func (e User_AppValidationError) Reason() string
Reason function returns reason value.
type User_Channel ¶
type User_Channel struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"` CreatedAt uint32 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LoginAt uint32 `protobuf:"varint,6,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"` Resource *v1.File `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*User_Channel) Descriptor
deprecated
func (*User_Channel) Descriptor() ([]byte, []int)
Deprecated: Use User_Channel.ProtoReflect.Descriptor instead.
func (*User_Channel) GetCreatedAt ¶
func (x *User_Channel) GetCreatedAt() uint32
func (*User_Channel) GetId ¶
func (x *User_Channel) GetId() uint32
func (*User_Channel) GetLoginAt ¶
func (x *User_Channel) GetLoginAt() uint32
func (*User_Channel) GetLogo ¶
func (x *User_Channel) GetLogo() string
func (*User_Channel) GetName ¶
func (x *User_Channel) GetName() string
func (*User_Channel) GetResource ¶
func (x *User_Channel) GetResource() *v1.File
func (*User_Channel) ProtoMessage ¶
func (*User_Channel) ProtoMessage()
func (*User_Channel) ProtoReflect ¶
func (x *User_Channel) ProtoReflect() protoreflect.Message
func (*User_Channel) Reset ¶
func (x *User_Channel) Reset()
func (*User_Channel) String ¶
func (x *User_Channel) String() string
func (*User_Channel) Validate ¶
func (m *User_Channel) Validate() error
Validate checks the field values on User_Channel 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 (*User_Channel) ValidateAll ¶
func (m *User_Channel) ValidateAll() error
ValidateAll checks the field values on User_Channel 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 User_ChannelMultiError, or nil if none found.
type User_ChannelMultiError ¶
type User_ChannelMultiError []error
User_ChannelMultiError is an error wrapping multiple validation errors returned by User_Channel.ValidateAll() if the designated constraints aren't met.
func (User_ChannelMultiError) AllErrors ¶
func (m User_ChannelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (User_ChannelMultiError) Error ¶
func (m User_ChannelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type User_ChannelValidationError ¶
type User_ChannelValidationError struct {
// contains filtered or unexported fields
}
User_ChannelValidationError is the validation error returned by User_Channel.Validate if the designated constraints aren't met.
func (User_ChannelValidationError) Cause ¶
func (e User_ChannelValidationError) Cause() error
Cause function returns cause value.
func (User_ChannelValidationError) Error ¶
func (e User_ChannelValidationError) Error() string
Error satisfies the builtin error interface
func (User_ChannelValidationError) ErrorName ¶
func (e User_ChannelValidationError) ErrorName() string
ErrorName returns error name.
func (User_ChannelValidationError) Field ¶
func (e User_ChannelValidationError) Field() string
Field function returns field value.
func (User_ChannelValidationError) Key ¶
func (e User_ChannelValidationError) Key() bool
Key function returns key value.
func (User_ChannelValidationError) Reason ¶
func (e User_ChannelValidationError) Reason() string
Reason function returns reason value.
type User_Extra ¶
type User_Extra struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` Value *structpb.Value `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*User_Extra) Descriptor
deprecated
func (*User_Extra) Descriptor() ([]byte, []int)
Deprecated: Use User_Extra.ProtoReflect.Descriptor instead.
func (*User_Extra) GetKeyword ¶
func (x *User_Extra) GetKeyword() string
func (*User_Extra) GetName ¶
func (x *User_Extra) GetName() string
func (*User_Extra) GetType ¶
func (x *User_Extra) GetType() string
func (*User_Extra) GetTypeName ¶
func (x *User_Extra) GetTypeName() string
func (*User_Extra) GetValue ¶
func (x *User_Extra) GetValue() *structpb.Value
func (*User_Extra) ProtoMessage ¶
func (*User_Extra) ProtoMessage()
func (*User_Extra) ProtoReflect ¶
func (x *User_Extra) ProtoReflect() protoreflect.Message
func (*User_Extra) Reset ¶
func (x *User_Extra) Reset()
func (*User_Extra) String ¶
func (x *User_Extra) String() string
func (*User_Extra) Validate ¶
func (m *User_Extra) Validate() error
Validate checks the field values on User_Extra 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 (*User_Extra) ValidateAll ¶
func (m *User_Extra) ValidateAll() error
ValidateAll checks the field values on User_Extra 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 User_ExtraMultiError, or nil if none found.
type User_ExtraMultiError ¶
type User_ExtraMultiError []error
User_ExtraMultiError is an error wrapping multiple validation errors returned by User_Extra.ValidateAll() if the designated constraints aren't met.
func (User_ExtraMultiError) AllErrors ¶
func (m User_ExtraMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (User_ExtraMultiError) Error ¶
func (m User_ExtraMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type User_ExtraValidationError ¶
type User_ExtraValidationError struct {
// contains filtered or unexported fields
}
User_ExtraValidationError is the validation error returned by User_Extra.Validate if the designated constraints aren't met.
func (User_ExtraValidationError) Cause ¶
func (e User_ExtraValidationError) Cause() error
Cause function returns cause value.
func (User_ExtraValidationError) Error ¶
func (e User_ExtraValidationError) Error() string
Error satisfies the builtin error interface
func (User_ExtraValidationError) ErrorName ¶
func (e User_ExtraValidationError) ErrorName() string
ErrorName returns error name.
func (User_ExtraValidationError) Field ¶
func (e User_ExtraValidationError) Field() string
Field function returns field value.
func (User_ExtraValidationError) Key ¶
func (e User_ExtraValidationError) Key() bool
Key function returns key value.
func (User_ExtraValidationError) Reason ¶
func (e User_ExtraValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- user_center_auth.pb.go
- user_center_auth.pb.validate.go
- user_center_user.pb.go
- user_center_user.pb.validate.go
- user_center_user_app.pb.go
- user_center_user_app.pb.validate.go
- user_center_user_extra.pb.go
- user_center_user_extra.pb.validate.go
- user_center_user_service.pb.go
- user_center_user_service.pb.validate.go
- user_center_user_service_grpc.pb.go
- user_center_user_service_http.pb.go