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: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Common_GetAds_FullMethodName                = "/api.public.common.v1.Common/GetAds"
	Common_GetClient_FullMethodName             = "/api.public.common.v1.Common/GetClient"
	Common_GetPrivacyPolicy_FullMethodName      = "/api.public.common.v1.Common/GetPrivacyPolicy"
	Common_GetTos_FullMethodName                = "/api.public.common.v1.Common/GetTos"
	Common_GetGlobalConfig_FullMethodName       = "/api.public.common.v1.Common/GetGlobalConfig"
	Common_Heartbeat_FullMethodName             = "/api.public.common.v1.Common/Heartbeat"
	Common_GetStat_FullMethodName               = "/api.public.common.v1.Common/GetStat"
	Common_SendEmailCode_FullMethodName         = "/api.public.common.v1.Common/SendEmailCode"
	Common_SendSmsCode_FullMethodName           = "/api.public.common.v1.Common/SendSmsCode"
	Common_CheckVerificationCode_FullMethodName = "/api.public.common.v1.Common/CheckVerificationCode"
)
View Source
const OperationCommonCheckVerificationCode = "/api.public.common.v1.Common/CheckVerificationCode"
View Source
const OperationCommonGetAds = "/api.public.common.v1.Common/GetAds"
View Source
const OperationCommonGetClient = "/api.public.common.v1.Common/GetClient"
View Source
const OperationCommonGetGlobalConfig = "/api.public.common.v1.Common/GetGlobalConfig"
View Source
const OperationCommonGetPrivacyPolicy = "/api.public.common.v1.Common/GetPrivacyPolicy"
View Source
const OperationCommonGetStat = "/api.public.common.v1.Common/GetStat"
View Source
const OperationCommonGetTos = "/api.public.common.v1.Common/GetTos"
View Source
const OperationCommonHeartbeat = "/api.public.common.v1.Common/Heartbeat"
View Source
const OperationCommonSendEmailCode = "/api.public.common.v1.Common/SendEmailCode"
View Source
const OperationCommonSendSmsCode = "/api.public.common.v1.Common/SendSmsCode"

Variables

View Source
var Common_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.public.common.v1.Common",
	HandlerType: (*CommonServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAds",
			Handler:    _Common_GetAds_Handler,
		},
		{
			MethodName: "GetClient",
			Handler:    _Common_GetClient_Handler,
		},
		{
			MethodName: "GetPrivacyPolicy",
			Handler:    _Common_GetPrivacyPolicy_Handler,
		},
		{
			MethodName: "GetTos",
			Handler:    _Common_GetTos_Handler,
		},
		{
			MethodName: "GetGlobalConfig",
			Handler:    _Common_GetGlobalConfig_Handler,
		},
		{
			MethodName: "Heartbeat",
			Handler:    _Common_Heartbeat_Handler,
		},
		{
			MethodName: "GetStat",
			Handler:    _Common_GetStat_Handler,
		},
		{
			MethodName: "SendEmailCode",
			Handler:    _Common_SendEmailCode_Handler,
		},
		{
			MethodName: "SendSmsCode",
			Handler:    _Common_SendSmsCode_Handler,
		},
		{
			MethodName: "CheckVerificationCode",
			Handler:    _Common_CheckVerificationCode_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "public/common/v1/common.proto",
}

Common_ServiceDesc is the grpc.ServiceDesc for Common 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_common_v1_common_proto protoreflect.FileDescriptor

Functions

func RegisterCommonHTTPServer

func RegisterCommonHTTPServer(s *http.Server, srv CommonHTTPServer)

func RegisterCommonServer

func RegisterCommonServer(s grpc.ServiceRegistrar, srv CommonServer)

Types

type Ads

type Ads struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Type        string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Content     string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	TargetUrl   string `protobuf:"bytes,6,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
	StartTime   int64  `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime     int64  `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Status      int32  `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt   int64  `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   int64  `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Ads message

func (*Ads) Descriptor deprecated

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

Deprecated: Use Ads.ProtoReflect.Descriptor instead.

func (*Ads) GetContent

func (x *Ads) GetContent() string

func (*Ads) GetCreatedAt

func (x *Ads) GetCreatedAt() int64

func (*Ads) GetDescription

func (x *Ads) GetDescription() string

func (*Ads) GetEndTime

func (x *Ads) GetEndTime() int64

func (*Ads) GetId

func (x *Ads) GetId() int64

func (*Ads) GetStartTime

func (x *Ads) GetStartTime() int64

func (*Ads) GetStatus

func (x *Ads) GetStatus() int32

func (*Ads) GetTargetUrl

func (x *Ads) GetTargetUrl() string

func (*Ads) GetTitle

func (x *Ads) GetTitle() string

func (*Ads) GetType

func (x *Ads) GetType() string

func (*Ads) GetUpdatedAt

func (x *Ads) GetUpdatedAt() int64

func (*Ads) ProtoMessage

func (*Ads) ProtoMessage()

func (*Ads) ProtoReflect

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

func (*Ads) Reset

func (x *Ads) Reset()

func (*Ads) String

func (x *Ads) String() string

func (*Ads) Validate

func (m *Ads) Validate() error

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

func (m *Ads) ValidateAll() error

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

type AdsMultiError

type AdsMultiError []error

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

func (AdsMultiError) AllErrors

func (m AdsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdsMultiError) Error

func (m AdsMultiError) Error() string

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

type AdsValidationError

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

AdsValidationError is the validation error returned by Ads.Validate if the designated constraints aren't met.

func (AdsValidationError) Cause

func (e AdsValidationError) Cause() error

Cause function returns cause value.

func (AdsValidationError) Error

func (e AdsValidationError) Error() string

Error satisfies the builtin error interface

func (AdsValidationError) ErrorName

func (e AdsValidationError) ErrorName() string

ErrorName returns error name.

func (AdsValidationError) Field

func (e AdsValidationError) Field() string

Field function returns field value.

func (AdsValidationError) Key

func (e AdsValidationError) Key() bool

Key function returns key value.

func (AdsValidationError) Reason

func (e AdsValidationError) Reason() string

Reason function returns reason value.

type AuthConfig

type AuthConfig struct {
	Mobile   *MobileAuthConfig `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email    *EmailAuthConfig  `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Device   *DeviceAuthConfig `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	Register *RegisterConfig   `protobuf:"bytes,4,opt,name=register,proto3" json:"register,omitempty"`
	// contains filtered or unexported fields
}

Auth configuration

func (*AuthConfig) Descriptor deprecated

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

Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig) GetDevice

func (x *AuthConfig) GetDevice() *DeviceAuthConfig

func (*AuthConfig) GetEmail

func (x *AuthConfig) GetEmail() *EmailAuthConfig

func (*AuthConfig) GetMobile

func (x *AuthConfig) GetMobile() *MobileAuthConfig

func (*AuthConfig) GetRegister

func (x *AuthConfig) GetRegister() *RegisterConfig

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) ProtoReflect

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

func (*AuthConfig) Reset

func (x *AuthConfig) Reset()

func (*AuthConfig) String

func (x *AuthConfig) String() string

func (*AuthConfig) Validate

func (m *AuthConfig) Validate() error

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

func (m *AuthConfig) ValidateAll() error

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

type AuthConfigMultiError

type AuthConfigMultiError []error

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

func (AuthConfigMultiError) AllErrors

func (m AuthConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthConfigMultiError) Error

func (m AuthConfigMultiError) Error() string

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

type AuthConfigValidationError

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

AuthConfigValidationError is the validation error returned by AuthConfig.Validate if the designated constraints aren't met.

func (AuthConfigValidationError) Cause

func (e AuthConfigValidationError) Cause() error

Cause function returns cause value.

func (AuthConfigValidationError) Error

Error satisfies the builtin error interface

func (AuthConfigValidationError) ErrorName

func (e AuthConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AuthConfigValidationError) Field

Field function returns field value.

func (AuthConfigValidationError) Key

Key function returns key value.

func (AuthConfigValidationError) Reason

func (e AuthConfigValidationError) Reason() string

Reason function returns reason value.

type CheckVerificationCodeReply

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

CheckVerificationCode Reply

func (*CheckVerificationCodeReply) Descriptor deprecated

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

Deprecated: Use CheckVerificationCodeReply.ProtoReflect.Descriptor instead.

func (*CheckVerificationCodeReply) GetStatus

func (x *CheckVerificationCodeReply) GetStatus() bool

func (*CheckVerificationCodeReply) ProtoMessage

func (*CheckVerificationCodeReply) ProtoMessage()

func (*CheckVerificationCodeReply) ProtoReflect

func (*CheckVerificationCodeReply) Reset

func (x *CheckVerificationCodeReply) Reset()

func (*CheckVerificationCodeReply) String

func (x *CheckVerificationCodeReply) String() string

func (*CheckVerificationCodeReply) Validate

func (m *CheckVerificationCodeReply) Validate() error

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

func (m *CheckVerificationCodeReply) ValidateAll() error

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

type CheckVerificationCodeReplyMultiError

type CheckVerificationCodeReplyMultiError []error

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

func (CheckVerificationCodeReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckVerificationCodeReplyMultiError) Error

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

type CheckVerificationCodeReplyValidationError

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

CheckVerificationCodeReplyValidationError is the validation error returned by CheckVerificationCodeReply.Validate if the designated constraints aren't met.

func (CheckVerificationCodeReplyValidationError) Cause

Cause function returns cause value.

func (CheckVerificationCodeReplyValidationError) Error

Error satisfies the builtin error interface

func (CheckVerificationCodeReplyValidationError) ErrorName

ErrorName returns error name.

func (CheckVerificationCodeReplyValidationError) Field

Field function returns field value.

func (CheckVerificationCodeReplyValidationError) Key

Key function returns key value.

func (CheckVerificationCodeReplyValidationError) Reason

Reason function returns reason value.

type CheckVerificationCodeRequest

type CheckVerificationCodeRequest struct {
	Method  string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // email or mobile
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Code    string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Type    int32  `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

CheckVerificationCode Request

func (*CheckVerificationCodeRequest) Descriptor deprecated

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

Deprecated: Use CheckVerificationCodeRequest.ProtoReflect.Descriptor instead.

func (*CheckVerificationCodeRequest) GetAccount

func (x *CheckVerificationCodeRequest) GetAccount() string

func (*CheckVerificationCodeRequest) GetCode

func (x *CheckVerificationCodeRequest) GetCode() string

func (*CheckVerificationCodeRequest) GetMethod

func (x *CheckVerificationCodeRequest) GetMethod() string

func (*CheckVerificationCodeRequest) GetType

func (x *CheckVerificationCodeRequest) GetType() int32

func (*CheckVerificationCodeRequest) ProtoMessage

func (*CheckVerificationCodeRequest) ProtoMessage()

func (*CheckVerificationCodeRequest) ProtoReflect

func (*CheckVerificationCodeRequest) Reset

func (x *CheckVerificationCodeRequest) Reset()

func (*CheckVerificationCodeRequest) String

func (*CheckVerificationCodeRequest) Validate

func (m *CheckVerificationCodeRequest) Validate() error

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

func (m *CheckVerificationCodeRequest) ValidateAll() error

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

type CheckVerificationCodeRequestMultiError

type CheckVerificationCodeRequestMultiError []error

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

func (CheckVerificationCodeRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CheckVerificationCodeRequestMultiError) Error

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

type CheckVerificationCodeRequestValidationError

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

CheckVerificationCodeRequestValidationError is the validation error returned by CheckVerificationCodeRequest.Validate if the designated constraints aren't met.

func (CheckVerificationCodeRequestValidationError) Cause

Cause function returns cause value.

func (CheckVerificationCodeRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckVerificationCodeRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckVerificationCodeRequestValidationError) Field

Field function returns field value.

func (CheckVerificationCodeRequestValidationError) Key

Key function returns key value.

func (CheckVerificationCodeRequestValidationError) Reason

Reason function returns reason value.

type CommonClient

type CommonClient interface {
	// Get ads list
	GetAds(ctx context.Context, in *GetAdsRequest, opts ...grpc.CallOption) (*GetAdsReply, error)
	// Get subscribe client list
	GetClient(ctx context.Context, in *GetClientRequest, opts ...grpc.CallOption) (*GetClientReply, error)
	// Get privacy policy
	GetPrivacyPolicy(ctx context.Context, in *GetPrivacyPolicyRequest, opts ...grpc.CallOption) (*GetPrivacyPolicyReply, error)
	// Get TOS (Terms of Service)
	GetTos(ctx context.Context, in *GetTosRequest, opts ...grpc.CallOption) (*GetTosReply, error)
	// Get global config
	GetGlobalConfig(ctx context.Context, in *GetGlobalConfigRequest, opts ...grpc.CallOption) (*GetGlobalConfigReply, error)
	// Heartbeat
	Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatReply, error)
	// Get statistics
	GetStat(ctx context.Context, in *GetStatRequest, opts ...grpc.CallOption) (*GetStatReply, error)
	// Send email verification code.
	// Error codes: 200 success (queued); 90016 invalid email; 90004 email disabled or SMTP not configured;
	// 401 send too frequently; 90015 daily limit; 20001 email exists (register); 20002 user not found (security);
	// 500 internal; 80001 queue enqueue failed.
	SendEmailCode(ctx context.Context, in *SendEmailCodeRequest, opts ...grpc.CallOption) (*SendCodeReply, error)
	// Send SMS verification code
	SendSmsCode(ctx context.Context, in *SendSmsCodeRequest, opts ...grpc.CallOption) (*SendCodeReply, error)
	// Check verification code
	CheckVerificationCode(ctx context.Context, in *CheckVerificationCodeRequest, opts ...grpc.CallOption) (*CheckVerificationCodeReply, error)
}

