v1

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationServiceAddUser = "/user.Service/AddUser"
View Source
const OperationServiceAddUserApp = "/user.Service/AddUserApp"
View Source
const OperationServiceCaptchaLogin = "/user.Service/CaptchaLogin"
View Source
const OperationServiceCaptchaLoginEmail = "/user.Service/CaptchaLoginEmail"
View Source
const OperationServiceCaptchaRegister = "/user.Service/CaptchaRegister"
View Source
const OperationServiceCaptchaRegisterEmail = "/user.Service/CaptchaRegisterEmail"
View Source
const OperationServiceDeleteUser = "/user.Service/DeleteUser"
View Source
const OperationServiceDeleteUserApp = "/user.Service/DeleteUserApp"
View Source
const OperationServiceDisableUser = "/user.Service/DisableUser"
View Source
const OperationServiceEnableUser = "/user.Service/EnableUser"
View Source
const OperationServiceGetCurrentUser = "/user.Service/GetCurrentUser"
View Source
const OperationServiceGetUser = "/user.Service/GetUser"
View Source
const OperationServiceImportUser = "/user.Service/ImportUser"
View Source
const OperationServiceOAuthBindByCaptcha = "/user.Service/OAuthBindByCaptcha"
View Source
const OperationServiceOAuthBindByPassword = "/user.Service/OAuthBindByPassword"
View Source
const OperationServiceOAuthBindEmailCaptcha = "/user.Service/OAuthBindEmailCaptcha"
View Source
const OperationServiceOAuthBindImageCaptcha = "/user.Service/OAuthBindImageCaptcha"
View Source
const OperationServiceOAuthLogin = "/user.Service/OAuthLogin"
View Source
const OperationServiceOfflineUser = "/user.Service/OfflineUser"
View Source
const OperationServicePageUser = "/user.Service/PageUser"
View Source
const OperationServiceParseToken = "/user.Service/ParseToken"
View Source
const OperationServicePasswordLogin = "/user.Service/PasswordLogin"
View Source
const OperationServicePasswordLoginCaptcha = "/user.Service/PasswordLoginCaptcha"
View Source
const OperationServicePasswordRegister = "/user.Service/PasswordRegister"
View Source
const OperationServicePasswordRegisterCaptcha = "/user.Service/PasswordRegisterCaptcha"
View Source
const OperationServicePasswordRegisterCheck = "/user.Service/PasswordRegisterCheck"
View Source
const OperationServiceRefreshToken = "/user.Service/RefreshToken"
View Source
const OperationServiceUpdateCurrentUser = "/user.Service/UpdateCurrentUser"
View Source
const OperationServiceUpdateUser = "/user.Service/UpdateUser"

Variables

View Source
var File_user_center_auth_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_app_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_extra_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_proto protoreflect.FileDescriptor
View Source
var File_user_center_user_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (AddUserAppRequestValidationError) Error

Error satisfies the builtin error interface

func (AddUserAppRequestValidationError) ErrorName

ErrorName returns error name.

func (AddUserAppRequestValidationError) Field

Field function returns field value.

func (AddUserAppRequestValidationError) Key

Key function returns key value.

func (AddUserAppRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddUserExtraRequestValidationError) Error

Error satisfies the builtin error interface

func (AddUserExtraRequestValidationError) ErrorName

ErrorName returns error name.

func (AddUserExtraRequestValidationError) Field

Field function returns field value.

func (AddUserExtraRequestValidationError) Key

Key function returns key value.

func (AddUserExtraRequestValidationError) Reason

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

Cause function returns cause value.

func (AddUserReplyValidationError) Error

Error satisfies the builtin error interface

func (AddUserReplyValidationError) ErrorName

