v1

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Auth_CheckUser_FullMethodName                = "/api.public.auth.v1.Auth/CheckUser"
	Auth_CheckUserTelephone_FullMethodName       = "/api.public.auth.v1.Auth/CheckUserTelephone"
	Auth_UserLogin_FullMethodName                = "/api.public.auth.v1.Auth/UserLogin"
	Auth_TelephoneLogin_FullMethodName           = "/api.public.auth.v1.Auth/TelephoneLogin"
	Auth_UserRegister_FullMethodName             = "/api.public.auth.v1.Auth/UserRegister"
	Auth_TelephoneRegister_FullMethodName        = "/api.public.auth.v1.Auth/TelephoneRegister"
	Auth_ResetPassword_FullMethodName            = "/api.public.auth.v1.Auth/ResetPassword"
	Auth_TelephoneResetPassword_FullMethodName   = "/api.public.auth.v1.Auth/TelephoneResetPassword"
	Auth_GenerateCaptcha_FullMethodName          = "/api.public.auth.v1.Auth/GenerateCaptcha"
	Auth_VerifySliderCaptcha_FullMethodName      = "/api.public.auth.v1.Auth/VerifySliderCaptcha"
	Auth_AdminGenerateCaptcha_FullMethodName     = "/api.public.auth.v1.Auth/AdminGenerateCaptcha"
	Auth_AdminVerifySliderCaptcha_FullMethodName = "/api.public.auth.v1.Auth/AdminVerifySliderCaptcha"
	Auth_AdminLogin_FullMethodName               = "/api.public.auth.v1.Auth/AdminLogin"
	Auth_AdminResetPassword_FullMethodName       = "/api.public.auth.v1.Auth/AdminResetPassword"
	Auth_DeviceLogin_FullMethodName              = "/api.public.auth.v1.Auth/DeviceLogin"
)
View Source
const OperationAuthAdminGenerateCaptcha = "/api.public.auth.v1.Auth/AdminGenerateCaptcha"
View Source
const OperationAuthAdminLogin = "/api.public.auth.v1.Auth/AdminLogin"
View Source
const OperationAuthAdminResetPassword = "/api.public.auth.v1.Auth/AdminResetPassword"
View Source
const OperationAuthAdminVerifySliderCaptcha = "/api.public.auth.v1.Auth/AdminVerifySliderCaptcha"
View Source
const OperationAuthCheckUser = "/api.public.auth.v1.Auth/CheckUser"
View Source
const OperationAuthCheckUserTelephone = "/api.public.auth.v1.Auth/CheckUserTelephone"
View Source
const OperationAuthDeviceLogin = "/api.public.auth.v1.Auth/DeviceLogin"
View Source
const OperationAuthGenerateCaptcha = "/api.public.auth.v1.Auth/GenerateCaptcha"
View Source
const OperationAuthResetPassword = "/api.public.auth.v1.Auth/ResetPassword"
View Source
const OperationAuthTelephoneLogin = "/api.public.auth.v1.Auth/TelephoneLogin"
View Source
const OperationAuthTelephoneRegister = "/api.public.auth.v1.Auth/TelephoneRegister"
View Source
const OperationAuthTelephoneResetPassword = "/api.public.auth.v1.Auth/TelephoneResetPassword"
View Source
const OperationAuthUserLogin = "/api.public.auth.v1.Auth/UserLogin"
View Source
const OperationAuthUserRegister = "/api.public.auth.v1.Auth/UserRegister"
View Source
const OperationAuthVerifySliderCaptcha = "/api.public.auth.v1.Auth/VerifySliderCaptcha"

Variables

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.public.auth.v1.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckUser",
			Handler:    _Auth_CheckUser_Handler,
		},
		{
			MethodName: "CheckUserTelephone",
			Handler:    _Auth_CheckUserTelephone_Handler,
		},
		{
			MethodName: "UserLogin",
			Handler:    _Auth_UserLogin_Handler,
		},
		{
			MethodName: "TelephoneLogin",
			Handler:    _Auth_TelephoneLogin_Handler,
		},
		{
			MethodName: "UserRegister",
			Handler:    _Auth_UserRegister_Handler,
		},
		{
			MethodName: "TelephoneRegister",
			Handler:    _Auth_TelephoneRegister_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _Auth_ResetPassword_Handler,
		},
		{
			MethodName: "TelephoneResetPassword",
			Handler:    _Auth_TelephoneResetPassword_Handler,
		},
		{
			MethodName: "GenerateCaptcha",
			Handler:    _Auth_GenerateCaptcha_Handler,
		},
		{
			MethodName: "VerifySliderCaptcha",
			Handler:    _Auth_VerifySliderCaptcha_Handler,
		},
		{
			MethodName: "AdminGenerateCaptcha",
			Handler:    _Auth_AdminGenerateCaptcha_Handler,
		},
		{
			MethodName: "AdminVerifySliderCaptcha",
			Handler:    _Auth_AdminVerifySliderCaptcha_Handler,
		},
		{
			MethodName: "AdminLogin",
			Handler:    _Auth_AdminLogin_Handler,
		},
		{
			MethodName: "AdminResetPassword",
			Handler:    _Auth_AdminResetPassword_Handler,
		},
		{
			MethodName: "DeviceLogin",
			Handler:    _Auth_DeviceLogin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "public/auth/v1/auth.proto",
}

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

View Source
var File_public_auth_v1_auth_proto protoreflect.FileDescriptor

Functions

func RegisterAuthHTTPServer

func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

Types

type AuthClient