CommonClient is the client API for Common 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.

Common service for public APIs

func NewCommonClient

func NewCommonClient(cc grpc.ClientConnInterface) CommonClient

type CommonHTTPClient

type CommonHTTPClient interface {
	// CheckVerificationCode Check verification code
	CheckVerificationCode(ctx context.Context, req *CheckVerificationCodeRequest, opts ...http.CallOption) (rsp *CheckVerificationCodeReply, err error)
	// GetAds Get ads list
	GetAds(ctx context.Context, req *GetAdsRequest, opts ...http.CallOption) (rsp *GetAdsReply, err error)
	// GetClient Get subscribe client list
	GetClient(ctx context.Context, req *GetClientRequest, opts ...http.CallOption) (rsp *GetClientReply, err error)
	// GetGlobalConfig Get global config
	GetGlobalConfig(ctx context.Context, req *GetGlobalConfigRequest, opts ...http.CallOption) (rsp *GetGlobalConfigReply, err error)
	// GetPrivacyPolicy Get privacy policy
	GetPrivacyPolicy(ctx context.Context, req *GetPrivacyPolicyRequest, opts ...http.CallOption) (rsp *GetPrivacyPolicyReply, err error)
	// GetStat Get statistics
	GetStat(ctx context.Context, req *GetStatRequest, opts ...http.CallOption) (rsp *GetStatReply, err error)
	// GetTos Get TOS (Terms of Service)
	GetTos(ctx context.Context, req *GetTosRequest, opts ...http.CallOption) (rsp *GetTosReply, err error)
	// Heartbeat Heartbeat
	Heartbeat(ctx context.Context, req *HeartbeatRequest, opts ...http.CallOption) (rsp *HeartbeatReply, err error)
	// SendEmailCode Send email verification code.
	// Error codes: 200 success (queued); 90016 invalid email; 90004 email disabled or SMTP not configured;
	// 401 send too frequently; 90015 daily limit; 20001 email exists (register); 20002 user not found (security);
	// 500 internal; 80001 queue enqueue failed.
	SendEmailCode(ctx context.Context, req *SendEmailCodeRequest, opts ...http.CallOption) (rsp *SendCodeReply, err error)
	// SendSmsCode Send SMS verification code
	SendSmsCode(ctx context.Context, req *SendSmsCodeRequest, opts ...http.CallOption) (rsp *SendCodeReply, err error)
}

func NewCommonHTTPClient

func NewCommonHTTPClient(client *http.Client) CommonHTTPClient

type CommonHTTPClientImpl

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

func (*CommonHTTPClientImpl) CheckVerificationCode

CheckVerificationCode Check verification code

func (*CommonHTTPClientImpl) GetAds

GetAds Get ads list

func (*CommonHTTPClientImpl) GetClient

GetClient Get subscribe client list

func (*CommonHTTPClientImpl) GetGlobalConfig

GetGlobalConfig Get global config

func (*CommonHTTPClientImpl) GetPrivacyPolicy

GetPrivacyPolicy Get privacy policy

func (*CommonHTTPClientImpl) GetStat

GetStat Get statistics

func (*CommonHTTPClientImpl) GetTos

GetTos Get TOS (Terms of Service)

func (*CommonHTTPClientImpl) Heartbeat

Heartbeat Heartbeat

func (*CommonHTTPClientImpl) SendEmailCode

SendEmailCode Send email verification code. Error codes: 200 success (queued); 90016 invalid email; 90004 email disabled or SMTP not configured; 401 send too frequently; 90015 daily limit; 20001 email exists (register); 20002 user not found (security); 500 internal; 80001 queue enqueue failed.

func (*CommonHTTPClientImpl) SendSmsCode

SendSmsCode Send SMS verification code

type CommonHTTPServer

type CommonHTTPServer interface {
	// CheckVerificationCode Check verification code
	CheckVerificationCode(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeReply, error)
	// GetAds Get ads list
	GetAds(context.Context, *GetAdsRequest) (*GetAdsReply, error)
	// GetClient Get subscribe client list
	GetClient(context.Context, *GetClientRequest) (*GetClientReply, error)
	// GetGlobalConfig Get global config
	GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigReply, error)
	// GetPrivacyPolicy Get privacy policy
	GetPrivacyPolicy(context.Context, *GetPrivacyPolicyRequest) (*GetPrivacyPolicyReply, error)
	// GetStat Get statistics
	GetStat(context.Context, *GetStatRequest) (*GetStatReply, error)
	// GetTos Get TOS (Terms of Service)
	GetTos(context.Context, *GetTosRequest) (*GetTosReply, error)
	// Heartbeat Heartbeat
	Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatReply, error)
	// SendEmailCode Send email verification code.
	// Error codes: 200 success (queued); 90016 invalid email; 90004 email disabled or SMTP not configured;
	// 401 send too frequently; 90015 daily limit; 20001 email exists (register); 20002 user not found (security);
	// 500 internal; 80001 queue enqueue failed.
	SendEmailCode(context.Context, *SendEmailCodeRequest) (*SendCodeReply, error)
	// SendSmsCode Send SMS verification code
	SendSmsCode(context.Context, *SendSmsCodeRequest) (*SendCodeReply, error)
}

type CommonServer

type CommonServer interface {
	// Get ads list
	GetAds(context.Context, *GetAdsRequest) (*GetAdsReply, error)
	// Get subscribe client list
	GetClient(context.Context, *GetClientRequest) (*GetClientReply, error)
	// Get privacy policy
	GetPrivacyPolicy(context.Context, *GetPrivacyPolicyRequest) (*GetPrivacyPolicyReply, error)
	// Get TOS (Terms of Service)
	GetTos(context.Context, *GetTosRequest) (*GetTosReply, error)
	// Get global config
	GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigReply, error)
	// Heartbeat
	Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatReply, error)
	// Get statistics
	GetStat(context.Context, *GetStatRequest) (*GetStatReply, error)
	// Send email verification code.
	// Error codes: 200 success (queued); 90016 invalid email; 90004 email disabled or SMTP not configured;
	// 401 send too frequently; 90015 daily limit; 20001 email exists (register); 20002 user not found (security);
	// 500 internal; 80001 queue enqueue failed.
	SendEmailCode(context.Context, *SendEmailCodeRequest) (*SendCodeReply, error)
	// Send SMS verification code
	SendSmsCode(context.Context, *SendSmsCodeRequest) (*SendCodeReply, error)
	// Check verification code
	CheckVerificationCode(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeReply, error)
	// contains filtered or unexported methods
}

CommonServer is the server API for Common service. All implementations must embed UnimplementedCommonServer for forward compatibility.

Common service for public APIs

type CurrencyConfig