func (e AddUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (AddUserReplyValidationError) Field

Field function returns field value.

func (AddUserReplyValidationError) Key

Key function returns key value.

func (AddUserReplyValidationError) Reason

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

Cause function returns cause value.

func (AddUserRequestValidationError) Error

Error satisfies the builtin error interface

func (AddUserRequestValidationError) ErrorName

func (e AddUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddUserRequestValidationError) Field

Field function returns field value.

func (AddUserRequestValidationError) Key

Key function returns key value.

func (AddUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddUserRequest_UserExtraValidationError) Error

Error satisfies the builtin error interface

func (AddUserRequest_UserExtraValidationError) ErrorName

ErrorName returns error name.

func (AddUserRequest_UserExtraValidationError) Field

Field function returns field value.

func (AddUserRequest_UserExtraValidationError) Key

Key function returns key value.

func (AddUserRequest_UserExtraValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (AllLoginPlatformReplyValidationError) Error

Error satisfies the builtin error interface

func (AllLoginPlatformReplyValidationError) ErrorName

ErrorName returns error name.

func (AllLoginPlatformReplyValidationError) Field

Field function returns field value.

func (AllLoginPlatformReplyValidationError) Key

Key function returns key value.

func (AllLoginPlatformReplyValidationError) Reason

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 (*AllLoginPlatformReply_Platform) GetPlatform

func (x *AllLoginPlatformReply_Platform) GetPlatform() string

func (*AllLoginPlatformReply_Platform) ProtoMessage

func (*AllLoginPlatformReply_Platform) ProtoMessage()

func (*AllLoginPlatformReply_Platform) ProtoReflect

func (*AllLoginPlatformReply_Platform) Reset

func (x *AllLoginPlatformReply_Platform) Reset()

func (*AllLoginPlatformReply_Platform) 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

AllErrors returns a list of validation violation errors.

func (AllLoginPlatformReply_PlatformMultiError) Error

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

Cause function returns cause value.

func (AllLoginPlatformReply_PlatformValidationError) Error

Error satisfies the builtin error interface

func (AllLoginPlatformReply_PlatformValidationError) ErrorName

ErrorName returns error name.

func (AllLoginPlatformReply_PlatformValidationError) Field

Field function returns field value.

func (AllLoginPlatformReply_PlatformValidationError) Key

Key function returns key value.

func (AllLoginPlatformReply_PlatformValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use AuthReply.ProtoReflect.Descriptor instead.

func (*AuthReply) GetAppId

func (x *AuthReply) GetAppId() uint32

func (*AuthReply) GetAppKeyword

func (x *AuthReply) GetAppKeyword() string

func (*AuthReply) GetChannelId

func (x *AuthReply) GetChannelId() uint32

func (*AuthReply) GetUserId

func (x *AuthReply) GetUserId() uint32

func (*AuthReply) ProtoMessage

func (*AuthReply) ProtoMessage()

func (*AuthReply) ProtoReflect

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

func (*AuthReply) Reset

func (x *AuthReply) Reset()

func (*AuthReply) String

func (x *AuthReply) String() string

func (*AuthReply) Validate

func (m *AuthReply) Validate() error

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

func (m *AuthReply) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use BaseUser.ProtoReflect.Descriptor instead.

func (*BaseUser) GetAvatar

func (x *BaseUser) GetAvatar() string

func (*BaseUser) GetEmail

func (x *BaseUser) GetEmail() string

func (*BaseUser) GetGender

func (x *BaseUser) GetGender() string

func (*BaseUser) GetId

func (x *BaseUser) GetId() uint32

func (*BaseUser) GetNickName

func (x *BaseUser) GetNickName() string

func (*BaseUser) GetPhone

func (x *BaseUser) GetPhone() string

func (*BaseUser) GetRealName

func (x *BaseUser) GetRealName() string

func (*BaseUser) GetResource

func (x *BaseUser) GetResource() *v1.File

func (*BaseUser) GetUsername

func (x *BaseUser) GetUsername() string

func (*BaseUser) ProtoMessage

func (*BaseUser) ProtoMessage()

func (*BaseUser) ProtoReflect

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

func (*BaseUser) Reset

func (x *BaseUser) Reset()

func (*BaseUser) String

func (x *BaseUser) String() string

func (*BaseUser) Validate

func (m *BaseUser) Validate() error

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

func (m *BaseUser) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use BindReply.ProtoReflect.Descriptor instead.

func (*BindReply) GetToken

func (x *BindReply) GetToken() string

func (*BindReply) ProtoMessage

func (*BindReply) ProtoMessage()

func (*BindReply) ProtoReflect

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

func (*BindReply) Reset

func (x *BindReply) Reset()

func (*BindReply) String

func (x *BindReply) String() string

func (*BindReply) Validate

func (m *BindReply) Validate() error

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

func (m *BindReply) ValidateAll() error

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

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

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

Cause function returns cause value.

func (CaptchaLoginEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (CaptchaLoginEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (CaptchaLoginEmailRequestValidationError) Field

Field function returns field value.

func (CaptchaLoginEmailRequestValidationError) Key

Key function returns key value.

func (CaptchaLoginEmailRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CaptchaLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (CaptchaLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (CaptchaLoginRequestValidationError) Field

Field function returns field value.

func (CaptchaLoginRequestValidationError) Key

Key function returns key value.

func (CaptchaLoginRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CaptchaRegisterEmailRequestMultiError) Error

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

Cause function returns cause value.

func (CaptchaRegisterEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (CaptchaRegisterEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (CaptchaRegisterEmailRequestValidationError) Field

Field function returns field value.

func (CaptchaRegisterEmailRequestValidationError) Key

Key function returns key value.

func (CaptchaRegisterEmailRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CaptchaRegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (CaptchaRegisterRequestValidationError) ErrorName

ErrorName returns error name.

func (CaptchaRegisterRequestValidationError) Field

Field function returns field value.

func (CaptchaRegisterRequestValidationError) Key

Key function returns key value.

func (CaptchaRegisterRequestValidationError) Reason

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

Cause function returns cause value.

func (CaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (CaptchaReplyValidationError) ErrorName

func (e CaptchaReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaReplyValidationError) Field

Field function returns field value.

func (CaptchaReplyValidationError) Key

Key function returns key value.

func (CaptchaReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserAppRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserAppRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserAppRequestValidationError) Field

Field function returns field value.

func (DeleteUserAppRequestValidationError) Key

Key function returns key value.

func (DeleteUserAppRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserExtraRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserExtraRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserExtraRequestValidationError) Field

Field function returns field value.

func (DeleteUserExtraRequestValidationError) Key

Key function returns key value.

func (DeleteUserExtraRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DisableUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DisableUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DisableUserRequestValidationError) Field

Field function returns field value.

func (DisableUserRequestValidationError) Key

Key function returns key value.

func (DisableUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (EnableUserRequestValidationError) Error

Error satisfies the builtin error interface

func (EnableUserRequestValidationError) ErrorName

ErrorName returns error name.

func (EnableUserRequestValidationError) Field

Field function returns field value.

func (EnableUserRequestValidationError) Key

Key function returns key value.

func (EnableUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetBaseUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetBaseUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetBaseUserRequestValidationError) Field

Field function returns field value.

func (GetBaseUserRequestValidationError) Key

Key function returns key value.

func (GetBaseUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetSimpleUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSimpleUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSimpleUserRequestValidationError) Field

Field function returns field value.

func (GetSimpleUserRequestValidationError) Key

Key function returns key value.

func (GetSimpleUserRequestValidationError) Reason

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

Cause function returns cause value.

func (GetUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRequestValidationError) ErrorName

func (e GetUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRequestValidationError) Field

Field function returns field value.

func (GetUserRequestValidationError) Key

Key function returns key value.

func (GetUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ImportUserRequestDataValidationError) Error added in v1.0.4

Error satisfies the builtin error interface

func (ImportUserRequestDataValidationError) ErrorName added in v1.0.4

ErrorName returns error name.

func (ImportUserRequestDataValidationError) Field added in v1.0.4

Field function returns field value.

func (ImportUserRequestDataValidationError) Key added in v1.0.4

Key function returns key value.

func (ImportUserRequestDataValidationError) Reason added in v1.0.4

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

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

Cause function returns cause value.

func (ImportUserRequestValidationError) Error added in v1.0.4

Error satisfies the builtin error interface

func (ImportUserRequestValidationError) ErrorName added in v1.0.4

ErrorName returns error name.

func (ImportUserRequestValidationError) Field added in v1.0.4

Field function returns field value.

func (ImportUserRequestValidationError) Key added in v1.0.4

Key function returns key value.

func (ImportUserRequestValidationError) Reason added in v1.0.4

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

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

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 (*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

AllErrors returns a list of validation violation errors.

func (OAuthBindByCaptchaRequestMultiError) Error

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

Cause function returns cause value.

func (OAuthBindByCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (OAuthBindByCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (OAuthBindByCaptchaRequestValidationError) Field

Field function returns field value.

func (OAuthBindByCaptchaRequestValidationError) Key

Key function returns key value.

func (OAuthBindByCaptchaRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (OAuthBindByPasswordRequestMultiError) Error

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

Cause function returns cause value.

func (OAuthBindByPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (OAuthBindByPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (OAuthBindByPasswordRequestValidationError) Field

Field function returns field value.

func (OAuthBindByPasswordRequestValidationError) Key

Key function returns key value.

func (OAuthBindByPasswordRequestValidationError) Reason

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 (*OAuthBindEmailCaptchaRequest) Reset

func (x *OAuthBindEmailCaptchaRequest) Reset()

func (*OAuthBindEmailCaptchaRequest) 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

AllErrors returns a list of validation violation errors.

func (OAuthBindEmailCaptchaRequestMultiError) Error

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

Cause function returns cause value.

func (OAuthBindEmailCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (OAuthBindEmailCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (OAuthBindEmailCaptchaRequestValidationError) Field

Field function returns field value.

func (OAuthBindEmailCaptchaRequestValidationError) Key

Key function returns key value.

func (OAuthBindEmailCaptchaRequestValidationError) Reason

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

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

Cause function returns cause value.

func (OAuthLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (OAuthLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (OAuthLoginRequestValidationError) Field

Field function returns field value.

func (OAuthLoginRequestValidationError) Key

Key function returns key value.

func (OAuthLoginRequestValidationError) Reason

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

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

Cause function returns cause value.

func (OfflineUserRequestValidationError) Error

Error satisfies the builtin error interface

func (OfflineUserRequestValidationError) ErrorName

ErrorName returns error name.

func (OfflineUserRequestValidationError) Field

Field function returns field value.

func (OfflineUserRequestValidationError) Key

Key function returns key value.

func (OfflineUserRequestValidationError) Reason

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

Cause function returns cause value.

func (PageUserReplyValidationError) Error

Error satisfies the builtin error interface

func (PageUserReplyValidationError) ErrorName

func (e PageUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (PageUserReplyValidationError) Field

Field function returns field value.

func (PageUserReplyValidationError) Key

Key function returns key value.

func (PageUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PageUserRequestValidationError) Error

Error satisfies the builtin error interface

func (PageUserRequestValidationError) ErrorName

func (e PageUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PageUserRequestValidationError) Field

Field function returns field value.

func (PageUserRequestValidationError) Key

Key function returns key value.

func (PageUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ParseTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (ParseTokenReplyValidationError) ErrorName

func (e ParseTokenReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ParseTokenReplyValidationError) Field

Field function returns field value.

func (ParseTokenReplyValidationError) Key

Key function returns key value.

func (ParseTokenReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PasswordLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (PasswordLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (PasswordLoginRequestValidationError) Field

Field function returns field value.

func (PasswordLoginRequestValidationError) Key

Key function returns key value.

func (PasswordLoginRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (PasswordRegisterCheckReplyMultiError) Error

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

Cause function returns cause value.

func (PasswordRegisterCheckReplyValidationError) Error

Error satisfies the builtin error interface

func (PasswordRegisterCheckReplyValidationError) ErrorName

ErrorName returns error name.

func (PasswordRegisterCheckReplyValidationError) Field

Field function returns field value.

func (PasswordRegisterCheckReplyValidationError) Key

Key function returns key value.

func (PasswordRegisterCheckReplyValidationError) Reason

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 (*PasswordRegisterCheckRequest) Reset

func (x *PasswordRegisterCheckRequest) Reset()

func (*PasswordRegisterCheckRequest) 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

AllErrors returns a list of validation violation errors.

func (PasswordRegisterCheckRequestMultiError) Error

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

Cause function returns cause value.

func (PasswordRegisterCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (PasswordRegisterCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (PasswordRegisterCheckRequestValidationError) Field

Field function returns field value.

func (PasswordRegisterCheckRequestValidationError) Key

Key function returns key value.

func (PasswordRegisterCheckRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PasswordRegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (PasswordRegisterRequestValidationError) ErrorName

ErrorName returns error name.

func (PasswordRegisterRequestValidationError) Field

Field function returns field value.

func (PasswordRegisterRequestValidationError) Key

Key function returns key value.

func (PasswordRegisterRequestValidationError) Reason

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

Cause function returns cause value.

func (RegisterReplyValidationError) Error

Error satisfies the builtin error interface

func (RegisterReplyValidationError) ErrorName

func (e RegisterReplyValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterReplyValidationError) Field

Field function returns field value.

func (RegisterReplyValidationError) Key

Key function returns key value.

func (RegisterReplyValidationError) Reason

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 (*ServiceHTTPClientImpl) AddUserApp

func (*ServiceHTTPClientImpl) CaptchaLogin

func (*ServiceHTTPClientImpl) CaptchaLoginEmail

func (c *ServiceHTTPClientImpl) CaptchaLoginEmail(ctx context.Context, in *CaptchaLoginEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)

func (*ServiceHTTPClientImpl) CaptchaRegister

func (*ServiceHTTPClientImpl) CaptchaRegisterEmail

func (c *ServiceHTTPClientImpl) CaptchaRegisterEmail(ctx context.Context, in *CaptchaRegisterEmailRequest, opts ...http.CallOption) (*CaptchaReply, error)

func (*ServiceHTTPClientImpl) DeleteUser

func (*ServiceHTTPClientImpl) DeleteUserApp

func (*ServiceHTTPClientImpl) DisableUser

func (*ServiceHTTPClientImpl) EnableUser

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 (*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 (*ServiceHTTPClientImpl) OfflineUser

func (*ServiceHTTPClientImpl) PageUser

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 (*ServiceHTTPClientImpl) PasswordRegisterCaptcha

func (c *ServiceHTTPClientImpl) PasswordRegisterCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)

func (*ServiceHTTPClientImpl) PasswordRegisterCheck

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

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

Error satisfies the builtin error interface

func (SimpleUserValidationError) ErrorName

func (e SimpleUserValidationError) ErrorName() string

ErrorName returns error name.

func (SimpleUserValidationError) Field

Field function returns field value.

func (SimpleUserValidationError) Key

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) AddUserApp

func (UnimplementedServiceServer) CaptchaLogin

func (UnimplementedServiceServer) CaptchaLoginEmail

func (UnimplementedServiceServer) CaptchaRegister

func (UnimplementedServiceServer) CaptchaRegisterEmail

func (UnimplementedServiceServer) DeleteUser

func (UnimplementedServiceServer) DeleteUserApp

func (UnimplementedServiceServer) DisableUser

func (UnimplementedServiceServer) EnableUser

func (UnimplementedServiceServer) GetBaseUser

func (UnimplementedServiceServer) GetCurrentUser

func (UnimplementedServiceServer) GetSimpleUser

func (UnimplementedServiceServer) GetUser

func (UnimplementedServiceServer) ImportUser added in v1.0.4

func (UnimplementedServiceServer) OAuthBindByCaptcha

func (UnimplementedServiceServer) OAuthBindByPassword

func (UnimplementedServiceServer) OAuthBindEmailCaptcha

func (UnimplementedServiceServer) OAuthBindImageCaptcha

func (UnimplementedServiceServer) OAuthLogin

func (UnimplementedServiceServer) OfflineUser

func (UnimplementedServiceServer) PageUser

func (UnimplementedServiceServer) ParseToken

func (UnimplementedServiceServer) PasswordLogin

func (UnimplementedServiceServer) PasswordLoginCaptcha

func (UnimplementedServiceServer) PasswordRegister

func (UnimplementedServiceServer) PasswordRegisterCaptcha

func (UnimplementedServiceServer) PasswordRegisterCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)

func (UnimplementedServiceServer) RefreshToken

func (UnimplementedServiceServer) UpdateCurrentUser

func (UnimplementedServiceServer) UpdateUser

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

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

Cause function returns cause value.

func (UpdateCurrentUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetApps

func (x *User) GetApps() []*User_App

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetChannels

func (x *User) GetChannels() []*User_Channel

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() uint32

func (*User) GetDisableDesc

func (x *User) GetDisableDesc() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetExtra

func (x *User) GetExtra() map[string]*structpb.Value

func (*User) GetExtraList

func (x *User) GetExtraList() []*User_Extra

func (*User) GetFrom

func (x *User) GetFrom() string

func (*User) GetFromDesc

func (x *User) GetFromDesc() string

func (*User) GetGender

func (x *User) GetGender() string

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetIdCard

func (x *User) GetIdCard() string

func (*User) GetNickName

func (x *User) GetNickName() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetRealName

func (x *User) GetRealName() string

func (*User) GetResource

func (x *User) GetResource() *v1.File

func (*User) GetStatus

func (x *User) GetStatus() bool

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() uint32

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use User_App.ProtoReflect.Descriptor instead.

func (*User_App) GetCreatedAt

func (x *User_App) GetCreatedAt() uint32

func (*User_App) GetId

func (x *User_App) GetId() uint32

func (*User_App) GetLoginAt

func (x *User_App) GetLoginAt() uint32
func (x *User_App) GetLogo() string

func (*User_App) GetName

func (x *User_App) GetName() string

func (*User_App) GetResource

func (x *User_App) GetResource() *v1.File

func (*User_App) ProtoMessage

func (*User_App) ProtoMessage()

func (*User_App) ProtoReflect

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

func (*User_App) Reset

func (x *User_App) Reset()

func (*User_App) String

func (x *User_App) String() string

func (*User_App) Validate

func (m *User_App) Validate() error

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

func (m *User_App) ValidateAll() error

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"`
	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 (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

Cause function returns cause value.

func (User_ChannelValidationError) Error

Error satisfies the builtin error interface

func (User_ChannelValidationError) ErrorName

func (e User_ChannelValidationError) ErrorName() string

ErrorName returns error name.

func (User_ChannelValidationError) Field

Field function returns field value.

func (User_ChannelValidationError) Key

Key function returns key value.

func (User_ChannelValidationError) Reason

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

Error satisfies the builtin error interface

func (User_ExtraValidationError) ErrorName

func (e User_ExtraValidationError) ErrorName() string

ErrorName returns error name.

func (User_ExtraValidationError) Field

Field function returns field value.

func (User_ExtraValidationError) Key

Key function returns key value.

func (User_ExtraValidationError) Reason

func (e User_ExtraValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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