type AuthClient interface {
	// CheckUser checks if user email exists
	CheckUser(ctx context.Context, in *CheckUserRequest, opts ...grpc.CallOption) (*CheckUserReply, error)
	// CheckUserTelephone checks if user telephone exists
	CheckUserTelephone(ctx context.Context, in *CheckUserTelephoneRequest, opts ...grpc.CallOption) (*CheckUserTelephoneReply, error)
	// UserLogin logs in user with email and password
	UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// TelephoneLogin logs in user with telephone and password or code
	TelephoneLogin(ctx context.Context, in *TelephoneLoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// UserRegister registers a new user with email
	UserRegister(ctx context.Context, in *UserRegisterRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// TelephoneRegister registers a new user with telephone
	TelephoneRegister(ctx context.Context, in *TelephoneRegisterRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// ResetPassword resets user password with email
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// TelephoneResetPassword resets user password with telephone
	TelephoneResetPassword(ctx context.Context, in *TelephoneResetPasswordRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// GenerateCaptcha generates captcha data
	GenerateCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GenerateCaptchaReply, error)
	// VerifySliderCaptcha verifies slider captcha
	VerifySliderCaptcha(ctx context.Context, in *VerifySliderCaptchaRequest, opts ...grpc.CallOption) (*VerifySliderCaptchaReply, error)
	// AdminGenerateCaptcha generates admin captcha data
	AdminGenerateCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GenerateCaptchaReply, error)
	// AdminVerifySliderCaptcha verifies admin slider captcha
	AdminVerifySliderCaptcha(ctx context.Context, in *VerifySliderCaptchaRequest, opts ...grpc.CallOption) (*VerifySliderCaptchaReply, error)
	// AdminLogin logs in admin with email and password
	AdminLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// AdminResetPassword resets admin password with email
	AdminResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*LoginReply, error)
	// DeviceLogin logs in user with device identifier
	DeviceLogin(ctx context.Context, in *DeviceLoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
}

AuthClient is the client API for Auth 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 NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthHTTPClient

type AuthHTTPClient interface {
	// AdminGenerateCaptcha AdminGenerateCaptcha generates admin captcha data
	AdminGenerateCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GenerateCaptchaReply, err error)
	// AdminLogin AdminLogin logs in admin with email and password
	AdminLogin(ctx context.Context, req *UserLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// AdminResetPassword AdminResetPassword resets admin password with email
	AdminResetPassword(ctx context.Context, req *ResetPasswordRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// AdminVerifySliderCaptcha AdminVerifySliderCaptcha verifies admin slider captcha
	AdminVerifySliderCaptcha(ctx context.Context, req *VerifySliderCaptchaRequest, opts ...http.CallOption) (rsp *VerifySliderCaptchaReply, err error)
	// CheckUser CheckUser checks if user email exists
	CheckUser(ctx context.Context, req *CheckUserRequest, opts ...http.CallOption) (rsp *CheckUserReply, err error)
	// CheckUserTelephone CheckUserTelephone checks if user telephone exists
	CheckUserTelephone(ctx context.Context, req *CheckUserTelephoneRequest, opts ...http.CallOption) (rsp *CheckUserTelephoneReply, err error)
	// DeviceLogin DeviceLogin logs in user with device identifier
	DeviceLogin(ctx context.Context, req *DeviceLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// GenerateCaptcha GenerateCaptcha generates captcha data
	GenerateCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GenerateCaptchaReply, err error)
	// ResetPassword ResetPassword resets user password with email
	ResetPassword(ctx context.Context, req *ResetPasswordRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// TelephoneLogin TelephoneLogin logs in user with telephone and password or code
	TelephoneLogin(ctx context.Context, req *TelephoneLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// TelephoneRegister TelephoneRegister registers a new user with telephone
	TelephoneRegister(ctx context.Context, req *TelephoneRegisterRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// TelephoneResetPassword TelephoneResetPassword resets user password with telephone
	TelephoneResetPassword(ctx context.Context, req *TelephoneResetPasswordRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// UserLogin UserLogin logs in user with email and password
	UserLogin(ctx context.Context, req *UserLoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// UserRegister UserRegister registers a new user with email
	UserRegister(ctx context.Context, req *UserRegisterRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	// VerifySliderCaptcha VerifySliderCaptcha verifies slider captcha
	VerifySliderCaptcha(ctx context.Context, req *VerifySliderCaptchaRequest, opts ...http.CallOption) (rsp *VerifySliderCaptchaReply, err error)
}

func NewAuthHTTPClient

func NewAuthHTTPClient(client *http.Client) AuthHTTPClient

type AuthHTTPClientImpl

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

func (*AuthHTTPClientImpl) AdminGenerateCaptcha

func (c *AuthHTTPClientImpl) AdminGenerateCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GenerateCaptchaReply, error)

AdminGenerateCaptcha AdminGenerateCaptcha generates admin captcha data

func (*AuthHTTPClientImpl) AdminLogin

func (c *AuthHTTPClientImpl) AdminLogin(ctx context.Context, in *UserLoginRequest, opts ...http.CallOption) (*LoginReply, error)

AdminLogin AdminLogin logs in admin with email and password

func (*AuthHTTPClientImpl) AdminResetPassword

func (c *AuthHTTPClientImpl) AdminResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...http.CallOption) (*LoginReply, error)

AdminResetPassword AdminResetPassword resets admin password with email

func (*AuthHTTPClientImpl) AdminVerifySliderCaptcha

AdminVerifySliderCaptcha AdminVerifySliderCaptcha verifies admin slider captcha

func (*AuthHTTPClientImpl) CheckUser

CheckUser CheckUser checks if user email exists

func (*AuthHTTPClientImpl) CheckUserTelephone

CheckUserTelephone CheckUserTelephone checks if user telephone exists

func (*AuthHTTPClientImpl) DeviceLogin

func (c *AuthHTTPClientImpl) DeviceLogin(ctx context.Context, in *DeviceLoginRequest, opts ...http.CallOption) (*LoginReply, error)

DeviceLogin DeviceLogin logs in user with device identifier

func (*AuthHTTPClientImpl) GenerateCaptcha

func (c *AuthHTTPClientImpl) GenerateCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GenerateCaptchaReply, error)

GenerateCaptcha GenerateCaptcha generates captcha data

func (*AuthHTTPClientImpl) ResetPassword

func (c *AuthHTTPClientImpl) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...http.CallOption) (*LoginReply, error)

ResetPassword ResetPassword resets user password with email

func (*AuthHTTPClientImpl) TelephoneLogin

func (c *AuthHTTPClientImpl) TelephoneLogin(ctx context.Context, in *TelephoneLoginRequest, opts ...http.CallOption) (*LoginReply, error)

TelephoneLogin TelephoneLogin logs in user with telephone and password or code

func (*AuthHTTPClientImpl) TelephoneRegister

func (c *AuthHTTPClientImpl) TelephoneRegister(ctx context.Context, in *TelephoneRegisterRequest, opts ...http.CallOption) (*LoginReply, error)

TelephoneRegister TelephoneRegister registers a new user with telephone

func (*AuthHTTPClientImpl) TelephoneResetPassword

func (c *AuthHTTPClientImpl) TelephoneResetPassword(ctx context.Context, in *TelephoneResetPasswordRequest, opts ...http.CallOption) (*LoginReply, error)

TelephoneResetPassword TelephoneResetPassword resets user password with telephone

func (*AuthHTTPClientImpl) UserLogin

func (c *AuthHTTPClientImpl) UserLogin(ctx context.Context, in *UserLoginRequest, opts ...http.CallOption) (*LoginReply, error)

UserLogin UserLogin logs in user with email and password

func (*AuthHTTPClientImpl) UserRegister

func (c *AuthHTTPClientImpl) UserRegister(ctx context.Context, in *UserRegisterRequest, opts ...http.CallOption) (*LoginReply, error)

UserRegister UserRegister registers a new user with email

func (*AuthHTTPClientImpl) VerifySliderCaptcha

VerifySliderCaptcha VerifySliderCaptcha verifies slider captcha

type AuthHTTPServer

type AuthHTTPServer interface {
	// AdminGenerateCaptcha AdminGenerateCaptcha generates admin captcha data
	AdminGenerateCaptcha(context.Context, *emptypb.Empty) (*GenerateCaptchaReply, error)
	// AdminLogin AdminLogin logs in admin with email and password
	AdminLogin(context.Context, *UserLoginRequest) (*LoginReply, error)
	// AdminResetPassword AdminResetPassword resets admin password with email
	AdminResetPassword(context.Context, *ResetPasswordRequest) (*LoginReply, error)
	// AdminVerifySliderCaptcha AdminVerifySliderCaptcha verifies admin slider captcha
	AdminVerifySliderCaptcha(context.Context, *VerifySliderCaptchaRequest) (*VerifySliderCaptchaReply, error)
	// CheckUser CheckUser checks if user email exists
	CheckUser(context.Context, *CheckUserRequest) (*CheckUserReply, error)
	// CheckUserTelephone CheckUserTelephone checks if user telephone exists
	CheckUserTelephone(context.Context, *CheckUserTelephoneRequest) (*CheckUserTelephoneReply, error)
	// DeviceLogin DeviceLogin logs in user with device identifier
	DeviceLogin(context.Context, *DeviceLoginRequest) (*LoginReply, error)
	// GenerateCaptcha GenerateCaptcha generates captcha data
	GenerateCaptcha(context.Context, *emptypb.Empty) (*GenerateCaptchaReply, error)
	// ResetPassword ResetPassword resets user password with email
	ResetPassword(context.Context, *ResetPasswordRequest) (*LoginReply, error)
	// TelephoneLogin TelephoneLogin logs in user with telephone and password or code
	TelephoneLogin(context.Context, *TelephoneLoginRequest) (*LoginReply, error)
	// TelephoneRegister TelephoneRegister registers a new user with telephone
	TelephoneRegister(context.Context, *TelephoneRegisterRequest) (*LoginReply, error)
	// TelephoneResetPassword TelephoneResetPassword resets user password with telephone
	TelephoneResetPassword(context.Context, *TelephoneResetPasswordRequest) (*LoginReply, error)
	// UserLogin UserLogin logs in user with email and password
	UserLogin(context.Context, *UserLoginRequest) (*LoginReply, error)
	// UserRegister UserRegister registers a new user with email
	UserRegister(context.Context, *UserRegisterRequest) (*LoginReply, error)
	// VerifySliderCaptcha VerifySliderCaptcha verifies slider captcha
	VerifySliderCaptcha(context.Context, *VerifySliderCaptchaRequest) (*VerifySliderCaptchaReply, error)
}

type AuthServer

type AuthServer interface {
	// CheckUser checks if user email exists
	CheckUser(context.Context, *CheckUserRequest) (*CheckUserReply, error)
	// CheckUserTelephone checks if user telephone exists
	CheckUserTelephone(context.Context, *CheckUserTelephoneRequest) (*CheckUserTelephoneReply, error)
	// UserLogin logs in user with email and password
	UserLogin(context.Context, *UserLoginRequest) (*LoginReply, error)
	// TelephoneLogin logs in user with telephone and password or code
	TelephoneLogin(context.Context, *TelephoneLoginRequest) (*LoginReply, error)
	// UserRegister registers a new user with email
	UserRegister(context.Context, *UserRegisterRequest) (*LoginReply, error)
	// TelephoneRegister registers a new user with telephone
	TelephoneRegister(context.Context, *TelephoneRegisterRequest) (*LoginReply, error)
	// ResetPassword resets user password with email
	ResetPassword(context.Context, *ResetPasswordRequest) (*LoginReply, error)
	// TelephoneResetPassword resets user password with telephone
	TelephoneResetPassword(context.Context, *TelephoneResetPasswordRequest) (*LoginReply, error)
	// GenerateCaptcha generates captcha data
	GenerateCaptcha(context.Context, *emptypb.Empty) (*GenerateCaptchaReply, error)
	// VerifySliderCaptcha verifies slider captcha
	VerifySliderCaptcha(context.Context, *VerifySliderCaptchaRequest) (*VerifySliderCaptchaReply, error)
	// AdminGenerateCaptcha generates admin captcha data
	AdminGenerateCaptcha(context.Context, *emptypb.Empty) (*GenerateCaptchaReply, error)
	// AdminVerifySliderCaptcha verifies admin slider captcha
	AdminVerifySliderCaptcha(context.Context, *VerifySliderCaptchaRequest) (*VerifySliderCaptchaReply, error)
	// AdminLogin logs in admin with email and password
	AdminLogin(context.Context, *UserLoginRequest) (*LoginReply, error)
	// AdminResetPassword resets admin password with email
	AdminResetPassword(context.Context, *ResetPasswordRequest) (*LoginReply, error)
	// DeviceLogin logs in user with device identifier
	DeviceLogin(context.Context, *DeviceLoginRequest) (*LoginReply, error)
	// contains filtered or unexported methods
}

AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility.

type CheckUserReply

type CheckUserReply struct {
	Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"`
	// contains filtered or unexported fields
}

CheckUser reply

func (*CheckUserReply) Descriptor deprecated

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

Deprecated: Use CheckUserReply.ProtoReflect.Descriptor instead.

func (*CheckUserReply) GetExist

func (x *CheckUserReply) GetExist() bool

func (*CheckUserReply) ProtoMessage

func (*CheckUserReply) ProtoMessage()

func (*CheckUserReply) ProtoReflect

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

func (*CheckUserReply) Reset

func (x *CheckUserReply) Reset()

func (*CheckUserReply) String

func (x *CheckUserReply) String() string

func (*CheckUserReply) Validate

func (m *CheckUserReply) Validate() error

Validate checks the field values on CheckUserReply 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 (*CheckUserReply) ValidateAll

func (m *CheckUserReply) ValidateAll() error

ValidateAll checks the field values on CheckUserReply 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 CheckUserReplyMultiError, or nil if none found.

type CheckUserReplyMultiError

type CheckUserReplyMultiError []error

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

func (CheckUserReplyMultiError) AllErrors

func (m CheckUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckUserReplyMultiError) Error

func (m CheckUserReplyMultiError) Error() string

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

type CheckUserReplyValidationError

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

CheckUserReplyValidationError is the validation error returned by CheckUserReply.Validate if the designated constraints aren't met.

func (CheckUserReplyValidationError) Cause

Cause function returns cause value.

func (CheckUserReplyValidationError) Error

Error satisfies the builtin error interface

func (CheckUserReplyValidationError) ErrorName

func (e CheckUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CheckUserReplyValidationError) Field

Field function returns field value.

func (CheckUserReplyValidationError) Key

Key function returns key value.

func (CheckUserReplyValidationError) Reason

Reason function returns reason value.

type CheckUserRequest

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

CheckUser request

func (*CheckUserRequest) Descriptor deprecated

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

Deprecated: Use CheckUserRequest.ProtoReflect.Descriptor instead.

func (*CheckUserRequest) GetEmail

func (x *CheckUserRequest) GetEmail() string

func (*CheckUserRequest) ProtoMessage

func (*CheckUserRequest) ProtoMessage()

func (*CheckUserRequest) ProtoReflect

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

func (*CheckUserRequest) Reset

func (x *CheckUserRequest) Reset()

func (*CheckUserRequest) String

func (x *CheckUserRequest) String() string

func (*CheckUserRequest) Validate

func (m *CheckUserRequest) Validate() error

Validate checks the field values on CheckUserRequest 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 (*CheckUserRequest) ValidateAll

func (m *CheckUserRequest) ValidateAll() error

ValidateAll checks the field values on CheckUserRequest 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 CheckUserRequestMultiError, or nil if none found.

type CheckUserRequestMultiError

type CheckUserRequestMultiError []error

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

func (CheckUserRequestMultiError) AllErrors

func (m CheckUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckUserRequestMultiError) Error

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

type CheckUserRequestValidationError

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

CheckUserRequestValidationError is the validation error returned by CheckUserRequest.Validate if the designated constraints aren't met.

func (CheckUserRequestValidationError) Cause

Cause function returns cause value.

func (CheckUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckUserRequestValidationError) Field

Field function returns field value.

func (CheckUserRequestValidationError) Key

Key function returns key value.

func (CheckUserRequestValidationError) Reason

Reason function returns reason value.

type CheckUserTelephoneReply

type CheckUserTelephoneReply struct {
	Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"`
	// contains filtered or unexported fields
}

CheckUserTelephone reply

func (*CheckUserTelephoneReply) Descriptor deprecated

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

Deprecated: Use CheckUserTelephoneReply.ProtoReflect.Descriptor instead.

func (*CheckUserTelephoneReply) GetExist

func (x *CheckUserTelephoneReply) GetExist() bool

func (*CheckUserTelephoneReply) ProtoMessage

func (*CheckUserTelephoneReply) ProtoMessage()

func (*CheckUserTelephoneReply) ProtoReflect

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

func (*CheckUserTelephoneReply) Reset

func (x *CheckUserTelephoneReply) Reset()

func (*CheckUserTelephoneReply) String

func (x *CheckUserTelephoneReply) String() string

func (*CheckUserTelephoneReply) Validate

func (m *CheckUserTelephoneReply) Validate() error

Validate checks the field values on CheckUserTelephoneReply 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 (*CheckUserTelephoneReply) ValidateAll

func (m *CheckUserTelephoneReply) ValidateAll() error

ValidateAll checks the field values on CheckUserTelephoneReply 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 CheckUserTelephoneReplyMultiError, or nil if none found.

type CheckUserTelephoneReplyMultiError

type CheckUserTelephoneReplyMultiError []error

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

func (CheckUserTelephoneReplyMultiError) AllErrors

func (m CheckUserTelephoneReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckUserTelephoneReplyMultiError) Error

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

type CheckUserTelephoneReplyValidationError

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

CheckUserTelephoneReplyValidationError is the validation error returned by CheckUserTelephoneReply.Validate if the designated constraints aren't met.

func (CheckUserTelephoneReplyValidationError) Cause

Cause function returns cause value.

func (CheckUserTelephoneReplyValidationError) Error

Error satisfies the builtin error interface

func (CheckUserTelephoneReplyValidationError) ErrorName

ErrorName returns error name.

func (CheckUserTelephoneReplyValidationError) Field

Field function returns field value.

func (CheckUserTelephoneReplyValidationError) Key

Key function returns key value.

func (CheckUserTelephoneReplyValidationError) Reason

Reason function returns reason value.

type CheckUserTelephoneRequest

type CheckUserTelephoneRequest struct {
	Telephone         string `protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty"`
	TelephoneAreaCode string `protobuf:"bytes,2,opt,name=telephone_area_code,json=telephoneAreaCode,proto3" json:"telephone_area_code,omitempty"`
	// contains filtered or unexported fields
}

CheckUserTelephone request

func (*CheckUserTelephoneRequest) Descriptor deprecated

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

Deprecated: Use CheckUserTelephoneRequest.ProtoReflect.Descriptor instead.

func (*CheckUserTelephoneRequest) GetTelephone

func (x *CheckUserTelephoneRequest) GetTelephone() string

func (*CheckUserTelephoneRequest) GetTelephoneAreaCode

func (x *CheckUserTelephoneRequest) GetTelephoneAreaCode() string

func (*CheckUserTelephoneRequest) ProtoMessage

func (*CheckUserTelephoneRequest) ProtoMessage()

func (*CheckUserTelephoneRequest) ProtoReflect

func (*CheckUserTelephoneRequest) Reset

func (x *CheckUserTelephoneRequest) Reset()

func (*CheckUserTelephoneRequest) String

func (x *CheckUserTelephoneRequest) String() string

func (*CheckUserTelephoneRequest) Validate

func (m *CheckUserTelephoneRequest) Validate() error

Validate checks the field values on CheckUserTelephoneRequest 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 (*CheckUserTelephoneRequest) ValidateAll

func (m *CheckUserTelephoneRequest) ValidateAll() error

ValidateAll checks the field values on CheckUserTelephoneRequest 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 CheckUserTelephoneRequestMultiError, or nil if none found.

type CheckUserTelephoneRequestMultiError

type CheckUserTelephoneRequestMultiError []error

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

func (CheckUserTelephoneRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckUserTelephoneRequestMultiError) Error

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

type CheckUserTelephoneRequestValidationError

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

CheckUserTelephoneRequestValidationError is the validation error returned by CheckUserTelephoneRequest.Validate if the designated constraints aren't met.

func (CheckUserTelephoneRequestValidationError) Cause

Cause function returns cause value.

func (CheckUserTelephoneRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckUserTelephoneRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckUserTelephoneRequestValidationError) Field

Field function returns field value.

func (CheckUserTelephoneRequestValidationError) Key

Key function returns key value.

func (CheckUserTelephoneRequestValidationError) Reason

Reason function returns reason value.

type DeviceLoginRequest

type DeviceLoginRequest struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Ip         string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	UserAgent  string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	CfToken    string `protobuf:"bytes,4,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`
	ShortCode  string `protobuf:"bytes,5,opt,name=short_code,json=shortCode,proto3" json:"short_code,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceLoginRequest) Descriptor deprecated

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

Deprecated: Use DeviceLoginRequest.ProtoReflect.Descriptor instead.

func (*DeviceLoginRequest) GetCfToken

func (x *DeviceLoginRequest) GetCfToken() string

func (*DeviceLoginRequest) GetIdentifier

func (x *DeviceLoginRequest) GetIdentifier() string

func (*DeviceLoginRequest) GetIp

func (x *DeviceLoginRequest) GetIp() string

func (*DeviceLoginRequest) GetShortCode

func (x *DeviceLoginRequest) GetShortCode() string

func (*DeviceLoginRequest) GetUserAgent

func (x *DeviceLoginRequest) GetUserAgent() string

func (*DeviceLoginRequest) ProtoMessage

func (*DeviceLoginRequest) ProtoMessage()

func (*DeviceLoginRequest) ProtoReflect

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

func (*DeviceLoginRequest) Reset

func (x *DeviceLoginRequest) Reset()

func (*DeviceLoginRequest) String

func (x *DeviceLoginRequest) String() string

func (*DeviceLoginRequest) Validate

func (m *DeviceLoginRequest) Validate() error

Validate checks the field values on DeviceLoginRequest 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 (*DeviceLoginRequest) ValidateAll

func (m *DeviceLoginRequest) ValidateAll() error

ValidateAll checks the field values on DeviceLoginRequest 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 DeviceLoginRequestMultiError, or nil if none found.

type DeviceLoginRequestMultiError

type DeviceLoginRequestMultiError []error

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

func (DeviceLoginRequestMultiError) AllErrors

func (m DeviceLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeviceLoginRequestMultiError) Error

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

type DeviceLoginRequestValidationError

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

DeviceLoginRequestValidationError is the validation error returned by DeviceLoginRequest.Validate if the designated constraints aren't met.

func (DeviceLoginRequestValidationError) Cause

Cause function returns cause value.

func (DeviceLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (DeviceLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (DeviceLoginRequestValidationError) Field

Field function returns field value.

func (DeviceLoginRequestValidationError) Key

Key function returns key value.

func (DeviceLoginRequestValidationError) Reason

Reason function returns reason value.

type GenerateCaptchaReply

type GenerateCaptchaReply struct {
	Type       string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id         string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Image      string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	BlockImage string `protobuf:"bytes,4,opt,name=block_image,json=blockImage,proto3" json:"block_image,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateCaptchaReply) Descriptor deprecated

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

Deprecated: Use GenerateCaptchaReply.ProtoReflect.Descriptor instead.

func (*GenerateCaptchaReply) GetBlockImage

func (x *GenerateCaptchaReply) GetBlockImage() string

func (*GenerateCaptchaReply) GetId

func (x *GenerateCaptchaReply) GetId() string

func (*GenerateCaptchaReply) GetImage

func (x *GenerateCaptchaReply) GetImage() string

func (*GenerateCaptchaReply) GetType

func (x *GenerateCaptchaReply) GetType() string

func (*GenerateCaptchaReply) ProtoMessage

func (*GenerateCaptchaReply) ProtoMessage()

func (*GenerateCaptchaReply) ProtoReflect

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

func (*GenerateCaptchaReply) Reset

func (x *GenerateCaptchaReply) Reset()

func (*GenerateCaptchaReply) String

func (x *GenerateCaptchaReply) String() string

func (*GenerateCaptchaReply) Validate

func (m *GenerateCaptchaReply) Validate() error

Validate checks the field values on GenerateCaptchaReply 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 (*GenerateCaptchaReply) ValidateAll

func (m *GenerateCaptchaReply) ValidateAll() error

ValidateAll checks the field values on GenerateCaptchaReply 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 GenerateCaptchaReplyMultiError, or nil if none found.

type GenerateCaptchaReplyMultiError

type GenerateCaptchaReplyMultiError []error

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

func (GenerateCaptchaReplyMultiError) AllErrors

func (m GenerateCaptchaReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GenerateCaptchaReplyMultiError) Error

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

type GenerateCaptchaReplyValidationError

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

GenerateCaptchaReplyValidationError is the validation error returned by GenerateCaptchaReply.Validate if the designated constraints aren't met.

func (GenerateCaptchaReplyValidationError) Cause

Cause function returns cause value.

func (GenerateCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (GenerateCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (GenerateCaptchaReplyValidationError) Field

Field function returns field value.

func (GenerateCaptchaReplyValidationError) Key

Key function returns key value.

func (GenerateCaptchaReplyValidationError) Reason

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
}

LoginReply 登录响应

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 ResetPasswordRequest

type ResetPasswordRequest struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Code        string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                            // Email verification code (required)
	CfToken     string `protobuf:"bytes,4,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`       // Cloudflare turnstile token (optional)
	Ip          string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`                                // X-Original-Forwarded-For header
	UserAgent   string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // User-Agent header
	Identifier  string `protobuf:"bytes,7,opt,name=identifier,proto3" json:"identifier,omitempty"`                // Device identifier
	LoginType   string `protobuf:"bytes,8,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"` // Login-Type header fallback
	CaptchaId   string `protobuf:"bytes,9,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Reserved for local captcha compatibility
	CaptchaCode string `protobuf:"bytes,10,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken string `protobuf:"bytes,11,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

ResetPassword request

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetCaptchaCode

func (x *ResetPasswordRequest) GetCaptchaCode() string

func (*ResetPasswordRequest) GetCaptchaId

func (x *ResetPasswordRequest) GetCaptchaId() string

func (*ResetPasswordRequest) GetCfToken

func (x *ResetPasswordRequest) GetCfToken() string

func (*ResetPasswordRequest) GetCode

func (x *ResetPasswordRequest) GetCode() string

func (*ResetPasswordRequest) GetEmail

func (x *ResetPasswordRequest) GetEmail() string

func (*ResetPasswordRequest) GetIdentifier

func (x *ResetPasswordRequest) GetIdentifier() string

func (*ResetPasswordRequest) GetIp

func (x *ResetPasswordRequest) GetIp() string

func (*ResetPasswordRequest) GetLoginType

func (x *ResetPasswordRequest) GetLoginType() string

func (*ResetPasswordRequest) GetPassword

func (x *ResetPasswordRequest) GetPassword() string

func (*ResetPasswordRequest) GetSliderToken

func (x *ResetPasswordRequest) GetSliderToken() string

func (*ResetPasswordRequest) GetUserAgent

func (x *ResetPasswordRequest) GetUserAgent() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

func (*ResetPasswordRequest) Validate

func (m *ResetPasswordRequest) Validate() error

Validate checks the field values on ResetPasswordRequest 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 (*ResetPasswordRequest) ValidateAll

func (m *ResetPasswordRequest) ValidateAll() error

ValidateAll checks the field values on ResetPasswordRequest 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 ResetPasswordRequestMultiError, or nil if none found.

type ResetPasswordRequestMultiError

type ResetPasswordRequestMultiError []error

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

func (ResetPasswordRequestMultiError) AllErrors

func (m ResetPasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetPasswordRequestMultiError) Error

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

type ResetPasswordRequestValidationError

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

ResetPasswordRequestValidationError is the validation error returned by ResetPasswordRequest.Validate if the designated constraints aren't met.

func (ResetPasswordRequestValidationError) Cause

Cause function returns cause value.

func (ResetPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetPasswordRequestValidationError) Field

Field function returns field value.

func (ResetPasswordRequestValidationError) Key

Key function returns key value.

func (ResetPasswordRequestValidationError) Reason

Reason function returns reason value.

type TelephoneLoginRequest

type TelephoneLoginRequest struct {
	Telephone         string `protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty"`
	TelephoneAreaCode string `protobuf:"bytes,2,opt,name=telephone_area_code,json=telephoneAreaCode,proto3" json:"telephone_area_code,omitempty"`
	Password          string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`                                // Either password or telephone_code is required
	TelephoneCode     string `protobuf:"bytes,4,opt,name=telephone_code,json=telephoneCode,proto3" json:"telephone_code,omitempty"` // Either password or telephone_code is required
	CfToken           string `protobuf:"bytes,5,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`                   // Cloudflare turnstile token (optional)
	Ip                string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`                                            // X-Original-Forwarded-For header
	UserAgent         string `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`             // User-Agent header
	Identifier        string `protobuf:"bytes,8,opt,name=identifier,proto3" json:"identifier,omitempty"`                            // Device identifier
	LoginType         string `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`             // Login-Type header fallback
	CaptchaId         string `protobuf:"bytes,10,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"`            // Reserved for local captcha compatibility
	CaptchaCode       string `protobuf:"bytes,11,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken       string `protobuf:"bytes,12,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

TelephoneLogin request

func (*TelephoneLoginRequest) Descriptor deprecated

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

Deprecated: Use TelephoneLoginRequest.ProtoReflect.Descriptor instead.

func (*TelephoneLoginRequest) GetCaptchaCode

func (x *TelephoneLoginRequest) GetCaptchaCode() string

func (*TelephoneLoginRequest) GetCaptchaId

func (x *TelephoneLoginRequest) GetCaptchaId() string

func (*TelephoneLoginRequest) GetCfToken

func (x *TelephoneLoginRequest) GetCfToken() string

func (*TelephoneLoginRequest) GetIdentifier

func (x *TelephoneLoginRequest) GetIdentifier() string

func (*TelephoneLoginRequest) GetIp

func (x *TelephoneLoginRequest) GetIp() string

func (*TelephoneLoginRequest) GetLoginType

func (x *TelephoneLoginRequest) GetLoginType() string

func (*TelephoneLoginRequest) GetPassword

func (x *TelephoneLoginRequest) GetPassword() string

func (*TelephoneLoginRequest) GetSliderToken

func (x *TelephoneLoginRequest) GetSliderToken() string

func (*TelephoneLoginRequest) GetTelephone

func (x *TelephoneLoginRequest) GetTelephone() string

func (*TelephoneLoginRequest) GetTelephoneAreaCode

func (x *TelephoneLoginRequest) GetTelephoneAreaCode() string

func (*TelephoneLoginRequest) GetTelephoneCode

func (x *TelephoneLoginRequest) GetTelephoneCode() string

func (*TelephoneLoginRequest) GetUserAgent

func (x *TelephoneLoginRequest) GetUserAgent() string

func (*TelephoneLoginRequest) ProtoMessage

func (*TelephoneLoginRequest) ProtoMessage()

func (*TelephoneLoginRequest) ProtoReflect

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

func (*TelephoneLoginRequest) Reset

func (x *TelephoneLoginRequest) Reset()

func (*TelephoneLoginRequest) String

func (x *TelephoneLoginRequest) String() string

func (*TelephoneLoginRequest) Validate

func (m *TelephoneLoginRequest) Validate() error

Validate checks the field values on TelephoneLoginRequest 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 (*TelephoneLoginRequest) ValidateAll

func (m *TelephoneLoginRequest) ValidateAll() error

ValidateAll checks the field values on TelephoneLoginRequest 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 TelephoneLoginRequestMultiError, or nil if none found.

type TelephoneLoginRequestMultiError

type TelephoneLoginRequestMultiError []error

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

func (TelephoneLoginRequestMultiError) AllErrors

func (m TelephoneLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TelephoneLoginRequestMultiError) Error

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

type TelephoneLoginRequestValidationError

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

TelephoneLoginRequestValidationError is the validation error returned by TelephoneLoginRequest.Validate if the designated constraints aren't met.

func (TelephoneLoginRequestValidationError) Cause

Cause function returns cause value.

func (TelephoneLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (TelephoneLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (TelephoneLoginRequestValidationError) Field

Field function returns field value.

func (TelephoneLoginRequestValidationError) Key

Key function returns key value.

func (TelephoneLoginRequestValidationError) Reason

Reason function returns reason value.

type TelephoneRegisterRequest

type TelephoneRegisterRequest struct {
	Telephone         string `protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty"`
	TelephoneAreaCode string `protobuf:"bytes,2,opt,name=telephone_area_code,json=telephoneAreaCode,proto3" json:"telephone_area_code,omitempty"`
	Password          string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Invite            string `protobuf:"bytes,4,opt,name=invite,proto3" json:"invite,omitempty"`                         // Invite code (optional)
	Code              string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`                             // SMS verification code (required)
	CfToken           string `protobuf:"bytes,6,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`        // Cloudflare turnstile token (optional)
	Ip                string `protobuf:"bytes,7,opt,name=ip,proto3" json:"ip,omitempty"`                                 // X-Original-Forwarded-For header
	UserAgent         string `protobuf:"bytes,8,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`  // User-Agent header
	Identifier        string `protobuf:"bytes,9,opt,name=identifier,proto3" json:"identifier,omitempty"`                 // Device identifier
	LoginType         string `protobuf:"bytes,10,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"` // Login-Type header fallback
	CaptchaId         string `protobuf:"bytes,11,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Reserved for local captcha compatibility
	CaptchaCode       string `protobuf:"bytes,12,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken       string `protobuf:"bytes,13,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

TelephoneRegister request

func (*TelephoneRegisterRequest) Descriptor deprecated

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

Deprecated: Use TelephoneRegisterRequest.ProtoReflect.Descriptor instead.

func (*TelephoneRegisterRequest) GetCaptchaCode

func (x *TelephoneRegisterRequest) GetCaptchaCode() string

func (*TelephoneRegisterRequest) GetCaptchaId

func (x *TelephoneRegisterRequest) GetCaptchaId() string

func (*TelephoneRegisterRequest) GetCfToken

func (x *TelephoneRegisterRequest) GetCfToken() string

func (*TelephoneRegisterRequest) GetCode

func (x *TelephoneRegisterRequest) GetCode() string

func (*TelephoneRegisterRequest) GetIdentifier

func (x *TelephoneRegisterRequest) GetIdentifier() string

func (*TelephoneRegisterRequest) GetInvite

func (x *TelephoneRegisterRequest) GetInvite() string

func (*TelephoneRegisterRequest) GetIp

func (x *TelephoneRegisterRequest) GetIp() string

func (*TelephoneRegisterRequest) GetLoginType

func (x *TelephoneRegisterRequest) GetLoginType() string

func (*TelephoneRegisterRequest) GetPassword

func (x *TelephoneRegisterRequest) GetPassword() string

func (*TelephoneRegisterRequest) GetSliderToken

func (x *TelephoneRegisterRequest) GetSliderToken() string

func (*TelephoneRegisterRequest) GetTelephone

func (x *TelephoneRegisterRequest) GetTelephone() string

func (*TelephoneRegisterRequest) GetTelephoneAreaCode

func (x *TelephoneRegisterRequest) GetTelephoneAreaCode() string

func (*TelephoneRegisterRequest) GetUserAgent

func (x *TelephoneRegisterRequest) GetUserAgent() string

func (*TelephoneRegisterRequest) ProtoMessage

func (*TelephoneRegisterRequest) ProtoMessage()

func (*TelephoneRegisterRequest) ProtoReflect

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

func (*TelephoneRegisterRequest) Reset

func (x *TelephoneRegisterRequest) Reset()

func (*TelephoneRegisterRequest) String

func (x *TelephoneRegisterRequest) String() string

func (*TelephoneRegisterRequest) Validate

func (m *TelephoneRegisterRequest) Validate() error

Validate checks the field values on TelephoneRegisterRequest 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 (*TelephoneRegisterRequest) ValidateAll

func (m *TelephoneRegisterRequest) ValidateAll() error

ValidateAll checks the field values on TelephoneRegisterRequest 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 TelephoneRegisterRequestMultiError, or nil if none found.

type TelephoneRegisterRequestMultiError

type TelephoneRegisterRequestMultiError []error

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

func (TelephoneRegisterRequestMultiError) AllErrors

func (m TelephoneRegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TelephoneRegisterRequestMultiError) Error

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

type TelephoneRegisterRequestValidationError

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

TelephoneRegisterRequestValidationError is the validation error returned by TelephoneRegisterRequest.Validate if the designated constraints aren't met.

func (TelephoneRegisterRequestValidationError) Cause

Cause function returns cause value.

func (TelephoneRegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (TelephoneRegisterRequestValidationError) ErrorName

ErrorName returns error name.

func (TelephoneRegisterRequestValidationError) Field

Field function returns field value.

func (TelephoneRegisterRequestValidationError) Key

Key function returns key value.

func (TelephoneRegisterRequestValidationError) Reason

Reason function returns reason value.

type TelephoneResetPasswordRequest

type TelephoneResetPasswordRequest struct {
	Telephone         string `protobuf:"bytes,1,opt,name=telephone,proto3" json:"telephone,omitempty"`
	TelephoneAreaCode string `protobuf:"bytes,2,opt,name=telephone_area_code,json=telephoneAreaCode,proto3" json:"telephone_area_code,omitempty"`
	Password          string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Code              string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`                             // SMS verification code (required)
	CfToken           string `protobuf:"bytes,5,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`        // Cloudflare turnstile token (optional)
	Ip                string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`                                 // X-Original-Forwarded-For header
	UserAgent         string `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`  // User-Agent header
	Identifier        string `protobuf:"bytes,8,opt,name=identifier,proto3" json:"identifier,omitempty"`                 // Device identifier
	LoginType         string `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`  // Login-Type header fallback
	CaptchaId         string `protobuf:"bytes,10,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Reserved for local captcha compatibility
	CaptchaCode       string `protobuf:"bytes,11,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken       string `protobuf:"bytes,12,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

TelephoneResetPassword request

func (*TelephoneResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use TelephoneResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*TelephoneResetPasswordRequest) GetCaptchaCode

func (x *TelephoneResetPasswordRequest) GetCaptchaCode() string

func (*TelephoneResetPasswordRequest) GetCaptchaId

func (x *TelephoneResetPasswordRequest) GetCaptchaId() string

func (*TelephoneResetPasswordRequest) GetCfToken

func (x *TelephoneResetPasswordRequest) GetCfToken() string

func (*TelephoneResetPasswordRequest) GetCode

func (*TelephoneResetPasswordRequest) GetIdentifier

func (x *TelephoneResetPasswordRequest) GetIdentifier() string

func (*TelephoneResetPasswordRequest) GetIp

func (*TelephoneResetPasswordRequest) GetLoginType

func (x *TelephoneResetPasswordRequest) GetLoginType() string

func (*TelephoneResetPasswordRequest) GetPassword

func (x *TelephoneResetPasswordRequest) GetPassword() string

func (*TelephoneResetPasswordRequest) GetSliderToken

func (x *TelephoneResetPasswordRequest) GetSliderToken() string

func (*TelephoneResetPasswordRequest) GetTelephone

func (x *TelephoneResetPasswordRequest) GetTelephone() string

func (*TelephoneResetPasswordRequest) GetTelephoneAreaCode

func (x *TelephoneResetPasswordRequest) GetTelephoneAreaCode() string

func (*TelephoneResetPasswordRequest) GetUserAgent

func (x *TelephoneResetPasswordRequest) GetUserAgent() string

func (*TelephoneResetPasswordRequest) ProtoMessage

func (*TelephoneResetPasswordRequest) ProtoMessage()

func (*TelephoneResetPasswordRequest) ProtoReflect

func (*TelephoneResetPasswordRequest) Reset

func (x *TelephoneResetPasswordRequest) Reset()

func (*TelephoneResetPasswordRequest) String

func (*TelephoneResetPasswordRequest) Validate

func (m *TelephoneResetPasswordRequest) Validate() error

Validate checks the field values on TelephoneResetPasswordRequest 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 (*TelephoneResetPasswordRequest) ValidateAll

func (m *TelephoneResetPasswordRequest) ValidateAll() error

ValidateAll checks the field values on TelephoneResetPasswordRequest 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 TelephoneResetPasswordRequestMultiError, or nil if none found.

type TelephoneResetPasswordRequestMultiError

type TelephoneResetPasswordRequestMultiError []error

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

func (TelephoneResetPasswordRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (TelephoneResetPasswordRequestMultiError) Error

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

type TelephoneResetPasswordRequestValidationError

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

TelephoneResetPasswordRequestValidationError is the validation error returned by TelephoneResetPasswordRequest.Validate if the designated constraints aren't met.

func (TelephoneResetPasswordRequestValidationError) Cause

Cause function returns cause value.

func (TelephoneResetPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (TelephoneResetPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (TelephoneResetPasswordRequestValidationError) Field

Field function returns field value.

func (TelephoneResetPasswordRequestValidationError) Key

Key function returns key value.

func (TelephoneResetPasswordRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedAuthServer

type UnimplementedAuthServer struct{}

UnimplementedAuthServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAuthServer) AdminGenerateCaptcha

func (UnimplementedAuthServer) AdminLogin

func (UnimplementedAuthServer) AdminResetPassword

func (UnimplementedAuthServer) AdminVerifySliderCaptcha

func (UnimplementedAuthServer) CheckUser

func (UnimplementedAuthServer) DeviceLogin

func (UnimplementedAuthServer) GenerateCaptcha

func (UnimplementedAuthServer) ResetPassword

func (UnimplementedAuthServer) TelephoneLogin

func (UnimplementedAuthServer) TelephoneRegister

func (UnimplementedAuthServer) TelephoneResetPassword

func (UnimplementedAuthServer) UserLogin

func (UnimplementedAuthServer) UserRegister

type UnsafeAuthServer

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

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

type UserLoginRequest

type UserLoginRequest struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	CfToken     string `protobuf:"bytes,3,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`       // Cloudflare turnstile token (optional)
	Ip          string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`                                // X-Original-Forwarded-For header
	UserAgent   string `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // User-Agent header
	Identifier  string `protobuf:"bytes,6,opt,name=identifier,proto3" json:"identifier,omitempty"`                // Device identifier
	LoginType   string `protobuf:"bytes,7,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"` // Login-Type header fallback
	CaptchaId   string `protobuf:"bytes,8,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Reserved for local captcha compatibility
	CaptchaCode string `protobuf:"bytes,9,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken string `protobuf:"bytes,10,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

UserLogin request

func (*UserLoginRequest) Descriptor deprecated

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

Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.

func (*UserLoginRequest) GetCaptchaCode

func (x *UserLoginRequest) GetCaptchaCode() string

func (*UserLoginRequest) GetCaptchaId

func (x *UserLoginRequest) GetCaptchaId() string

func (*UserLoginRequest) GetCfToken

func (x *UserLoginRequest) GetCfToken() string

func (*UserLoginRequest) GetEmail

func (x *UserLoginRequest) GetEmail() string

func (*UserLoginRequest) GetIdentifier

func (x *UserLoginRequest) GetIdentifier() string

func (*UserLoginRequest) GetIp

func (x *UserLoginRequest) GetIp() string

func (*UserLoginRequest) GetLoginType

func (x *UserLoginRequest) GetLoginType() string

func (*UserLoginRequest) GetPassword

func (x *UserLoginRequest) GetPassword() string

func (*UserLoginRequest) GetSliderToken

func (x *UserLoginRequest) GetSliderToken() string

func (*UserLoginRequest) GetUserAgent

func (x *UserLoginRequest) GetUserAgent() string

func (*UserLoginRequest) ProtoMessage

func (*UserLoginRequest) ProtoMessage()

func (*UserLoginRequest) ProtoReflect

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

func (*UserLoginRequest) Reset

func (x *UserLoginRequest) Reset()

func (*UserLoginRequest) String

func (x *UserLoginRequest) String() string

func (*UserLoginRequest) Validate

func (m *UserLoginRequest) Validate() error

Validate checks the field values on UserLoginRequest 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 (*UserLoginRequest) ValidateAll

func (m *UserLoginRequest) ValidateAll() error

ValidateAll checks the field values on UserLoginRequest 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 UserLoginRequestMultiError, or nil if none found.

type UserLoginRequestMultiError

type UserLoginRequestMultiError []error

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

func (UserLoginRequestMultiError) AllErrors

func (m UserLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoginRequestMultiError) Error

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

type UserLoginRequestValidationError

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

UserLoginRequestValidationError is the validation error returned by UserLoginRequest.Validate if the designated constraints aren't met.

func (UserLoginRequestValidationError) Cause

Cause function returns cause value.

func (UserLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (UserLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (UserLoginRequestValidationError) Field

Field function returns field value.

func (UserLoginRequestValidationError) Key

Key function returns key value.

func (UserLoginRequestValidationError) Reason

Reason function returns reason value.

type UserRegisterRequest

type UserRegisterRequest struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Invite      string `protobuf:"bytes,3,opt,name=invite,proto3" json:"invite,omitempty"`                         // Invite code (optional)
	Code        string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`                             // Email verification code (optional, required if email verification enabled)
	CfToken     string `protobuf:"bytes,5,opt,name=cf_token,json=cfToken,proto3" json:"cf_token,omitempty"`        // Cloudflare turnstile token (optional)
	Ip          string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`                                 // X-Original-Forwarded-For header
	UserAgent   string `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`  // User-Agent header
	Identifier  string `protobuf:"bytes,8,opt,name=identifier,proto3" json:"identifier,omitempty"`                 // Device identifier
	LoginType   string `protobuf:"bytes,9,opt,name=login_type,json=loginType,proto3" json:"login_type,omitempty"`  // Login-Type header fallback
	CaptchaId   string `protobuf:"bytes,10,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // Reserved for local captcha compatibility
	CaptchaCode string `protobuf:"bytes,11,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
	SliderToken string `protobuf:"bytes,12,opt,name=slider_token,json=sliderToken,proto3" json:"slider_token,omitempty"`
	// contains filtered or unexported fields
}

UserRegister request

func (*UserRegisterRequest) Descriptor deprecated

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

Deprecated: Use UserRegisterRequest.ProtoReflect.Descriptor instead.

func (*UserRegisterRequest) GetCaptchaCode

func (x *UserRegisterRequest) GetCaptchaCode() string

func (*UserRegisterRequest) GetCaptchaId

func (x *UserRegisterRequest) GetCaptchaId() string

func (*UserRegisterRequest) GetCfToken

func (x *UserRegisterRequest) GetCfToken() string

func (*UserRegisterRequest) GetCode

func (x *UserRegisterRequest) GetCode() string

func (*UserRegisterRequest) GetEmail

func (x *UserRegisterRequest) GetEmail() string

func (*UserRegisterRequest) GetIdentifier

func (x *UserRegisterRequest) GetIdentifier() string

func (*UserRegisterRequest) GetInvite

func (x *UserRegisterRequest) GetInvite() string

func (*UserRegisterRequest) GetIp

func (x *UserRegisterRequest) GetIp() string

func (*UserRegisterRequest) GetLoginType

func (x *UserRegisterRequest) GetLoginType() string

func (*UserRegisterRequest) GetPassword

func (x *UserRegisterRequest) GetPassword() string

func (*UserRegisterRequest) GetSliderToken

func (x *UserRegisterRequest) GetSliderToken() string

func (*UserRegisterRequest) GetUserAgent

func (x *UserRegisterRequest) GetUserAgent() string

func (*UserRegisterRequest) ProtoMessage

func (*UserRegisterRequest) ProtoMessage()

func (*UserRegisterRequest) ProtoReflect

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

func (*UserRegisterRequest) Reset

func (x *UserRegisterRequest) Reset()

func (*UserRegisterRequest) String

func (x *UserRegisterRequest) String() string

func (*UserRegisterRequest) Validate

func (m *UserRegisterRequest) Validate() error

Validate checks the field values on UserRegisterRequest 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 (*UserRegisterRequest) ValidateAll

func (m *UserRegisterRequest) ValidateAll() error

ValidateAll checks the field values on UserRegisterRequest 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 UserRegisterRequestMultiError, or nil if none found.

type UserRegisterRequestMultiError

type UserRegisterRequestMultiError []error

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

func (UserRegisterRequestMultiError) AllErrors

func (m UserRegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserRegisterRequestMultiError) Error

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

type UserRegisterRequestValidationError

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

UserRegisterRequestValidationError is the validation error returned by UserRegisterRequest.Validate if the designated constraints aren't met.

func (UserRegisterRequestValidationError) Cause

Cause function returns cause value.

func (UserRegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (UserRegisterRequestValidationError) ErrorName

ErrorName returns error name.

func (UserRegisterRequestValidationError) Field

Field function returns field value.

func (UserRegisterRequestValidationError) Key

Key function returns key value.

func (UserRegisterRequestValidationError) Reason

Reason function returns reason value.

type VerifySliderCaptchaReply

type VerifySliderCaptchaReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifySliderCaptchaReply) Descriptor deprecated

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

Deprecated: Use VerifySliderCaptchaReply.ProtoReflect.Descriptor instead.

func (*VerifySliderCaptchaReply) GetToken

func (x *VerifySliderCaptchaReply) GetToken() string

func (*VerifySliderCaptchaReply) ProtoMessage

func (*VerifySliderCaptchaReply) ProtoMessage()

func (*VerifySliderCaptchaReply) ProtoReflect

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

func (*VerifySliderCaptchaReply) Reset

func (x *VerifySliderCaptchaReply) Reset()

func (*VerifySliderCaptchaReply) String

func (x *VerifySliderCaptchaReply) String() string

func (*VerifySliderCaptchaReply) Validate

func (m *VerifySliderCaptchaReply) Validate() error

Validate checks the field values on VerifySliderCaptchaReply 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 (*VerifySliderCaptchaReply) ValidateAll

func (m *VerifySliderCaptchaReply) ValidateAll() error

ValidateAll checks the field values on VerifySliderCaptchaReply 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 VerifySliderCaptchaReplyMultiError, or nil if none found.

type VerifySliderCaptchaReplyMultiError

type VerifySliderCaptchaReplyMultiError []error

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

func (VerifySliderCaptchaReplyMultiError) AllErrors

func (m VerifySliderCaptchaReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifySliderCaptchaReplyMultiError) Error

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

type VerifySliderCaptchaReplyValidationError

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

VerifySliderCaptchaReplyValidationError is the validation error returned by VerifySliderCaptchaReply.Validate if the designated constraints aren't met.

func (VerifySliderCaptchaReplyValidationError) Cause

Cause function returns cause value.

func (VerifySliderCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (VerifySliderCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (VerifySliderCaptchaReplyValidationError) Field

Field function returns field value.

func (VerifySliderCaptchaReplyValidationError) Key

Key function returns key value.

func (VerifySliderCaptchaReplyValidationError) Reason

Reason function returns reason value.

type VerifySliderCaptchaRequest

type VerifySliderCaptchaRequest struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	X     int32  `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y     int32  `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	Trail string `protobuf:"bytes,4,opt,name=trail,proto3" json:"trail,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifySliderCaptchaRequest) Descriptor deprecated

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

Deprecated: Use VerifySliderCaptchaRequest.ProtoReflect.Descriptor instead.

func (*VerifySliderCaptchaRequest) GetId

func (*VerifySliderCaptchaRequest) GetTrail

func (x *VerifySliderCaptchaRequest) GetTrail() string

func (*VerifySliderCaptchaRequest) GetX

func (*VerifySliderCaptchaRequest) GetY

func (*VerifySliderCaptchaRequest) ProtoMessage

func (*VerifySliderCaptchaRequest) ProtoMessage()

func (*VerifySliderCaptchaRequest) ProtoReflect

func (*VerifySliderCaptchaRequest) Reset

func (x *VerifySliderCaptchaRequest) Reset()

func (*VerifySliderCaptchaRequest) String

func (x *VerifySliderCaptchaRequest) String() string

func (*VerifySliderCaptchaRequest) Validate

func (m *VerifySliderCaptchaRequest) Validate() error

Validate checks the field values on VerifySliderCaptchaRequest 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 (*VerifySliderCaptchaRequest) ValidateAll

func (m *VerifySliderCaptchaRequest) ValidateAll() error

ValidateAll checks the field values on VerifySliderCaptchaRequest 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 VerifySliderCaptchaRequestMultiError, or nil if none found.

type VerifySliderCaptchaRequestMultiError

type VerifySliderCaptchaRequestMultiError []error

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

func (VerifySliderCaptchaRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (VerifySliderCaptchaRequestMultiError) Error

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

type VerifySliderCaptchaRequestValidationError

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

VerifySliderCaptchaRequestValidationError is the validation error returned by VerifySliderCaptchaRequest.Validate if the designated constraints aren't met.

func (VerifySliderCaptchaRequestValidationError) Cause

Cause function returns cause value.

func (VerifySliderCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifySliderCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifySliderCaptchaRequestValidationError) Field

Field function returns field value.

func (VerifySliderCaptchaRequestValidationError) Key

Key function returns key value.

func (VerifySliderCaptchaRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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