type CurrencyConfig struct {
	CurrencyUnit   string `protobuf:"bytes,1,opt,name=currency_unit,json=currencyUnit,proto3" json:"currency_unit,omitempty"`
	CurrencySymbol string `protobuf:"bytes,2,opt,name=currency_symbol,json=currencySymbol,proto3" json:"currency_symbol,omitempty"`
	// contains filtered or unexported fields
}

Currency configuration

func (*CurrencyConfig) Descriptor deprecated

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

Deprecated: Use CurrencyConfig.ProtoReflect.Descriptor instead.

func (*CurrencyConfig) GetCurrencySymbol

func (x *CurrencyConfig) GetCurrencySymbol() string

func (*CurrencyConfig) GetCurrencyUnit

func (x *CurrencyConfig) GetCurrencyUnit() string

func (*CurrencyConfig) ProtoMessage

func (*CurrencyConfig) ProtoMessage()

func (*CurrencyConfig) ProtoReflect

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

func (*CurrencyConfig) Reset

func (x *CurrencyConfig) Reset()

func (*CurrencyConfig) String

func (x *CurrencyConfig) String() string

func (*CurrencyConfig) Validate

func (m *CurrencyConfig) Validate() error

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

func (m *CurrencyConfig) ValidateAll() error

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

type CurrencyConfigMultiError

type CurrencyConfigMultiError []error

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

func (CurrencyConfigMultiError) AllErrors

func (m CurrencyConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CurrencyConfigMultiError) Error

func (m CurrencyConfigMultiError) Error() string

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

type CurrencyConfigValidationError

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

CurrencyConfigValidationError is the validation error returned by CurrencyConfig.Validate if the designated constraints aren't met.

func (CurrencyConfigValidationError) Cause

Cause function returns cause value.

func (CurrencyConfigValidationError) Error

Error satisfies the builtin error interface

func (CurrencyConfigValidationError) ErrorName

func (e CurrencyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CurrencyConfigValidationError) Field

Field function returns field value.

func (CurrencyConfigValidationError) Key

Key function returns key value.

func (CurrencyConfigValidationError) Reason

Reason function returns reason value.

type DeviceAuthConfig

type DeviceAuthConfig struct {
	Enable         bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	ShowAds        bool `protobuf:"varint,2,opt,name=show_ads,json=showAds,proto3" json:"show_ads,omitempty"`
	EnableSecurity bool `protobuf:"varint,3,opt,name=enable_security,json=enableSecurity,proto3" json:"enable_security,omitempty"`
	OnlyRealDevice bool `protobuf:"varint,4,opt,name=only_real_device,json=onlyRealDevice,proto3" json:"only_real_device,omitempty"`
	// contains filtered or unexported fields
}

Device auth configuration

func (*DeviceAuthConfig) Descriptor deprecated

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

Deprecated: Use DeviceAuthConfig.ProtoReflect.Descriptor instead.

func (*DeviceAuthConfig) GetEnable

func (x *DeviceAuthConfig) GetEnable() bool

func (*DeviceAuthConfig) GetEnableSecurity

func (x *DeviceAuthConfig) GetEnableSecurity() bool

func (*DeviceAuthConfig) GetOnlyRealDevice

func (x *DeviceAuthConfig) GetOnlyRealDevice() bool

func (*DeviceAuthConfig) GetShowAds

func (x *DeviceAuthConfig) GetShowAds() bool

func (*DeviceAuthConfig) ProtoMessage

func (*DeviceAuthConfig) ProtoMessage()

func (*DeviceAuthConfig) ProtoReflect

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

func (*DeviceAuthConfig) Reset

func (x *DeviceAuthConfig) Reset()

func (*DeviceAuthConfig) String

func (x *DeviceAuthConfig) String() string

func (*DeviceAuthConfig) Validate

func (m *DeviceAuthConfig) Validate() error

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

func (m *DeviceAuthConfig) ValidateAll() error

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

type DeviceAuthConfigMultiError

type DeviceAuthConfigMultiError []error

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

func (DeviceAuthConfigMultiError) AllErrors

func (m DeviceAuthConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeviceAuthConfigMultiError) Error

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

type DeviceAuthConfigValidationError

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

DeviceAuthConfigValidationError is the validation error returned by DeviceAuthConfig.Validate if the designated constraints aren't met.

func (DeviceAuthConfigValidationError) Cause

Cause function returns cause value.

func (DeviceAuthConfigValidationError) Error

Error satisfies the builtin error interface

func (DeviceAuthConfigValidationError) ErrorName

ErrorName returns error name.

func (DeviceAuthConfigValidationError) Field

Field function returns field value.

func (DeviceAuthConfigValidationError) Key

Key function returns key value.

func (DeviceAuthConfigValidationError) Reason

Reason function returns reason value.

type DownloadLink struct {
	Ios     string `protobuf:"bytes,1,opt,name=ios,proto3" json:"ios,omitempty"`
	Android string `protobuf:"bytes,2,opt,name=android,proto3" json:"android,omitempty"`
	Windows string `protobuf:"bytes,3,opt,name=windows,proto3" json:"windows,omitempty"`
	Mac     string `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"`
	Linux   string `protobuf:"bytes,5,opt,name=linux,proto3" json:"linux,omitempty"`
	Harmony string `protobuf:"bytes,6,opt,name=harmony,proto3" json:"harmony,omitempty"`
	// contains filtered or unexported fields
}

DownloadLink message

func (*DownloadLink) Descriptor deprecated

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

Deprecated: Use DownloadLink.ProtoReflect.Descriptor instead.

func (*DownloadLink) GetAndroid

func (x *DownloadLink) GetAndroid() string

func (*DownloadLink) GetHarmony

func (x *DownloadLink) GetHarmony() string

func (*DownloadLink) GetIos

func (x *DownloadLink) GetIos() string

func (*DownloadLink) GetLinux

func (x *DownloadLink) GetLinux() string

func (*DownloadLink) GetMac

func (x *DownloadLink) GetMac() string

func (*DownloadLink) GetWindows

func (x *DownloadLink) GetWindows() string

func (*DownloadLink) ProtoMessage

func (*DownloadLink) ProtoMessage()

func (*DownloadLink) ProtoReflect

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

func (*DownloadLink) Reset

func (x *DownloadLink) Reset()

func (*DownloadLink) String

func (x *DownloadLink) String() string

func (*DownloadLink) Validate

func (m *DownloadLink) Validate() error

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

func (m *DownloadLink) ValidateAll() error

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

type DownloadLinkMultiError

type DownloadLinkMultiError []error

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

func (DownloadLinkMultiError) AllErrors

func (m DownloadLinkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DownloadLinkMultiError) Error

func (m DownloadLinkMultiError) Error() string

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

type DownloadLinkValidationError

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

DownloadLinkValidationError is the validation error returned by DownloadLink.Validate if the designated constraints aren't met.

func (DownloadLinkValidationError) Cause

Cause function returns cause value.

func (DownloadLinkValidationError) Error

Error satisfies the builtin error interface

func (DownloadLinkValidationError) ErrorName

func (e DownloadLinkValidationError) ErrorName() string

ErrorName returns error name.

func (DownloadLinkValidationError) Field

Field function returns field value.

func (DownloadLinkValidationError) Key

Key function returns key value.

func (DownloadLinkValidationError) Reason

Reason function returns reason value.

type EmailAuthConfig

type EmailAuthConfig struct {
	Enable             bool   `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	EnableVerify       bool   `protobuf:"varint,2,opt,name=enable_verify,json=enableVerify,proto3" json:"enable_verify,omitempty"`
	EnableDomainSuffix bool   `protobuf:"varint,3,opt,name=enable_domain_suffix,json=enableDomainSuffix,proto3" json:"enable_domain_suffix,omitempty"`
	DomainSuffixList   string `protobuf:"bytes,4,opt,name=domain_suffix_list,json=domainSuffixList,proto3" json:"domain_suffix_list,omitempty"`
	// contains filtered or unexported fields
}

Email auth configuration

func (*EmailAuthConfig) Descriptor deprecated

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

Deprecated: Use EmailAuthConfig.ProtoReflect.Descriptor instead.

func (*EmailAuthConfig) GetDomainSuffixList

func (x *EmailAuthConfig) GetDomainSuffixList() string

func (*EmailAuthConfig) GetEnable

func (x *EmailAuthConfig) GetEnable() bool

func (*EmailAuthConfig) GetEnableDomainSuffix

func (x *EmailAuthConfig) GetEnableDomainSuffix() bool

func (*EmailAuthConfig) GetEnableVerify

func (x *EmailAuthConfig) GetEnableVerify() bool

func (*EmailAuthConfig) ProtoMessage

func (*EmailAuthConfig) ProtoMessage()

func (*EmailAuthConfig) ProtoReflect

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

func (*EmailAuthConfig) Reset

func (x *EmailAuthConfig) Reset()

func (*EmailAuthConfig) String

func (x *EmailAuthConfig) String() string

func (*EmailAuthConfig) Validate

func (m *EmailAuthConfig) Validate() error

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

func (m *EmailAuthConfig) ValidateAll() error

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

type EmailAuthConfigMultiError

type EmailAuthConfigMultiError []error

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

func (EmailAuthConfigMultiError) AllErrors

func (m EmailAuthConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EmailAuthConfigMultiError) Error

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

type EmailAuthConfigValidationError

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

EmailAuthConfigValidationError is the validation error returned by EmailAuthConfig.Validate if the designated constraints aren't met.

func (EmailAuthConfigValidationError) Cause

Cause function returns cause value.

func (EmailAuthConfigValidationError) Error

Error satisfies the builtin error interface

func (EmailAuthConfigValidationError) ErrorName

func (e EmailAuthConfigValidationError) ErrorName() string

ErrorName returns error name.

func (EmailAuthConfigValidationError) Field

Field function returns field value.

func (EmailAuthConfigValidationError) Key

Key function returns key value.

func (EmailAuthConfigValidationError) Reason

Reason function returns reason value.

type GetAdsReply

type GetAdsReply struct {
	List []*Ads `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

GetAds Reply

func (*GetAdsReply) Descriptor deprecated

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

Deprecated: Use GetAdsReply.ProtoReflect.Descriptor instead.

func (*GetAdsReply) GetList

func (x *GetAdsReply) GetList() []*Ads

func (*GetAdsReply) ProtoMessage

func (*GetAdsReply) ProtoMessage()

func (*GetAdsReply) ProtoReflect

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

func (*GetAdsReply) Reset

func (x *GetAdsReply) Reset()

func (*GetAdsReply) String

func (x *GetAdsReply) String() string

func (*GetAdsReply) Validate

func (m *GetAdsReply) Validate() error

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

func (m *GetAdsReply) ValidateAll() error

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

type GetAdsReplyMultiError

type GetAdsReplyMultiError []error

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

func (GetAdsReplyMultiError) AllErrors

func (m GetAdsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAdsReplyMultiError) Error

func (m GetAdsReplyMultiError) Error() string

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

type GetAdsReplyValidationError

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

GetAdsReplyValidationError is the validation error returned by GetAdsReply.Validate if the designated constraints aren't met.

func (GetAdsReplyValidationError) Cause

Cause function returns cause value.

func (GetAdsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAdsReplyValidationError) ErrorName

func (e GetAdsReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetAdsReplyValidationError) Field

Field function returns field value.

func (GetAdsReplyValidationError) Key

Key function returns key value.

func (GetAdsReplyValidationError) Reason

Reason function returns reason value.

type GetAdsRequest

type GetAdsRequest struct {
	Device   string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

GetAds Request

func (*GetAdsRequest) Descriptor deprecated

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

Deprecated: Use GetAdsRequest.ProtoReflect.Descriptor instead.

func (*GetAdsRequest) GetDevice

func (x *GetAdsRequest) GetDevice() string

func (*GetAdsRequest) GetPosition

func (x *GetAdsRequest) GetPosition() string

func (*GetAdsRequest) ProtoMessage

func (*GetAdsRequest) ProtoMessage()

func (*GetAdsRequest) ProtoReflect

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

func (*GetAdsRequest) Reset

func (x *GetAdsRequest) Reset()

func (*GetAdsRequest) String

func (x *GetAdsRequest) String() string

func (*GetAdsRequest) Validate

func (m *GetAdsRequest) Validate() error

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

func (m *GetAdsRequest) ValidateAll() error

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

type GetAdsRequestMultiError

type GetAdsRequestMultiError []error

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

func (GetAdsRequestMultiError) AllErrors

func (m GetAdsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAdsRequestMultiError) Error

func (m GetAdsRequestMultiError) Error() string

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

type GetAdsRequestValidationError

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

GetAdsRequestValidationError is the validation error returned by GetAdsRequest.Validate if the designated constraints aren't met.

func (GetAdsRequestValidationError) Cause

Cause function returns cause value.

func (GetAdsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAdsRequestValidationError) ErrorName

func (e GetAdsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetAdsRequestValidationError) Field

Field function returns field value.

func (GetAdsRequestValidationError) Key

Key function returns key value.

func (GetAdsRequestValidationError) Reason

Reason function returns reason value.

type GetClientReply

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

GetClient Reply

func (*GetClientReply) Descriptor deprecated

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

Deprecated: Use GetClientReply.ProtoReflect.Descriptor instead.

func (*GetClientReply) GetList

func (x *GetClientReply) GetList() []*SubscribeClient

func (*GetClientReply) GetTotal

func (x *GetClientReply) GetTotal() int32

func (*GetClientReply) ProtoMessage

func (*GetClientReply) ProtoMessage()

func (*GetClientReply) ProtoReflect

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

func (*GetClientReply) Reset

func (x *GetClientReply) Reset()

func (*GetClientReply) String

func (x *GetClientReply) String() string

func (*GetClientReply) Validate

func (m *GetClientReply) Validate() error

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

func (m *GetClientReply) ValidateAll() error

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

type GetClientReplyMultiError

type GetClientReplyMultiError []error

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

func (GetClientReplyMultiError) AllErrors

func (m GetClientReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetClientReplyMultiError) Error

func (m GetClientReplyMultiError) Error() string

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

type GetClientReplyValidationError

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

GetClientReplyValidationError is the validation error returned by GetClientReply.Validate if the designated constraints aren't met.

func (GetClientReplyValidationError) Cause

Cause function returns cause value.

func (GetClientReplyValidationError) Error

Error satisfies the builtin error interface

func (GetClientReplyValidationError) ErrorName

func (e GetClientReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetClientReplyValidationError) Field

Field function returns field value.

func (GetClientReplyValidationError) Key

Key function returns key value.

func (GetClientReplyValidationError) Reason

Reason function returns reason value.

type GetClientRequest

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

GetClient Request (empty)

func (*GetClientRequest) Descriptor deprecated

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

Deprecated: Use GetClientRequest.ProtoReflect.Descriptor instead.

func (*GetClientRequest) ProtoMessage

func (*GetClientRequest) ProtoMessage()

func (*GetClientRequest) ProtoReflect

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

func (*GetClientRequest) Reset

func (x *GetClientRequest) Reset()

func (*GetClientRequest) String

func (x *GetClientRequest) String() string

func (*GetClientRequest) Validate

func (m *GetClientRequest) Validate() error

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

func (m *GetClientRequest) ValidateAll() error

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

type GetClientRequestMultiError

type GetClientRequestMultiError []error

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

func (GetClientRequestMultiError) AllErrors

func (m GetClientRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetClientRequestMultiError) Error

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

type GetClientRequestValidationError

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

GetClientRequestValidationError is the validation error returned by GetClientRequest.Validate if the designated constraints aren't met.

func (GetClientRequestValidationError) Cause

Cause function returns cause value.

func (GetClientRequestValidationError) Error

Error satisfies the builtin error interface

func (GetClientRequestValidationError) ErrorName

ErrorName returns error name.

func (GetClientRequestValidationError) Field

Field function returns field value.

func (GetClientRequestValidationError) Key

Key function returns key value.

func (GetClientRequestValidationError) Reason

Reason function returns reason value.

type GetGlobalConfigReply

type GetGlobalConfigReply struct {
	Site         *SiteConfig             `protobuf:"bytes,1,opt,name=site,proto3" json:"site,omitempty"`
	Verify       *VerifyConfig           `protobuf:"bytes,2,opt,name=verify,proto3" json:"verify,omitempty"`
	Auth         *AuthConfig             `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	Invite       *InviteConfig           `protobuf:"bytes,4,opt,name=invite,proto3" json:"invite,omitempty"`
	Currency     *CurrencyConfig         `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
	Subscribe    *SubscribeConfig        `protobuf:"bytes,6,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
	VerifyCode   *PublicVerifyCodeConfig `protobuf:"bytes,7,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"`
	OauthMethods []string                `protobuf:"bytes,8,rep,name=oauth_methods,json=oauthMethods,proto3" json:"oauth_methods,omitempty"`
	WebAd        bool                    `protobuf:"varint,9,opt,name=web_ad,json=webAd,proto3" json:"web_ad,omitempty"`
	// contains filtered or unexported fields
}

GetGlobalConfig Reply

func (*GetGlobalConfigReply) Descriptor deprecated

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

Deprecated: Use GetGlobalConfigReply.ProtoReflect.Descriptor instead.

func (*GetGlobalConfigReply) GetAuth

func (x *GetGlobalConfigReply) GetAuth() *AuthConfig

func (*GetGlobalConfigReply) GetCurrency

func (x *GetGlobalConfigReply) GetCurrency() *CurrencyConfig

func (*GetGlobalConfigReply) GetInvite

func (x *GetGlobalConfigReply) GetInvite() *InviteConfig

func (*GetGlobalConfigReply) GetOauthMethods

func (x *GetGlobalConfigReply) GetOauthMethods() []string

func (*GetGlobalConfigReply) GetSite

func (x *GetGlobalConfigReply) GetSite() *SiteConfig

func (*GetGlobalConfigReply) GetSubscribe

func (x *GetGlobalConfigReply) GetSubscribe() *SubscribeConfig

func (*GetGlobalConfigReply) GetVerify

func (x *GetGlobalConfigReply) GetVerify() *VerifyConfig

func (*GetGlobalConfigReply) GetVerifyCode

func (x *GetGlobalConfigReply) GetVerifyCode() *PublicVerifyCodeConfig

func (*GetGlobalConfigReply) GetWebAd

func (x *GetGlobalConfigReply) GetWebAd() bool

func (*GetGlobalConfigReply) ProtoMessage

func (*GetGlobalConfigReply) ProtoMessage()

func (*GetGlobalConfigReply) ProtoReflect

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

func (*GetGlobalConfigReply) Reset

func (x *GetGlobalConfigReply) Reset()

func (*GetGlobalConfigReply) String

func (x *GetGlobalConfigReply) String() string

func (*GetGlobalConfigReply) Validate

func (m *GetGlobalConfigReply) Validate() error

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

func (m *GetGlobalConfigReply) ValidateAll() error

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

type GetGlobalConfigReplyMultiError

type GetGlobalConfigReplyMultiError []error

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

func (GetGlobalConfigReplyMultiError) AllErrors

func (m GetGlobalConfigReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGlobalConfigReplyMultiError) Error

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

type GetGlobalConfigReplyValidationError

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

GetGlobalConfigReplyValidationError is the validation error returned by GetGlobalConfigReply.Validate if the designated constraints aren't met.

func (GetGlobalConfigReplyValidationError) Cause

Cause function returns cause value.

func (GetGlobalConfigReplyValidationError) Error

Error satisfies the builtin error interface

func (GetGlobalConfigReplyValidationError) ErrorName

ErrorName returns error name.

func (GetGlobalConfigReplyValidationError) Field

Field function returns field value.

func (GetGlobalConfigReplyValidationError) Key

Key function returns key value.

func (GetGlobalConfigReplyValidationError) Reason

Reason function returns reason value.

type GetGlobalConfigRequest

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

GetGlobalConfig Request (empty)

func (*GetGlobalConfigRequest) Descriptor deprecated

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

Deprecated: Use GetGlobalConfigRequest.ProtoReflect.Descriptor instead.

func (*GetGlobalConfigRequest) ProtoMessage

func (*GetGlobalConfigRequest) ProtoMessage()

func (*GetGlobalConfigRequest) ProtoReflect

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

func (*GetGlobalConfigRequest) Reset

func (x *GetGlobalConfigRequest) Reset()

func (*GetGlobalConfigRequest) String

func (x *GetGlobalConfigRequest) String() string

func (*GetGlobalConfigRequest) Validate

func (m *GetGlobalConfigRequest) Validate() error

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

func (m *GetGlobalConfigRequest) ValidateAll() error

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

type GetGlobalConfigRequestMultiError

type GetGlobalConfigRequestMultiError []error

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

func (GetGlobalConfigRequestMultiError) AllErrors

func (m GetGlobalConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGlobalConfigRequestMultiError) Error

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

type GetGlobalConfigRequestValidationError

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

GetGlobalConfigRequestValidationError is the validation error returned by GetGlobalConfigRequest.Validate if the designated constraints aren't met.

func (GetGlobalConfigRequestValidationError) Cause

Cause function returns cause value.

func (GetGlobalConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGlobalConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGlobalConfigRequestValidationError) Field

Field function returns field value.

func (GetGlobalConfigRequestValidationError) Key

Key function returns key value.

func (GetGlobalConfigRequestValidationError) Reason

Reason function returns reason value.

type GetPrivacyPolicyReply

type GetPrivacyPolicyReply struct {
	PrivacyPolicy string `protobuf:"bytes,1,opt,name=privacy_policy,json=privacyPolicy,proto3" json:"privacy_policy,omitempty"`
	// contains filtered or unexported fields
}

GetPrivacyPolicy Reply

func (*GetPrivacyPolicyReply) Descriptor deprecated

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

Deprecated: Use GetPrivacyPolicyReply.ProtoReflect.Descriptor instead.

func (*GetPrivacyPolicyReply) GetPrivacyPolicy

func (x *GetPrivacyPolicyReply) GetPrivacyPolicy() string

func (*GetPrivacyPolicyReply) ProtoMessage

func (*GetPrivacyPolicyReply) ProtoMessage()

func (*GetPrivacyPolicyReply) ProtoReflect

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

func (*GetPrivacyPolicyReply) Reset

func (x *GetPrivacyPolicyReply) Reset()

func (*GetPrivacyPolicyReply) String

func (x *GetPrivacyPolicyReply) String() string

func (*GetPrivacyPolicyReply) Validate

func (m *GetPrivacyPolicyReply) Validate() error

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

func (m *GetPrivacyPolicyReply) ValidateAll() error

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

type GetPrivacyPolicyReplyMultiError

type GetPrivacyPolicyReplyMultiError []error

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

func (GetPrivacyPolicyReplyMultiError) AllErrors

func (m GetPrivacyPolicyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPrivacyPolicyReplyMultiError) Error

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

type GetPrivacyPolicyReplyValidationError

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

GetPrivacyPolicyReplyValidationError is the validation error returned by GetPrivacyPolicyReply.Validate if the designated constraints aren't met.

func (GetPrivacyPolicyReplyValidationError) Cause

Cause function returns cause value.

func (GetPrivacyPolicyReplyValidationError) Error

Error satisfies the builtin error interface

func (GetPrivacyPolicyReplyValidationError) ErrorName

ErrorName returns error name.

func (GetPrivacyPolicyReplyValidationError) Field

Field function returns field value.

func (GetPrivacyPolicyReplyValidationError) Key

Key function returns key value.

func (GetPrivacyPolicyReplyValidationError) Reason

Reason function returns reason value.

type GetPrivacyPolicyRequest

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

GetPrivacyPolicy Request (empty)

func (*GetPrivacyPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPrivacyPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPrivacyPolicyRequest) ProtoMessage

func (*GetPrivacyPolicyRequest) ProtoMessage()

func (*GetPrivacyPolicyRequest) ProtoReflect

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

func (*GetPrivacyPolicyRequest) Reset

func (x *GetPrivacyPolicyRequest) Reset()

func (*GetPrivacyPolicyRequest) String

func (x *GetPrivacyPolicyRequest) String() string

func (*GetPrivacyPolicyRequest) Validate

func (m *GetPrivacyPolicyRequest) Validate() error

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

func (m *GetPrivacyPolicyRequest) ValidateAll() error

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

type GetPrivacyPolicyRequestMultiError

type GetPrivacyPolicyRequestMultiError []error

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

func (GetPrivacyPolicyRequestMultiError) AllErrors

func (m GetPrivacyPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPrivacyPolicyRequestMultiError) Error

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

type GetPrivacyPolicyRequestValidationError

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

GetPrivacyPolicyRequestValidationError is the validation error returned by GetPrivacyPolicyRequest.Validate if the designated constraints aren't met.

func (GetPrivacyPolicyRequestValidationError) Cause

Cause function returns cause value.

func (GetPrivacyPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPrivacyPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPrivacyPolicyRequestValidationError) Field

Field function returns field value.

func (GetPrivacyPolicyRequestValidationError) Key

Key function returns key value.

func (GetPrivacyPolicyRequestValidationError) Reason

Reason function returns reason value.

type GetStatReply

type GetStatReply struct {
	User     int64    `protobuf:"varint,1,opt,name=user,proto3" json:"user,omitempty"`
	Node     int64    `protobuf:"varint,2,opt,name=node,proto3" json:"node,omitempty"`
	Country  int64    `protobuf:"varint,3,opt,name=country,proto3" json:"country,omitempty"`
	Protocol []string `protobuf:"bytes,4,rep,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

GetStat Reply

func (*GetStatReply) Descriptor deprecated

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

Deprecated: Use GetStatReply.ProtoReflect.Descriptor instead.

func (*GetStatReply) GetCountry

func (x *GetStatReply) GetCountry() int64

func (*GetStatReply) GetNode

func (x *GetStatReply) GetNode() int64

func (*GetStatReply) GetProtocol

func (x *GetStatReply) GetProtocol() []string

func (*GetStatReply) GetUser

func (x *GetStatReply) GetUser() int64

func (*GetStatReply) ProtoMessage

func (*GetStatReply) ProtoMessage()

func (*GetStatReply) ProtoReflect

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

func (*GetStatReply) Reset

func (x *GetStatReply) Reset()

func (*GetStatReply) String

func (x *GetStatReply) String() string

func (*GetStatReply) Validate

func (m *GetStatReply) Validate() error

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

func (m *GetStatReply) ValidateAll() error

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

type GetStatReplyMultiError

type GetStatReplyMultiError []error

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

func (GetStatReplyMultiError) AllErrors

func (m GetStatReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStatReplyMultiError) Error

func (m GetStatReplyMultiError) Error() string

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

type GetStatReplyValidationError

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

GetStatReplyValidationError is the validation error returned by GetStatReply.Validate if the designated constraints aren't met.

func (GetStatReplyValidationError) Cause

Cause function returns cause value.

func (GetStatReplyValidationError) Error

Error satisfies the builtin error interface

func (GetStatReplyValidationError) ErrorName

func (e GetStatReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetStatReplyValidationError) Field

Field function returns field value.

func (GetStatReplyValidationError) Key

Key function returns key value.

func (GetStatReplyValidationError) Reason

Reason function returns reason value.

type GetStatRequest

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

GetStat Request (empty)

func (*GetStatRequest) Descriptor deprecated

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

Deprecated: Use GetStatRequest.ProtoReflect.Descriptor instead.

func (*GetStatRequest) ProtoMessage

func (*GetStatRequest) ProtoMessage()

func (*GetStatRequest) ProtoReflect

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

func (*GetStatRequest) Reset

func (x *GetStatRequest) Reset()

func (*GetStatRequest) String

func (x *GetStatRequest) String() string

func (*GetStatRequest) Validate

func (m *GetStatRequest) Validate() error

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

func (m *GetStatRequest) ValidateAll() error

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

type GetStatRequestMultiError

type GetStatRequestMultiError []error

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

func (GetStatRequestMultiError) AllErrors

func (m GetStatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStatRequestMultiError) Error

func (m GetStatRequestMultiError) Error() string

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

type GetStatRequestValidationError

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

GetStatRequestValidationError is the validation error returned by GetStatRequest.Validate if the designated constraints aren't met.

func (GetStatRequestValidationError) Cause

Cause function returns cause value.

func (GetStatRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStatRequestValidationError) ErrorName

func (e GetStatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetStatRequestValidationError) Field

Field function returns field value.

func (GetStatRequestValidationError) Key

Key function returns key value.

func (GetStatRequestValidationError) Reason

Reason function returns reason value.

type GetTosReply

type GetTosReply struct {
	TosContent string `protobuf:"bytes,1,opt,name=tos_content,json=tosContent,proto3" json:"tos_content,omitempty"`
	// contains filtered or unexported fields
}

GetTos Reply

func (*GetTosReply) Descriptor deprecated

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

Deprecated: Use GetTosReply.ProtoReflect.Descriptor instead.

func (*GetTosReply) GetTosContent

func (x *GetTosReply) GetTosContent() string

func (*GetTosReply) ProtoMessage

func (*GetTosReply) ProtoMessage()

func (*GetTosReply) ProtoReflect

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

func (*GetTosReply) Reset

func (x *GetTosReply) Reset()

func (*GetTosReply) String

func (x *GetTosReply) String() string

func (*GetTosReply) Validate

func (m *GetTosReply) Validate() error

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

func (m *GetTosReply) ValidateAll() error

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

type GetTosReplyMultiError

type GetTosReplyMultiError []error

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

func (GetTosReplyMultiError) AllErrors

func (m GetTosReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTosReplyMultiError) Error

func (m GetTosReplyMultiError) Error() string

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

type GetTosReplyValidationError

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

GetTosReplyValidationError is the validation error returned by GetTosReply.Validate if the designated constraints aren't met.

func (GetTosReplyValidationError) Cause

Cause function returns cause value.

func (GetTosReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTosReplyValidationError) ErrorName

func (e GetTosReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetTosReplyValidationError) Field

Field function returns field value.

func (GetTosReplyValidationError) Key

Key function returns key value.

func (GetTosReplyValidationError) Reason

Reason function returns reason value.

type GetTosRequest

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

GetTos Request (empty)

func (*GetTosRequest) Descriptor deprecated

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

Deprecated: Use GetTosRequest.ProtoReflect.Descriptor instead.

func (*GetTosRequest) ProtoMessage

func (*GetTosRequest) ProtoMessage()

func (*GetTosRequest) ProtoReflect

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

func (*GetTosRequest) Reset

func (x *GetTosRequest) Reset()

func (*GetTosRequest) String

func (x *GetTosRequest) String() string

func (*GetTosRequest) Validate

func (m *GetTosRequest) Validate() error

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

func (m *GetTosRequest) ValidateAll() error

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

type GetTosRequestMultiError

type GetTosRequestMultiError []error

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

func (GetTosRequestMultiError) AllErrors

func (m GetTosRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTosRequestMultiError) Error

func (m GetTosRequestMultiError) Error() string

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

type GetTosRequestValidationError

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

GetTosRequestValidationError is the validation error returned by GetTosRequest.Validate if the designated constraints aren't met.

func (GetTosRequestValidationError) Cause

Cause function returns cause value.

func (GetTosRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTosRequestValidationError) ErrorName

func (e GetTosRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetTosRequestValidationError) Field

Field function returns field value.

func (GetTosRequestValidationError) Key

Key function returns key value.

func (GetTosRequestValidationError) Reason

Reason function returns reason value.

type HeartbeatReply

type HeartbeatReply struct {
	Status    bool   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message   string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Timestamp int64  `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Heartbeat Reply

func (*HeartbeatReply) Descriptor deprecated

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

Deprecated: Use HeartbeatReply.ProtoReflect.Descriptor instead.

func (*HeartbeatReply) GetMessage

func (x *HeartbeatReply) GetMessage() string

func (*HeartbeatReply) GetStatus

func (x *HeartbeatReply) GetStatus() bool

func (*HeartbeatReply) GetTimestamp

func (x *HeartbeatReply) GetTimestamp() int64

func (*HeartbeatReply) ProtoMessage

func (*HeartbeatReply) ProtoMessage()

func (*HeartbeatReply) ProtoReflect

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

func (*HeartbeatReply) Reset

func (x *HeartbeatReply) Reset()

func (*HeartbeatReply) String

func (x *HeartbeatReply) String() string

func (*HeartbeatReply) Validate

func (m *HeartbeatReply) Validate() error

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

func (m *HeartbeatReply) ValidateAll() error

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

type HeartbeatReplyMultiError

type HeartbeatReplyMultiError []error

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

func (HeartbeatReplyMultiError) AllErrors

func (m HeartbeatReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeartbeatReplyMultiError) Error

func (m HeartbeatReplyMultiError) Error() string

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

type HeartbeatReplyValidationError

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

HeartbeatReplyValidationError is the validation error returned by HeartbeatReply.Validate if the designated constraints aren't met.

func (HeartbeatReplyValidationError) Cause

Cause function returns cause value.

func (HeartbeatReplyValidationError) Error

Error satisfies the builtin error interface

func (HeartbeatReplyValidationError) ErrorName

func (e HeartbeatReplyValidationError) ErrorName() string

ErrorName returns error name.

func (HeartbeatReplyValidationError) Field

Field function returns field value.

func (HeartbeatReplyValidationError) Key

Key function returns key value.

func (HeartbeatReplyValidationError) Reason

Reason function returns reason value.

type HeartbeatRequest

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

Heartbeat Request (empty)

func (*HeartbeatRequest) Descriptor deprecated

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

Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.

func (*HeartbeatRequest) ProtoMessage

func (*HeartbeatRequest) ProtoMessage()

func (*HeartbeatRequest) ProtoReflect

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

func (*HeartbeatRequest) Reset

func (x *HeartbeatRequest) Reset()

func (*HeartbeatRequest) String

func (x *HeartbeatRequest) String() string

func (*HeartbeatRequest) Validate

func (m *HeartbeatRequest) Validate() error

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

func (m *HeartbeatRequest) ValidateAll() error

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

type HeartbeatRequestMultiError

type HeartbeatRequestMultiError []error

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

func (HeartbeatRequestMultiError) AllErrors

func (m HeartbeatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeartbeatRequestMultiError) Error

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

type HeartbeatRequestValidationError

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

HeartbeatRequestValidationError is the validation error returned by HeartbeatRequest.Validate if the designated constraints aren't met.

func (HeartbeatRequestValidationError) Cause

Cause function returns cause value.

func (HeartbeatRequestValidationError) Error

Error satisfies the builtin error interface

func (HeartbeatRequestValidationError) ErrorName

ErrorName returns error name.

func (HeartbeatRequestValidationError) Field

Field function returns field value.

func (HeartbeatRequestValidationError) Key

Key function returns key value.

func (HeartbeatRequestValidationError) Reason

Reason function returns reason value.

type InviteConfig

type InviteConfig struct {
	ForcedInvite       bool  `protobuf:"varint,1,opt,name=forced_invite,json=forcedInvite,proto3" json:"forced_invite,omitempty"`
	ReferralPercentage int64 `protobuf:"varint,2,opt,name=referral_percentage,json=referralPercentage,proto3" json:"referral_percentage,omitempty"`
	OnlyFirstPurchase  bool  `protobuf:"varint,3,opt,name=only_first_purchase,json=onlyFirstPurchase,proto3" json:"only_first_purchase,omitempty"`
	// contains filtered or unexported fields
}

Invite configuration

func (*InviteConfig) Descriptor deprecated

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

Deprecated: Use InviteConfig.ProtoReflect.Descriptor instead.

func (*InviteConfig) GetForcedInvite

func (x *InviteConfig) GetForcedInvite() bool

func (*InviteConfig) GetOnlyFirstPurchase

func (x *InviteConfig) GetOnlyFirstPurchase() bool

func (*InviteConfig) GetReferralPercentage

func (x *InviteConfig) GetReferralPercentage() int64

func (*InviteConfig) ProtoMessage

func (*InviteConfig) ProtoMessage()

func (*InviteConfig) ProtoReflect

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

func (*InviteConfig) Reset

func (x *InviteConfig) Reset()

func (*InviteConfig) String

func (x *InviteConfig) String() string

func (*InviteConfig) Validate

func (m *InviteConfig) Validate() error

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

func (m *InviteConfig) ValidateAll() error

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

type InviteConfigMultiError

type InviteConfigMultiError []error

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

func (InviteConfigMultiError) AllErrors

func (m InviteConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InviteConfigMultiError) Error

func (m InviteConfigMultiError) Error() string

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

type InviteConfigValidationError

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

InviteConfigValidationError is the validation error returned by InviteConfig.Validate if the designated constraints aren't met.

func (InviteConfigValidationError) Cause

Cause function returns cause value.

func (InviteConfigValidationError) Error

Error satisfies the builtin error interface

func (InviteConfigValidationError) ErrorName

func (e InviteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (InviteConfigValidationError) Field

Field function returns field value.

func (InviteConfigValidationError) Key

Key function returns key value.

func (InviteConfigValidationError) Reason

Reason function returns reason value.

type MobileAuthConfig

type MobileAuthConfig struct {
	Enable          bool     `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	EnableWhitelist bool     `protobuf:"varint,2,opt,name=enable_whitelist,json=enableWhitelist,proto3" json:"enable_whitelist,omitempty"`
	Whitelist       []string `protobuf:"bytes,3,rep,name=whitelist,proto3" json:"whitelist,omitempty"`
	// contains filtered or unexported fields
}

Mobile auth configuration

func (*MobileAuthConfig) Descriptor deprecated

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

Deprecated: Use MobileAuthConfig.ProtoReflect.Descriptor instead.

func (*MobileAuthConfig) GetEnable

func (x *MobileAuthConfig) GetEnable() bool

func (*MobileAuthConfig) GetEnableWhitelist

func (x *MobileAuthConfig) GetEnableWhitelist() bool

func (*MobileAuthConfig) GetWhitelist

func (x *MobileAuthConfig) GetWhitelist() []string

func (*MobileAuthConfig) ProtoMessage

func (*MobileAuthConfig) ProtoMessage()

func (*MobileAuthConfig) ProtoReflect

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

func (*MobileAuthConfig) Reset

func (x *MobileAuthConfig) Reset()

func (*MobileAuthConfig) String

func (x *MobileAuthConfig) String() string

func (*MobileAuthConfig) Validate

func (m *MobileAuthConfig) Validate() error

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

func (m *MobileAuthConfig) ValidateAll() error

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

type MobileAuthConfigMultiError

type MobileAuthConfigMultiError []error

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

func (MobileAuthConfigMultiError) AllErrors

func (m MobileAuthConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MobileAuthConfigMultiError) Error

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

type MobileAuthConfigValidationError

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

MobileAuthConfigValidationError is the validation error returned by MobileAuthConfig.Validate if the designated constraints aren't met.

func (MobileAuthConfigValidationError) Cause

Cause function returns cause value.

func (MobileAuthConfigValidationError) Error

Error satisfies the builtin error interface

func (MobileAuthConfigValidationError) ErrorName

ErrorName returns error name.

func (MobileAuthConfigValidationError) Field

Field function returns field value.

func (MobileAuthConfigValidationError) Key

Key function returns key value.

func (MobileAuthConfigValidationError) Reason

Reason function returns reason value.

type PublicVerifyCodeConfig

type PublicVerifyCodeConfig struct {
	VerifyCodeInterval int64 `protobuf:"varint,1,opt,name=verify_code_interval,json=verifyCodeInterval,proto3" json:"verify_code_interval,omitempty"`
	// contains filtered or unexported fields
}

Public verify code configuration

func (*PublicVerifyCodeConfig) Descriptor deprecated

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

Deprecated: Use PublicVerifyCodeConfig.ProtoReflect.Descriptor instead.

func (*PublicVerifyCodeConfig) GetVerifyCodeInterval

func (x *PublicVerifyCodeConfig) GetVerifyCodeInterval() int64

func (*PublicVerifyCodeConfig) ProtoMessage

func (*PublicVerifyCodeConfig) ProtoMessage()

func (*PublicVerifyCodeConfig) ProtoReflect

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

func (*PublicVerifyCodeConfig) Reset

func (x *PublicVerifyCodeConfig) Reset()

func (*PublicVerifyCodeConfig) String

func (x *PublicVerifyCodeConfig) String() string

func (*PublicVerifyCodeConfig) Validate

func (m *PublicVerifyCodeConfig) Validate() error

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

func (m *PublicVerifyCodeConfig) ValidateAll() error

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

type PublicVerifyCodeConfigMultiError

type PublicVerifyCodeConfigMultiError []error

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

func (PublicVerifyCodeConfigMultiError) AllErrors

func (m PublicVerifyCodeConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PublicVerifyCodeConfigMultiError) Error

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

type PublicVerifyCodeConfigValidationError

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

PublicVerifyCodeConfigValidationError is the validation error returned by PublicVerifyCodeConfig.Validate if the designated constraints aren't met.

func (PublicVerifyCodeConfigValidationError) Cause

Cause function returns cause value.

func (PublicVerifyCodeConfigValidationError) Error

Error satisfies the builtin error interface

func (PublicVerifyCodeConfigValidationError) ErrorName

ErrorName returns error name.

func (PublicVerifyCodeConfigValidationError) Field

Field function returns field value.

func (PublicVerifyCodeConfigValidationError) Key

Key function returns key value.

func (PublicVerifyCodeConfigValidationError) Reason

Reason function returns reason value.

type RegisterConfig

type RegisterConfig struct {
	StopRegister            bool  `protobuf:"varint,1,opt,name=stop_register,json=stopRegister,proto3" json:"stop_register,omitempty"`
	EnableIpRegisterLimit   bool  `` /* 129-byte string literal not displayed */
	IpRegisterLimit         int64 `protobuf:"varint,3,opt,name=ip_register_limit,json=ipRegisterLimit,proto3" json:"ip_register_limit,omitempty"`
	IpRegisterLimitDuration int64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Register configuration

func (*RegisterConfig) Descriptor deprecated

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

Deprecated: Use RegisterConfig.ProtoReflect.Descriptor instead.

func (*RegisterConfig) GetEnableIpRegisterLimit

func (x *RegisterConfig) GetEnableIpRegisterLimit() bool

func (*RegisterConfig) GetIpRegisterLimit

func (x *RegisterConfig) GetIpRegisterLimit() int64

func (*RegisterConfig) GetIpRegisterLimitDuration

func (x *RegisterConfig) GetIpRegisterLimitDuration() int64

func (*RegisterConfig) GetStopRegister

func (x *RegisterConfig) GetStopRegister() bool

func (*RegisterConfig) ProtoMessage

func (*RegisterConfig) ProtoMessage()

func (*RegisterConfig) ProtoReflect

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

func (*RegisterConfig) Reset

func (x *RegisterConfig) Reset()

func (*RegisterConfig) String

func (x *RegisterConfig) String() string

func (*RegisterConfig) Validate

func (m *RegisterConfig) Validate() error

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

func (m *RegisterConfig) ValidateAll() error

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

type RegisterConfigMultiError

type RegisterConfigMultiError []error

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

func (RegisterConfigMultiError) AllErrors

func (m RegisterConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterConfigMultiError) Error

func (m RegisterConfigMultiError) Error() string

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

type RegisterConfigValidationError

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

RegisterConfigValidationError is the validation error returned by RegisterConfig.Validate if the designated constraints aren't met.

func (RegisterConfigValidationError) Cause

Cause function returns cause value.

func (RegisterConfigValidationError) Error

Error satisfies the builtin error interface

func (RegisterConfigValidationError) ErrorName

func (e RegisterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterConfigValidationError) Field

Field function returns field value.

func (RegisterConfigValidationError) Key

Key function returns key value.

func (RegisterConfigValidationError) Reason

Reason function returns reason value.

type SendCodeReply

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

SendCode Reply (shared by email and SMS)

func (*SendCodeReply) Descriptor deprecated

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

Deprecated: Use SendCodeReply.ProtoReflect.Descriptor instead.

func (*SendCodeReply) GetStatus

func (x *SendCodeReply) GetStatus() bool

func (*SendCodeReply) ProtoMessage

func (*SendCodeReply) ProtoMessage()

func (*SendCodeReply) ProtoReflect

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

func (*SendCodeReply) Reset

func (x *SendCodeReply) Reset()

func (*SendCodeReply) String

func (x *SendCodeReply) String() string

func (*SendCodeReply) Validate

func (m *SendCodeReply) Validate() error

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

func (m *SendCodeReply) ValidateAll() error

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

type SendCodeReplyMultiError

type SendCodeReplyMultiError []error

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

func (SendCodeReplyMultiError) AllErrors

func (m SendCodeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendCodeReplyMultiError) Error

func (m SendCodeReplyMultiError) Error() string

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

type SendCodeReplyValidationError

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

SendCodeReplyValidationError is the validation error returned by SendCodeReply.Validate if the designated constraints aren't met.

func (SendCodeReplyValidationError) Cause

Cause function returns cause value.

func (SendCodeReplyValidationError) Error

Error satisfies the builtin error interface

func (SendCodeReplyValidationError) ErrorName

func (e SendCodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (SendCodeReplyValidationError) Field

Field function returns field value.

func (SendCodeReplyValidationError) Key

Key function returns key value.

func (SendCodeReplyValidationError) Reason

Reason function returns reason value.

type SendEmailCodeRequest

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

SendEmailCode Request

func (*SendEmailCodeRequest) Descriptor deprecated

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

Deprecated: Use SendEmailCodeRequest.ProtoReflect.Descriptor instead.

func (*SendEmailCodeRequest) GetEmail

func (x *SendEmailCodeRequest) GetEmail() string

func (*SendEmailCodeRequest) GetType

func (x *SendEmailCodeRequest) GetType() int32

func (*SendEmailCodeRequest) ProtoMessage

func (*SendEmailCodeRequest) ProtoMessage()

func (*SendEmailCodeRequest) ProtoReflect

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

func (*SendEmailCodeRequest) Reset

func (x *SendEmailCodeRequest) Reset()

func (*SendEmailCodeRequest) String

func (x *SendEmailCodeRequest) String() string

func (*SendEmailCodeRequest) Validate

func (m *SendEmailCodeRequest) Validate() error

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

func (m *SendEmailCodeRequest) ValidateAll() error

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

type SendEmailCodeRequestMultiError

type SendEmailCodeRequestMultiError []error

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

func (SendEmailCodeRequestMultiError) AllErrors

func (m SendEmailCodeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendEmailCodeRequestMultiError) Error

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

type SendEmailCodeRequestValidationError

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

SendEmailCodeRequestValidationError is the validation error returned by SendEmailCodeRequest.Validate if the designated constraints aren't met.

func (SendEmailCodeRequestValidationError) Cause

Cause function returns cause value.

func (SendEmailCodeRequestValidationError) Error

Error satisfies the builtin error interface

func (SendEmailCodeRequestValidationError) ErrorName

ErrorName returns error name.

func (SendEmailCodeRequestValidationError) Field

Field function returns field value.

func (SendEmailCodeRequestValidationError) Key

Key function returns key value.

func (SendEmailCodeRequestValidationError) Reason

Reason function returns reason value.

type SendSmsCodeRequest

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

SendSmsCode Request

func (*SendSmsCodeRequest) Descriptor deprecated

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

Deprecated: Use SendSmsCodeRequest.ProtoReflect.Descriptor instead.

func (*SendSmsCodeRequest) GetTelephone

func (x *SendSmsCodeRequest) GetTelephone() string

func (*SendSmsCodeRequest) GetTelephoneAreaCode

func (x *SendSmsCodeRequest) GetTelephoneAreaCode() string

func (*SendSmsCodeRequest) GetType

func (x *SendSmsCodeRequest) GetType() int32

func (*SendSmsCodeRequest) ProtoMessage

func (*SendSmsCodeRequest) ProtoMessage()

func (*SendSmsCodeRequest) ProtoReflect

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

func (*SendSmsCodeRequest) Reset

func (x *SendSmsCodeRequest) Reset()

func (*SendSmsCodeRequest) String

func (x *SendSmsCodeRequest) String() string

func (*SendSmsCodeRequest) Validate

func (m *SendSmsCodeRequest) Validate() error

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

func (m *SendSmsCodeRequest) ValidateAll() error

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

type SendSmsCodeRequestMultiError

type SendSmsCodeRequestMultiError []error

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

func (SendSmsCodeRequestMultiError) AllErrors

func (m SendSmsCodeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendSmsCodeRequestMultiError) Error

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

type SendSmsCodeRequestValidationError

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

SendSmsCodeRequestValidationError is the validation error returned by SendSmsCodeRequest.Validate if the designated constraints aren't met.

func (SendSmsCodeRequestValidationError) Cause

Cause function returns cause value.

func (SendSmsCodeRequestValidationError) Error

Error satisfies the builtin error interface

func (SendSmsCodeRequestValidationError) ErrorName

ErrorName returns error name.

func (SendSmsCodeRequestValidationError) Field

Field function returns field value.

func (SendSmsCodeRequestValidationError) Key

Key function returns key value.

func (SendSmsCodeRequestValidationError) Reason

Reason function returns reason value.

type SiteConfig

type SiteConfig struct {
	Host       string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	SiteName   string `protobuf:"bytes,2,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"`
	SiteDesc   string `protobuf:"bytes,3,opt,name=site_desc,json=siteDesc,proto3" json:"site_desc,omitempty"`
	Keywords   string `protobuf:"bytes,5,opt,name=keywords,proto3" json:"keywords,omitempty"`
	CustomHtml string `protobuf:"bytes,6,opt,name=custom_html,json=customHtml,proto3" json:"custom_html,omitempty"`
	CustomData string `protobuf:"bytes,7,opt,name=custom_data,json=customData,proto3" json:"custom_data,omitempty"`
	// contains filtered or unexported fields
}

Site configuration

func (*SiteConfig) Descriptor deprecated

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

Deprecated: Use SiteConfig.ProtoReflect.Descriptor instead.

func (*SiteConfig) GetCustomData

func (x *SiteConfig) GetCustomData() string

func (*SiteConfig) GetCustomHtml

func (x *SiteConfig) GetCustomHtml() string

func (*SiteConfig) GetHost

func (x *SiteConfig) GetHost() string

func (*SiteConfig) GetKeywords

func (x *SiteConfig) GetKeywords() string

func (*SiteConfig) GetSiteDesc

func (x *SiteConfig) GetSiteDesc() string
func (x *SiteConfig) GetSiteLogo() string

func (*SiteConfig) GetSiteName

func (x *SiteConfig) GetSiteName() string

func (*SiteConfig) ProtoMessage

func (*SiteConfig) ProtoMessage()

func (*SiteConfig) ProtoReflect

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

func (*SiteConfig) Reset

func (x *SiteConfig) Reset()

func (*SiteConfig) String

func (x *SiteConfig) String() string

func (*SiteConfig) Validate

func (m *SiteConfig) Validate() error

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

func (m *SiteConfig) ValidateAll() error

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

type SiteConfigMultiError

type SiteConfigMultiError []error

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

func (SiteConfigMultiError) AllErrors

func (m SiteConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SiteConfigMultiError) Error

func (m SiteConfigMultiError) Error() string

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

type SiteConfigValidationError

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

SiteConfigValidationError is the validation error returned by SiteConfig.Validate if the designated constraints aren't met.

func (SiteConfigValidationError) Cause

func (e SiteConfigValidationError) Cause() error

Cause function returns cause value.

func (SiteConfigValidationError) Error

Error satisfies the builtin error interface

func (SiteConfigValidationError) ErrorName

func (e SiteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SiteConfigValidationError) Field

Field function returns field value.

func (SiteConfigValidationError) Key

Key function returns key value.

func (SiteConfigValidationError) Reason

func (e SiteConfigValidationError) Reason() string

Reason function returns reason value.

type SubscribeClient

type SubscribeClient struct {
	Id           int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description  string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Icon         string        `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
	Scheme       string        `protobuf:"bytes,5,opt,name=scheme,proto3" json:"scheme,omitempty"`
	IsDefault    bool          `protobuf:"varint,6,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	DownloadLink *DownloadLink `protobuf:"bytes,7,opt,name=download_link,json=downloadLink,proto3" json:"download_link,omitempty"`
	// contains filtered or unexported fields
}

SubscribeClient message

func (*SubscribeClient) Descriptor deprecated

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

Deprecated: Use SubscribeClient.ProtoReflect.Descriptor instead.

func (*SubscribeClient) GetDescription

func (x *SubscribeClient) GetDescription() string
func (x *SubscribeClient) GetDownloadLink() *DownloadLink

func (*SubscribeClient) GetIcon

func (x *SubscribeClient) GetIcon() string

func (*SubscribeClient) GetId

func (x *SubscribeClient) GetId() int64

func (*SubscribeClient) GetIsDefault

func (x *SubscribeClient) GetIsDefault() bool

func (*SubscribeClient) GetName

func (x *SubscribeClient) GetName() string

func (*SubscribeClient) GetScheme

func (x *SubscribeClient) GetScheme() string

func (*SubscribeClient) ProtoMessage

func (*SubscribeClient) ProtoMessage()

func (*SubscribeClient) ProtoReflect

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

func (*SubscribeClient) Reset

func (x *SubscribeClient) Reset()

func (*SubscribeClient) String

func (x *SubscribeClient) String() string

func (*SubscribeClient) Validate

func (m *SubscribeClient) Validate() error

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

func (m *SubscribeClient) ValidateAll() error

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

type SubscribeClientMultiError

type SubscribeClientMultiError []error

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

func (SubscribeClientMultiError) AllErrors

func (m SubscribeClientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeClientMultiError) Error

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

type SubscribeClientValidationError

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

SubscribeClientValidationError is the validation error returned by SubscribeClient.Validate if the designated constraints aren't met.

func (SubscribeClientValidationError) Cause

Cause function returns cause value.

func (SubscribeClientValidationError) Error

Error satisfies the builtin error interface

func (SubscribeClientValidationError) ErrorName

func (e SubscribeClientValidationError) ErrorName() string

ErrorName returns error name.

func (SubscribeClientValidationError) Field

Field function returns field value.

func (SubscribeClientValidationError) Key

Key function returns key value.

func (SubscribeClientValidationError) Reason

Reason function returns reason value.

type SubscribeConfig

type SubscribeConfig struct {
	SingleModel     bool   `protobuf:"varint,1,opt,name=single_model,json=singleModel,proto3" json:"single_model,omitempty"`
	SubscribePath   string `protobuf:"bytes,2,opt,name=subscribe_path,json=subscribePath,proto3" json:"subscribe_path,omitempty"`
	SubscribeDomain string `protobuf:"bytes,3,opt,name=subscribe_domain,json=subscribeDomain,proto3" json:"subscribe_domain,omitempty"`
	PanDomain       bool   `protobuf:"varint,4,opt,name=pan_domain,json=panDomain,proto3" json:"pan_domain,omitempty"`
	UserAgentLimit  bool   `protobuf:"varint,5,opt,name=user_agent_limit,json=userAgentLimit,proto3" json:"user_agent_limit,omitempty"`
	UserAgentList   string `protobuf:"bytes,6,opt,name=user_agent_list,json=userAgentList,proto3" json:"user_agent_list,omitempty"`
	// contains filtered or unexported fields
}

Subscribe configuration

func (*SubscribeConfig) Descriptor deprecated

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

Deprecated: Use SubscribeConfig.ProtoReflect.Descriptor instead.

func (*SubscribeConfig) GetPanDomain

func (x *SubscribeConfig) GetPanDomain() bool

func (*SubscribeConfig) GetSingleModel

func (x *SubscribeConfig) GetSingleModel() bool

func (*SubscribeConfig) GetSubscribeDomain

func (x *SubscribeConfig) GetSubscribeDomain() string

func (*SubscribeConfig) GetSubscribePath

func (x *SubscribeConfig) GetSubscribePath() string

func (*SubscribeConfig) GetUserAgentLimit

func (x *SubscribeConfig) GetUserAgentLimit() bool

func (*SubscribeConfig) GetUserAgentList

func (x *SubscribeConfig) GetUserAgentList() string

func (*SubscribeConfig) ProtoMessage

func (*SubscribeConfig) ProtoMessage()

func (*SubscribeConfig) ProtoReflect

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

func (*SubscribeConfig) Reset

func (x *SubscribeConfig) Reset()

func (*SubscribeConfig) String

func (x *SubscribeConfig) String() string

func (*SubscribeConfig) Validate

func (m *SubscribeConfig) Validate() error

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

func (m *SubscribeConfig) ValidateAll() error

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

type SubscribeConfigMultiError

type SubscribeConfigMultiError []error

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

func (SubscribeConfigMultiError) AllErrors

func (m SubscribeConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeConfigMultiError) Error

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

type SubscribeConfigValidationError

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

SubscribeConfigValidationError is the validation error returned by SubscribeConfig.Validate if the designated constraints aren't met.

func (SubscribeConfigValidationError) Cause

Cause function returns cause value.

func (SubscribeConfigValidationError) Error

Error satisfies the builtin error interface

func (SubscribeConfigValidationError) ErrorName

func (e SubscribeConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SubscribeConfigValidationError) Field

Field function returns field value.

func (SubscribeConfigValidationError) Key

Key function returns key value.

func (SubscribeConfigValidationError) Reason

Reason function returns reason value.

type UnimplementedCommonServer

type UnimplementedCommonServer struct{}

UnimplementedCommonServer 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 (UnimplementedCommonServer) GetAds

func (UnimplementedCommonServer) GetClient

func (UnimplementedCommonServer) GetGlobalConfig

func (UnimplementedCommonServer) GetPrivacyPolicy

func (UnimplementedCommonServer) GetStat

func (UnimplementedCommonServer) GetTos

func (UnimplementedCommonServer) Heartbeat

func (UnimplementedCommonServer) SendEmailCode

func (UnimplementedCommonServer) SendSmsCode

type UnsafeCommonServer

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

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

type VerifyConfig

type VerifyConfig struct {
	CaptchaType                    string `protobuf:"bytes,1,opt,name=captcha_type,json=captchaType,proto3" json:"captcha_type,omitempty"`
	TurnstileSiteKey               string `protobuf:"bytes,2,opt,name=turnstile_site_key,json=turnstileSiteKey,proto3" json:"turnstile_site_key,omitempty"`
	EnableUserLoginCaptcha         bool   `` /* 132-byte string literal not displayed */
	EnableUserRegisterCaptcha      bool   `` /* 141-byte string literal not displayed */
	EnableAdminLoginCaptcha        bool   `` /* 135-byte string literal not displayed */
	EnableUserResetPasswordCaptcha bool   `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Verify configuration

func (*VerifyConfig) Descriptor deprecated

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

Deprecated: Use VerifyConfig.ProtoReflect.Descriptor instead.

func (*VerifyConfig) GetCaptchaType

func (x *VerifyConfig) GetCaptchaType() string

func (*VerifyConfig) GetEnableAdminLoginCaptcha

func (x *VerifyConfig) GetEnableAdminLoginCaptcha() bool

func (*VerifyConfig) GetEnableUserLoginCaptcha

func (x *VerifyConfig) GetEnableUserLoginCaptcha() bool

func (*VerifyConfig) GetEnableUserRegisterCaptcha

func (x *VerifyConfig) GetEnableUserRegisterCaptcha() bool

func (*VerifyConfig) GetEnableUserResetPasswordCaptcha

func (x *VerifyConfig) GetEnableUserResetPasswordCaptcha() bool

func (*VerifyConfig) GetTurnstileSiteKey

func (x *VerifyConfig) GetTurnstileSiteKey() string

func (*VerifyConfig) ProtoMessage

func (*VerifyConfig) ProtoMessage()

func (*VerifyConfig) ProtoReflect

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

func (*VerifyConfig) Reset

func (x *VerifyConfig) Reset()

func (*VerifyConfig) String

func (x *VerifyConfig) String() string

func (*VerifyConfig) Validate

func (m *VerifyConfig) Validate() error

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

func (m *VerifyConfig) ValidateAll() error

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

type VerifyConfigMultiError

type VerifyConfigMultiError []error

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

func (VerifyConfigMultiError) AllErrors

func (m VerifyConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyConfigMultiError) Error

func (m VerifyConfigMultiError) Error() string

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

type VerifyConfigValidationError

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

VerifyConfigValidationError is the validation error returned by VerifyConfig.Validate if the designated constraints aren't met.

func (VerifyConfigValidationError) Cause

Cause function returns cause value.

func (VerifyConfigValidationError) Error

Error satisfies the builtin error interface

func (VerifyConfigValidationError) ErrorName

func (e VerifyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (VerifyConfigValidationError) Field

Field function returns field value.

func (VerifyConfigValidationError) Key

Key function returns key value.

func (VerifyConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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