Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCommonHTTPServer(s *http.Server, srv CommonHTTPServer)
- func RegisterCommonServer(s grpc.ServiceRegistrar, srv CommonServer)
- type Ads
- func (*Ads) Descriptor() ([]byte, []int)deprecated
- func (x *Ads) GetContent() string
- func (x *Ads) GetCreatedAt() int64
- func (x *Ads) GetDescription() string
- func (x *Ads) GetEndTime() int64
- func (x *Ads) GetId() int64
- func (x *Ads) GetStartTime() int64
- func (x *Ads) GetStatus() int32
- func (x *Ads) GetTargetUrl() string
- func (x *Ads) GetTitle() string
- func (x *Ads) GetType() string
- func (x *Ads) GetUpdatedAt() int64
- func (*Ads) ProtoMessage()
- func (x *Ads) ProtoReflect() protoreflect.Message
- func (x *Ads) Reset()
- func (x *Ads) String() string
- func (m *Ads) Validate() error
- func (m *Ads) ValidateAll() error
- type AdsMultiError
- type AdsValidationError
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthConfig) GetDevice() *DeviceAuthConfig
- func (x *AuthConfig) GetEmail() *EmailAuthConfig
- func (x *AuthConfig) GetMobile() *MobileAuthConfig
- func (x *AuthConfig) GetRegister() *RegisterConfig
- func (*AuthConfig) ProtoMessage()
- func (x *AuthConfig) ProtoReflect() protoreflect.Message
- func (x *AuthConfig) Reset()
- func (x *AuthConfig) String() string
- func (m *AuthConfig) Validate() error
- func (m *AuthConfig) ValidateAll() error
- type AuthConfigMultiError
- type AuthConfigValidationError
- type CheckVerificationCodeReply
- func (*CheckVerificationCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *CheckVerificationCodeReply) GetStatus() bool
- func (*CheckVerificationCodeReply) ProtoMessage()
- func (x *CheckVerificationCodeReply) ProtoReflect() protoreflect.Message
- func (x *CheckVerificationCodeReply) Reset()
- func (x *CheckVerificationCodeReply) String() string
- func (m *CheckVerificationCodeReply) Validate() error
- func (m *CheckVerificationCodeReply) ValidateAll() error
- type CheckVerificationCodeReplyMultiError
- type CheckVerificationCodeReplyValidationError
- func (e CheckVerificationCodeReplyValidationError) Cause() error
- func (e CheckVerificationCodeReplyValidationError) Error() string
- func (e CheckVerificationCodeReplyValidationError) ErrorName() string
- func (e CheckVerificationCodeReplyValidationError) Field() string
- func (e CheckVerificationCodeReplyValidationError) Key() bool
- func (e CheckVerificationCodeReplyValidationError) Reason() string
- type CheckVerificationCodeRequest
- func (*CheckVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckVerificationCodeRequest) GetAccount() string
- func (x *CheckVerificationCodeRequest) GetCode() string
- func (x *CheckVerificationCodeRequest) GetMethod() string
- func (x *CheckVerificationCodeRequest) GetType() int32
- func (*CheckVerificationCodeRequest) ProtoMessage()
- func (x *CheckVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *CheckVerificationCodeRequest) Reset()
- func (x *CheckVerificationCodeRequest) String() string
- func (m *CheckVerificationCodeRequest) Validate() error
- func (m *CheckVerificationCodeRequest) ValidateAll() error
- type CheckVerificationCodeRequestMultiError
- type CheckVerificationCodeRequestValidationError
- func (e CheckVerificationCodeRequestValidationError) Cause() error
- func (e CheckVerificationCodeRequestValidationError) Error() string
- func (e CheckVerificationCodeRequestValidationError) ErrorName() string
- func (e CheckVerificationCodeRequestValidationError) Field() string
- func (e CheckVerificationCodeRequestValidationError) Key() bool
- func (e CheckVerificationCodeRequestValidationError) Reason() string
- type CommonClient
- type CommonHTTPClient
- type CommonHTTPClientImpl
- func (c *CommonHTTPClientImpl) CheckVerificationCode(ctx context.Context, in *CheckVerificationCodeRequest, opts ...http.CallOption) (*CheckVerificationCodeReply, error)
- func (c *CommonHTTPClientImpl) GetAds(ctx context.Context, in *GetAdsRequest, opts ...http.CallOption) (*GetAdsReply, error)
- func (c *CommonHTTPClientImpl) GetClient(ctx context.Context, in *GetClientRequest, opts ...http.CallOption) (*GetClientReply, error)
- func (c *CommonHTTPClientImpl) GetGlobalConfig(ctx context.Context, in *GetGlobalConfigRequest, opts ...http.CallOption) (*GetGlobalConfigReply, error)
- func (c *CommonHTTPClientImpl) GetPrivacyPolicy(ctx context.Context, in *GetPrivacyPolicyRequest, opts ...http.CallOption) (*GetPrivacyPolicyReply, error)
- func (c *CommonHTTPClientImpl) GetStat(ctx context.Context, in *GetStatRequest, opts ...http.CallOption) (*GetStatReply, error)
- func (c *CommonHTTPClientImpl) GetTos(ctx context.Context, in *GetTosRequest, opts ...http.CallOption) (*GetTosReply, error)
- func (c *CommonHTTPClientImpl) Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...http.CallOption) (*HeartbeatReply, error)
- func (c *CommonHTTPClientImpl) SendEmailCode(ctx context.Context, in *SendEmailCodeRequest, opts ...http.CallOption) (*SendCodeReply, error)
- func (c *CommonHTTPClientImpl) SendSmsCode(ctx context.Context, in *SendSmsCodeRequest, opts ...http.CallOption) (*SendCodeReply, error)
- type CommonHTTPServer
- type CommonServer
- type CurrencyConfig
- func (*CurrencyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CurrencyConfig) GetCurrencySymbol() string
- func (x *CurrencyConfig) GetCurrencyUnit() string
- func (*CurrencyConfig) ProtoMessage()
- func (x *CurrencyConfig) ProtoReflect() protoreflect.Message
- func (x *CurrencyConfig) Reset()
- func (x *CurrencyConfig) String() string
- func (m *CurrencyConfig) Validate() error
- func (m *CurrencyConfig) ValidateAll() error
- type CurrencyConfigMultiError
- type CurrencyConfigValidationError
- func (e CurrencyConfigValidationError) Cause() error
- func (e CurrencyConfigValidationError) Error() string
- func (e CurrencyConfigValidationError) ErrorName() string
- func (e CurrencyConfigValidationError) Field() string
- func (e CurrencyConfigValidationError) Key() bool
- func (e CurrencyConfigValidationError) Reason() string
- type DeviceAuthConfig
- func (*DeviceAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAuthConfig) GetEnable() bool
- func (x *DeviceAuthConfig) GetEnableSecurity() bool
- func (x *DeviceAuthConfig) GetOnlyRealDevice() bool
- func (x *DeviceAuthConfig) GetShowAds() bool
- func (*DeviceAuthConfig) ProtoMessage()
- func (x *DeviceAuthConfig) ProtoReflect() protoreflect.Message
- func (x *DeviceAuthConfig) Reset()
- func (x *DeviceAuthConfig) String() string
- func (m *DeviceAuthConfig) Validate() error
- func (m *DeviceAuthConfig) ValidateAll() error
- type DeviceAuthConfigMultiError
- type DeviceAuthConfigValidationError
- func (e DeviceAuthConfigValidationError) Cause() error
- func (e DeviceAuthConfigValidationError) Error() string
- func (e DeviceAuthConfigValidationError) ErrorName() string
- func (e DeviceAuthConfigValidationError) Field() string
- func (e DeviceAuthConfigValidationError) Key() bool
- func (e DeviceAuthConfigValidationError) Reason() string
- type DownloadLink
- func (*DownloadLink) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadLink) GetAndroid() string
- func (x *DownloadLink) GetHarmony() string
- func (x *DownloadLink) GetIos() string
- func (x *DownloadLink) GetLinux() string
- func (x *DownloadLink) GetMac() string
- func (x *DownloadLink) GetWindows() string
- func (*DownloadLink) ProtoMessage()
- func (x *DownloadLink) ProtoReflect() protoreflect.Message
- func (x *DownloadLink) Reset()
- func (x *DownloadLink) String() string
- func (m *DownloadLink) Validate() error
- func (m *DownloadLink) ValidateAll() error
- type DownloadLinkMultiError
- type DownloadLinkValidationError
- func (e DownloadLinkValidationError) Cause() error
- func (e DownloadLinkValidationError) Error() string
- func (e DownloadLinkValidationError) ErrorName() string
- func (e DownloadLinkValidationError) Field() string
- func (e DownloadLinkValidationError) Key() bool
- func (e DownloadLinkValidationError) Reason() string
- type EmailAuthConfig
- func (*EmailAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EmailAuthConfig) GetDomainSuffixList() string
- func (x *EmailAuthConfig) GetEnable() bool
- func (x *EmailAuthConfig) GetEnableDomainSuffix() bool
- func (x *EmailAuthConfig) GetEnableVerify() bool
- func (*EmailAuthConfig) ProtoMessage()
- func (x *EmailAuthConfig) ProtoReflect() protoreflect.Message
- func (x *EmailAuthConfig) Reset()
- func (x *EmailAuthConfig) String() string
- func (m *EmailAuthConfig) Validate() error
- func (m *EmailAuthConfig) ValidateAll() error
- type EmailAuthConfigMultiError
- type EmailAuthConfigValidationError
- func (e EmailAuthConfigValidationError) Cause() error
- func (e EmailAuthConfigValidationError) Error() string
- func (e EmailAuthConfigValidationError) ErrorName() string
- func (e EmailAuthConfigValidationError) Field() string
- func (e EmailAuthConfigValidationError) Key() bool
- func (e EmailAuthConfigValidationError) Reason() string
- type GetAdsReply
- func (*GetAdsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdsReply) GetList() []*Ads
- func (*GetAdsReply) ProtoMessage()
- func (x *GetAdsReply) ProtoReflect() protoreflect.Message
- func (x *GetAdsReply) Reset()
- func (x *GetAdsReply) String() string
- func (m *GetAdsReply) Validate() error
- func (m *GetAdsReply) ValidateAll() error
- type GetAdsReplyMultiError
- type GetAdsReplyValidationError
- func (e GetAdsReplyValidationError) Cause() error
- func (e GetAdsReplyValidationError) Error() string
- func (e GetAdsReplyValidationError) ErrorName() string
- func (e GetAdsReplyValidationError) Field() string
- func (e GetAdsReplyValidationError) Key() bool
- func (e GetAdsReplyValidationError) Reason() string
- type GetAdsRequest
- func (*GetAdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdsRequest) GetDevice() string
- func (x *GetAdsRequest) GetPosition() string
- func (*GetAdsRequest) ProtoMessage()
- func (x *GetAdsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAdsRequest) Reset()
- func (x *GetAdsRequest) String() string
- func (m *GetAdsRequest) Validate() error
- func (m *GetAdsRequest) ValidateAll() error
- type GetAdsRequestMultiError
- type GetAdsRequestValidationError
- func (e GetAdsRequestValidationError) Cause() error
- func (e GetAdsRequestValidationError) Error() string
- func (e GetAdsRequestValidationError) ErrorName() string
- func (e GetAdsRequestValidationError) Field() string
- func (e GetAdsRequestValidationError) Key() bool
- func (e GetAdsRequestValidationError) Reason() string
- type GetClientReply
- func (*GetClientReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientReply) GetList() []*SubscribeClient
- func (x *GetClientReply) GetTotal() int32
- func (*GetClientReply) ProtoMessage()
- func (x *GetClientReply) ProtoReflect() protoreflect.Message
- func (x *GetClientReply) Reset()
- func (x *GetClientReply) String() string
- func (m *GetClientReply) Validate() error
- func (m *GetClientReply) ValidateAll() error
- type GetClientReplyMultiError
- type GetClientReplyValidationError
- func (e GetClientReplyValidationError) Cause() error
- func (e GetClientReplyValidationError) Error() string
- func (e GetClientReplyValidationError) ErrorName() string
- func (e GetClientReplyValidationError) Field() string
- func (e GetClientReplyValidationError) Key() bool
- func (e GetClientReplyValidationError) Reason() string
- type GetClientRequest
- func (*GetClientRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetClientRequest) ProtoMessage()
- func (x *GetClientRequest) ProtoReflect() protoreflect.Message
- func (x *GetClientRequest) Reset()
- func (x *GetClientRequest) String() string
- func (m *GetClientRequest) Validate() error
- func (m *GetClientRequest) ValidateAll() error
- type GetClientRequestMultiError
- type GetClientRequestValidationError
- func (e GetClientRequestValidationError) Cause() error
- func (e GetClientRequestValidationError) Error() string
- func (e GetClientRequestValidationError) ErrorName() string
- func (e GetClientRequestValidationError) Field() string
- func (e GetClientRequestValidationError) Key() bool
- func (e GetClientRequestValidationError) Reason() string
- type GetGlobalConfigReply
- func (*GetGlobalConfigReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalConfigReply) GetAuth() *AuthConfig
- func (x *GetGlobalConfigReply) GetCurrency() *CurrencyConfig
- func (x *GetGlobalConfigReply) GetInvite() *InviteConfig
- func (x *GetGlobalConfigReply) GetOauthMethods() []string
- func (x *GetGlobalConfigReply) GetSite() *SiteConfig
- func (x *GetGlobalConfigReply) GetSubscribe() *SubscribeConfig
- func (x *GetGlobalConfigReply) GetVerify() *VerifyConfig
- func (x *GetGlobalConfigReply) GetVerifyCode() *PublicVerifyCodeConfig
- func (x *GetGlobalConfigReply) GetWebAd() bool
- func (*GetGlobalConfigReply) ProtoMessage()
- func (x *GetGlobalConfigReply) ProtoReflect() protoreflect.Message
- func (x *GetGlobalConfigReply) Reset()
- func (x *GetGlobalConfigReply) String() string
- func (m *GetGlobalConfigReply) Validate() error
- func (m *GetGlobalConfigReply) ValidateAll() error
- type GetGlobalConfigReplyMultiError
- type GetGlobalConfigReplyValidationError
- func (e GetGlobalConfigReplyValidationError) Cause() error
- func (e GetGlobalConfigReplyValidationError) Error() string
- func (e GetGlobalConfigReplyValidationError) ErrorName() string
- func (e GetGlobalConfigReplyValidationError) Field() string
- func (e GetGlobalConfigReplyValidationError) Key() bool
- func (e GetGlobalConfigReplyValidationError) Reason() string
- type GetGlobalConfigRequest
- func (*GetGlobalConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetGlobalConfigRequest) ProtoMessage()
- func (x *GetGlobalConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetGlobalConfigRequest) Reset()
- func (x *GetGlobalConfigRequest) String() string
- func (m *GetGlobalConfigRequest) Validate() error
- func (m *GetGlobalConfigRequest) ValidateAll() error
- type GetGlobalConfigRequestMultiError
- type GetGlobalConfigRequestValidationError
- func (e GetGlobalConfigRequestValidationError) Cause() error
- func (e GetGlobalConfigRequestValidationError) Error() string
- func (e GetGlobalConfigRequestValidationError) ErrorName() string
- func (e GetGlobalConfigRequestValidationError) Field() string
- func (e GetGlobalConfigRequestValidationError) Key() bool
- func (e GetGlobalConfigRequestValidationError) Reason() string
- type GetPrivacyPolicyReply
- func (*GetPrivacyPolicyReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivacyPolicyReply) GetPrivacyPolicy() string
- func (*GetPrivacyPolicyReply) ProtoMessage()
- func (x *GetPrivacyPolicyReply) ProtoReflect() protoreflect.Message
- func (x *GetPrivacyPolicyReply) Reset()
- func (x *GetPrivacyPolicyReply) String() string
- func (m *GetPrivacyPolicyReply) Validate() error
- func (m *GetPrivacyPolicyReply) ValidateAll() error
- type GetPrivacyPolicyReplyMultiError
- type GetPrivacyPolicyReplyValidationError
- func (e GetPrivacyPolicyReplyValidationError) Cause() error
- func (e GetPrivacyPolicyReplyValidationError) Error() string
- func (e GetPrivacyPolicyReplyValidationError) ErrorName() string
- func (e GetPrivacyPolicyReplyValidationError) Field() string
- func (e GetPrivacyPolicyReplyValidationError) Key() bool
- func (e GetPrivacyPolicyReplyValidationError) Reason() string
- type GetPrivacyPolicyRequest
- func (*GetPrivacyPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetPrivacyPolicyRequest) ProtoMessage()
- func (x *GetPrivacyPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetPrivacyPolicyRequest) Reset()
- func (x *GetPrivacyPolicyRequest) String() string
- func (m *GetPrivacyPolicyRequest) Validate() error
- func (m *GetPrivacyPolicyRequest) ValidateAll() error
- type GetPrivacyPolicyRequestMultiError
- type GetPrivacyPolicyRequestValidationError
- func (e GetPrivacyPolicyRequestValidationError) Cause() error
- func (e GetPrivacyPolicyRequestValidationError) Error() string
- func (e GetPrivacyPolicyRequestValidationError) ErrorName() string
- func (e GetPrivacyPolicyRequestValidationError) Field() string
- func (e GetPrivacyPolicyRequestValidationError) Key() bool
- func (e GetPrivacyPolicyRequestValidationError) Reason() string
- type GetStatReply
- func (*GetStatReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatReply) GetCountry() int64
- func (x *GetStatReply) GetNode() int64
- func (x *GetStatReply) GetProtocol() []string
- func (x *GetStatReply) GetUser() int64
- func (*GetStatReply) ProtoMessage()
- func (x *GetStatReply) ProtoReflect() protoreflect.Message
- func (x *GetStatReply) Reset()
- func (x *GetStatReply) String() string
- func (m *GetStatReply) Validate() error
- func (m *GetStatReply) ValidateAll() error
- type GetStatReplyMultiError
- type GetStatReplyValidationError
- func (e GetStatReplyValidationError) Cause() error
- func (e GetStatReplyValidationError) Error() string
- func (e GetStatReplyValidationError) ErrorName() string
- func (e GetStatReplyValidationError) Field() string
- func (e GetStatReplyValidationError) Key() bool
- func (e GetStatReplyValidationError) Reason() string
- type GetStatRequest
- func (*GetStatRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetStatRequest) ProtoMessage()
- func (x *GetStatRequest) ProtoReflect() protoreflect.Message
- func (x *GetStatRequest) Reset()
- func (x *GetStatRequest) String() string
- func (m *GetStatRequest) Validate() error
- func (m *GetStatRequest) ValidateAll() error
- type GetStatRequestMultiError
- type GetStatRequestValidationError
- func (e GetStatRequestValidationError) Cause() error
- func (e GetStatRequestValidationError) Error() string
- func (e GetStatRequestValidationError) ErrorName() string
- func (e GetStatRequestValidationError) Field() string
- func (e GetStatRequestValidationError) Key() bool
- func (e GetStatRequestValidationError) Reason() string
- type GetTosReply
- func (*GetTosReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTosReply) GetTosContent() string
- func (*GetTosReply) ProtoMessage()
- func (x *GetTosReply) ProtoReflect() protoreflect.Message
- func (x *GetTosReply) Reset()
- func (x *GetTosReply) String() string
- func (m *GetTosReply) Validate() error
- func (m *GetTosReply) ValidateAll() error
- type GetTosReplyMultiError
- type GetTosReplyValidationError
- func (e GetTosReplyValidationError) Cause() error
- func (e GetTosReplyValidationError) Error() string
- func (e GetTosReplyValidationError) ErrorName() string
- func (e GetTosReplyValidationError) Field() string
- func (e GetTosReplyValidationError) Key() bool
- func (e GetTosReplyValidationError) Reason() string
- type GetTosRequest
- func (*GetTosRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetTosRequest) ProtoMessage()
- func (x *GetTosRequest) ProtoReflect() protoreflect.Message
- func (x *GetTosRequest) Reset()
- func (x *GetTosRequest) String() string
- func (m *GetTosRequest) Validate() error
- func (m *GetTosRequest) ValidateAll() error
- type GetTosRequestMultiError
- type GetTosRequestValidationError
- func (e GetTosRequestValidationError) Cause() error
- func (e GetTosRequestValidationError) Error() string
- func (e GetTosRequestValidationError) ErrorName() string
- func (e GetTosRequestValidationError) Field() string
- func (e GetTosRequestValidationError) Key() bool
- func (e GetTosRequestValidationError) Reason() string
- type HeartbeatReply
- func (*HeartbeatReply) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatReply) GetMessage() string
- func (x *HeartbeatReply) GetStatus() bool
- func (x *HeartbeatReply) GetTimestamp() int64
- func (*HeartbeatReply) ProtoMessage()
- func (x *HeartbeatReply) ProtoReflect() protoreflect.Message
- func (x *HeartbeatReply) Reset()
- func (x *HeartbeatReply) String() string
- func (m *HeartbeatReply) Validate() error
- func (m *HeartbeatReply) ValidateAll() error
- type HeartbeatReplyMultiError
- type HeartbeatReplyValidationError
- func (e HeartbeatReplyValidationError) Cause() error
- func (e HeartbeatReplyValidationError) Error() string
- func (e HeartbeatReplyValidationError) ErrorName() string
- func (e HeartbeatReplyValidationError) Field() string
- func (e HeartbeatReplyValidationError) Key() bool
- func (e HeartbeatReplyValidationError) Reason() string
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- func (m *HeartbeatRequest) Validate() error
- func (m *HeartbeatRequest) ValidateAll() error
- type HeartbeatRequestMultiError
- type HeartbeatRequestValidationError
- func (e HeartbeatRequestValidationError) Cause() error
- func (e HeartbeatRequestValidationError) Error() string
- func (e HeartbeatRequestValidationError) ErrorName() string
- func (e HeartbeatRequestValidationError) Field() string
- func (e HeartbeatRequestValidationError) Key() bool
- func (e HeartbeatRequestValidationError) Reason() string
- type InviteConfig
- func (*InviteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InviteConfig) GetForcedInvite() bool
- func (x *InviteConfig) GetOnlyFirstPurchase() bool
- func (x *InviteConfig) GetReferralPercentage() int64
- func (*InviteConfig) ProtoMessage()
- func (x *InviteConfig) ProtoReflect() protoreflect.Message
- func (x *InviteConfig) Reset()
- func (x *InviteConfig) String() string
- func (m *InviteConfig) Validate() error
- func (m *InviteConfig) ValidateAll() error
- type InviteConfigMultiError
- type InviteConfigValidationError
- func (e InviteConfigValidationError) Cause() error
- func (e InviteConfigValidationError) Error() string
- func (e InviteConfigValidationError) ErrorName() string
- func (e InviteConfigValidationError) Field() string
- func (e InviteConfigValidationError) Key() bool
- func (e InviteConfigValidationError) Reason() string
- type MobileAuthConfig
- func (*MobileAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MobileAuthConfig) GetEnable() bool
- func (x *MobileAuthConfig) GetEnableWhitelist() bool
- func (x *MobileAuthConfig) GetWhitelist() []string
- func (*MobileAuthConfig) ProtoMessage()
- func (x *MobileAuthConfig) ProtoReflect() protoreflect.Message
- func (x *MobileAuthConfig) Reset()
- func (x *MobileAuthConfig) String() string
- func (m *MobileAuthConfig) Validate() error
- func (m *MobileAuthConfig) ValidateAll() error
- type MobileAuthConfigMultiError
- type MobileAuthConfigValidationError
- func (e MobileAuthConfigValidationError) Cause() error
- func (e MobileAuthConfigValidationError) Error() string
- func (e MobileAuthConfigValidationError) ErrorName() string
- func (e MobileAuthConfigValidationError) Field() string
- func (e MobileAuthConfigValidationError) Key() bool
- func (e MobileAuthConfigValidationError) Reason() string
- type PublicVerifyCodeConfig
- func (*PublicVerifyCodeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PublicVerifyCodeConfig) GetVerifyCodeInterval() int64
- func (*PublicVerifyCodeConfig) ProtoMessage()
- func (x *PublicVerifyCodeConfig) ProtoReflect() protoreflect.Message
- func (x *PublicVerifyCodeConfig) Reset()
- func (x *PublicVerifyCodeConfig) String() string
- func (m *PublicVerifyCodeConfig) Validate() error
- func (m *PublicVerifyCodeConfig) ValidateAll() error
- type PublicVerifyCodeConfigMultiError
- type PublicVerifyCodeConfigValidationError
- func (e PublicVerifyCodeConfigValidationError) Cause() error
- func (e PublicVerifyCodeConfigValidationError) Error() string
- func (e PublicVerifyCodeConfigValidationError) ErrorName() string
- func (e PublicVerifyCodeConfigValidationError) Field() string
- func (e PublicVerifyCodeConfigValidationError) Key() bool
- func (e PublicVerifyCodeConfigValidationError) Reason() string
- type RegisterConfig
- func (*RegisterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterConfig) GetEnableIpRegisterLimit() bool
- func (x *RegisterConfig) GetIpRegisterLimit() int64
- func (x *RegisterConfig) GetIpRegisterLimitDuration() int64
- func (x *RegisterConfig) GetStopRegister() bool
- func (*RegisterConfig) ProtoMessage()
- func (x *RegisterConfig) ProtoReflect() protoreflect.Message
- func (x *RegisterConfig) Reset()
- func (x *RegisterConfig) String() string
- func (m *RegisterConfig) Validate() error
- func (m *RegisterConfig) ValidateAll() error
- type RegisterConfigMultiError
- type RegisterConfigValidationError
- func (e RegisterConfigValidationError) Cause() error
- func (e RegisterConfigValidationError) Error() string
- func (e RegisterConfigValidationError) ErrorName() string
- func (e RegisterConfigValidationError) Field() string
- func (e RegisterConfigValidationError) Key() bool
- func (e RegisterConfigValidationError) Reason() string
- type SendCodeReply
- func (*SendCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *SendCodeReply) GetStatus() bool
- func (*SendCodeReply) ProtoMessage()
- func (x *SendCodeReply) ProtoReflect() protoreflect.Message
- func (x *SendCodeReply) Reset()
- func (x *SendCodeReply) String() string
- func (m *SendCodeReply) Validate() error
- func (m *SendCodeReply) ValidateAll() error
- type SendCodeReplyMultiError
- type SendCodeReplyValidationError
- func (e SendCodeReplyValidationError) Cause() error
- func (e SendCodeReplyValidationError) Error() string
- func (e SendCodeReplyValidationError) ErrorName() string
- func (e SendCodeReplyValidationError) Field() string
- func (e SendCodeReplyValidationError) Key() bool
- func (e SendCodeReplyValidationError) Reason() string
- type SendEmailCodeRequest
- func (*SendEmailCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendEmailCodeRequest) GetEmail() string
- func (x *SendEmailCodeRequest) GetType() int32
- func (*SendEmailCodeRequest) ProtoMessage()
- func (x *SendEmailCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SendEmailCodeRequest) Reset()
- func (x *SendEmailCodeRequest) String() string
- func (m *SendEmailCodeRequest) Validate() error
- func (m *SendEmailCodeRequest) ValidateAll() error
- type SendEmailCodeRequestMultiError
- type SendEmailCodeRequestValidationError
- func (e SendEmailCodeRequestValidationError) Cause() error
- func (e SendEmailCodeRequestValidationError) Error() string
- func (e SendEmailCodeRequestValidationError) ErrorName() string
- func (e SendEmailCodeRequestValidationError) Field() string
- func (e SendEmailCodeRequestValidationError) Key() bool
- func (e SendEmailCodeRequestValidationError) Reason() string
- type SendSmsCodeRequest
- func (*SendSmsCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSmsCodeRequest) GetTelephone() string
- func (x *SendSmsCodeRequest) GetTelephoneAreaCode() string
- func (x *SendSmsCodeRequest) GetType() int32
- func (*SendSmsCodeRequest) ProtoMessage()
- func (x *SendSmsCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SendSmsCodeRequest) Reset()
- func (x *SendSmsCodeRequest) String() string
- func (m *SendSmsCodeRequest) Validate() error
- func (m *SendSmsCodeRequest) ValidateAll() error
- type SendSmsCodeRequestMultiError
- type SendSmsCodeRequestValidationError
- func (e SendSmsCodeRequestValidationError) Cause() error
- func (e SendSmsCodeRequestValidationError) Error() string
- func (e SendSmsCodeRequestValidationError) ErrorName() string
- func (e SendSmsCodeRequestValidationError) Field() string
- func (e SendSmsCodeRequestValidationError) Key() bool
- func (e SendSmsCodeRequestValidationError) Reason() string
- type SiteConfig
- func (*SiteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SiteConfig) GetCustomData() string
- func (x *SiteConfig) GetCustomHtml() string
- func (x *SiteConfig) GetHost() string
- func (x *SiteConfig) GetKeywords() string
- func (x *SiteConfig) GetSiteDesc() string
- func (x *SiteConfig) GetSiteLogo() string
- func (x *SiteConfig) GetSiteName() string
- func (*SiteConfig) ProtoMessage()
- func (x *SiteConfig) ProtoReflect() protoreflect.Message
- func (x *SiteConfig) Reset()
- func (x *SiteConfig) String() string
- func (m *SiteConfig) Validate() error
- func (m *SiteConfig) ValidateAll() error
- type SiteConfigMultiError
- type SiteConfigValidationError
- type SubscribeClient
- func (*SubscribeClient) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeClient) GetDescription() string
- func (x *SubscribeClient) GetDownloadLink() *DownloadLink
- func (x *SubscribeClient) GetIcon() string
- func (x *SubscribeClient) GetId() int64
- func (x *SubscribeClient) GetIsDefault() bool
- func (x *SubscribeClient) GetName() string
- func (x *SubscribeClient) GetScheme() string
- func (*SubscribeClient) ProtoMessage()
- func (x *SubscribeClient) ProtoReflect() protoreflect.Message
- func (x *SubscribeClient) Reset()
- func (x *SubscribeClient) String() string
- func (m *SubscribeClient) Validate() error
- func (m *SubscribeClient) ValidateAll() error
- type SubscribeClientMultiError
- type SubscribeClientValidationError
- func (e SubscribeClientValidationError) Cause() error
- func (e SubscribeClientValidationError) Error() string
- func (e SubscribeClientValidationError) ErrorName() string
- func (e SubscribeClientValidationError) Field() string
- func (e SubscribeClientValidationError) Key() bool
- func (e SubscribeClientValidationError) Reason() string
- type SubscribeConfig
- func (*SubscribeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeConfig) GetPanDomain() bool
- func (x *SubscribeConfig) GetSingleModel() bool
- func (x *SubscribeConfig) GetSubscribeDomain() string
- func (x *SubscribeConfig) GetSubscribePath() string
- func (x *SubscribeConfig) GetUserAgentLimit() bool
- func (x *SubscribeConfig) GetUserAgentList() string
- func (*SubscribeConfig) ProtoMessage()
- func (x *SubscribeConfig) ProtoReflect() protoreflect.Message
- func (x *SubscribeConfig) Reset()
- func (x *SubscribeConfig) String() string
- func (m *SubscribeConfig) Validate() error
- func (m *SubscribeConfig) ValidateAll() error
- type SubscribeConfigMultiError
- type SubscribeConfigValidationError
- func (e SubscribeConfigValidationError) Cause() error
- func (e SubscribeConfigValidationError) Error() string
- func (e SubscribeConfigValidationError) ErrorName() string
- func (e SubscribeConfigValidationError) Field() string
- func (e SubscribeConfigValidationError) Key() bool
- func (e SubscribeConfigValidationError) Reason() string
- type UnimplementedCommonServer
- func (UnimplementedCommonServer) CheckVerificationCode(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeReply, error)
- func (UnimplementedCommonServer) GetAds(context.Context, *GetAdsRequest) (*GetAdsReply, error)
- func (UnimplementedCommonServer) GetClient(context.Context, *GetClientRequest) (*GetClientReply, error)
- func (UnimplementedCommonServer) GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigReply, error)
- func (UnimplementedCommonServer) GetPrivacyPolicy(context.Context, *GetPrivacyPolicyRequest) (*GetPrivacyPolicyReply, error)
- func (UnimplementedCommonServer) GetStat(context.Context, *GetStatRequest) (*GetStatReply, error)
- func (UnimplementedCommonServer) GetTos(context.Context, *GetTosRequest) (*GetTosReply, error)
- func (UnimplementedCommonServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatReply, error)
- func (UnimplementedCommonServer) SendEmailCode(context.Context, *SendEmailCodeRequest) (*SendCodeReply, error)
- func (UnimplementedCommonServer) SendSmsCode(context.Context, *SendSmsCodeRequest) (*SendCodeReply, error)
- type UnsafeCommonServer
- type VerifyConfig
- func (*VerifyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyConfig) GetCaptchaType() string
- func (x *VerifyConfig) GetEnableAdminLoginCaptcha() bool
- func (x *VerifyConfig) GetEnableUserLoginCaptcha() bool
- func (x *VerifyConfig) GetEnableUserRegisterCaptcha() bool
- func (x *VerifyConfig) GetEnableUserResetPasswordCaptcha() bool
- func (x *VerifyConfig) GetTurnstileSiteKey() string
- func (*VerifyConfig) ProtoMessage()
- func (x *VerifyConfig) ProtoReflect() protoreflect.Message
- func (x *VerifyConfig) Reset()
- func (x *VerifyConfig) String() string
- func (m *VerifyConfig) Validate() error
- func (m *VerifyConfig) ValidateAll() error
- type VerifyConfigMultiError
- type VerifyConfigValidationError
- func (e VerifyConfigValidationError) Cause() error
- func (e VerifyConfigValidationError) Error() string
- func (e VerifyConfigValidationError) ErrorName() string
- func (e VerifyConfigValidationError) Field() string
- func (e VerifyConfigValidationError) Key() bool
- func (e VerifyConfigValidationError) Reason() string
Constants ¶
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" )
const OperationCommonCheckVerificationCode = "/api.public.common.v1.Common/CheckVerificationCode"
const OperationCommonGetAds = "/api.public.common.v1.Common/GetAds"
const OperationCommonGetClient = "/api.public.common.v1.Common/GetClient"
const OperationCommonGetGlobalConfig = "/api.public.common.v1.Common/GetGlobalConfig"
const OperationCommonGetPrivacyPolicy = "/api.public.common.v1.Common/GetPrivacyPolicy"
const OperationCommonGetStat = "/api.public.common.v1.Common/GetStat"
const OperationCommonGetTos = "/api.public.common.v1.Common/GetTos"
const OperationCommonHeartbeat = "/api.public.common.v1.Common/Heartbeat"
const OperationCommonSendEmailCode = "/api.public.common.v1.Common/SendEmailCode"
const OperationCommonSendSmsCode = "/api.public.common.v1.Common/SendSmsCode"
Variables ¶
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)
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) GetContent ¶
func (*Ads) GetCreatedAt ¶
func (*Ads) GetDescription ¶
func (*Ads) GetEndTime ¶
func (*Ads) GetStartTime ¶
func (*Ads) GetTargetUrl ¶
func (*Ads) GetUpdatedAt ¶
func (*Ads) ProtoMessage ¶
func (*Ads) ProtoMessage()
func (*Ads) ProtoReflect ¶
func (x *Ads) ProtoReflect() protoreflect.Message
func (*Ads) Validate ¶
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 ¶
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 ¶
func (e AuthConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthConfigValidationError) ErrorName ¶
func (e AuthConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthConfigValidationError) Field ¶
func (e AuthConfigValidationError) Field() string
Field function returns field value.
func (AuthConfigValidationError) Key ¶
func (e AuthConfigValidationError) Key() bool
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 (x *CheckVerificationCodeReply) ProtoReflect() protoreflect.Message
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 ¶
func (m CheckVerificationCodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckVerificationCodeReplyMultiError) Error ¶
func (m CheckVerificationCodeReplyMultiError) Error() string
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 ¶
func (e CheckVerificationCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (CheckVerificationCodeReplyValidationError) Error ¶
func (e CheckVerificationCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CheckVerificationCodeReplyValidationError) ErrorName ¶
func (e CheckVerificationCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CheckVerificationCodeReplyValidationError) Field ¶
func (e CheckVerificationCodeReplyValidationError) Field() string
Field function returns field value.
func (CheckVerificationCodeReplyValidationError) Key ¶
func (e CheckVerificationCodeReplyValidationError) Key() bool
Key function returns key value.
func (CheckVerificationCodeReplyValidationError) Reason ¶
func (e CheckVerificationCodeReplyValidationError) Reason() string
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 (x *CheckVerificationCodeRequest) ProtoReflect() protoreflect.Message
func (*CheckVerificationCodeRequest) Reset ¶
func (x *CheckVerificationCodeRequest) Reset()
func (*CheckVerificationCodeRequest) String ¶
func (x *CheckVerificationCodeRequest) String() 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 ¶
func (m CheckVerificationCodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckVerificationCodeRequestMultiError) Error ¶
func (m CheckVerificationCodeRequestMultiError) Error() string
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 ¶
func (e CheckVerificationCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckVerificationCodeRequestValidationError) Error ¶
func (e CheckVerificationCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckVerificationCodeRequestValidationError) ErrorName ¶
func (e CheckVerificationCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckVerificationCodeRequestValidationError) Field ¶
func (e CheckVerificationCodeRequestValidationError) Field() string
Field function returns field value.
func (CheckVerificationCodeRequestValidationError) Key ¶
func (e CheckVerificationCodeRequestValidationError) Key() bool
Key function returns key value.
func (CheckVerificationCodeRequestValidationError) Reason ¶
func (e CheckVerificationCodeRequestValidationError) Reason() string
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 ¶
func (c *CommonHTTPClientImpl) CheckVerificationCode(ctx context.Context, in *CheckVerificationCodeRequest, opts ...http.CallOption) (*CheckVerificationCodeReply, error)
CheckVerificationCode Check verification code
func (*CommonHTTPClientImpl) GetAds ¶
func (c *CommonHTTPClientImpl) GetAds(ctx context.Context, in *GetAdsRequest, opts ...http.CallOption) (*GetAdsReply, error)
GetAds Get ads list
func (*CommonHTTPClientImpl) GetClient ¶
func (c *CommonHTTPClientImpl) GetClient(ctx context.Context, in *GetClientRequest, opts ...http.CallOption) (*GetClientReply, error)
GetClient Get subscribe client list
func (*CommonHTTPClientImpl) GetGlobalConfig ¶
func (c *CommonHTTPClientImpl) GetGlobalConfig(ctx context.Context, in *GetGlobalConfigRequest, opts ...http.CallOption) (*GetGlobalConfigReply, error)
GetGlobalConfig Get global config
func (*CommonHTTPClientImpl) GetPrivacyPolicy ¶
func (c *CommonHTTPClientImpl) GetPrivacyPolicy(ctx context.Context, in *GetPrivacyPolicyRequest, opts ...http.CallOption) (*GetPrivacyPolicyReply, error)
GetPrivacyPolicy Get privacy policy
func (*CommonHTTPClientImpl) GetStat ¶
func (c *CommonHTTPClientImpl) GetStat(ctx context.Context, in *GetStatRequest, opts ...http.CallOption) (*GetStatReply, error)
GetStat Get statistics
func (*CommonHTTPClientImpl) GetTos ¶
func (c *CommonHTTPClientImpl) GetTos(ctx context.Context, in *GetTosRequest, opts ...http.CallOption) (*GetTosReply, error)
GetTos Get TOS (Terms of Service)
func (*CommonHTTPClientImpl) Heartbeat ¶
func (c *CommonHTTPClientImpl) Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...http.CallOption) (*HeartbeatReply, error)
Heartbeat Heartbeat
func (*CommonHTTPClientImpl) SendEmailCode ¶
func (c *CommonHTTPClientImpl) SendEmailCode(ctx context.Context, in *SendEmailCodeRequest, opts ...http.CallOption) (*SendCodeReply, 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.
func (*CommonHTTPClientImpl) SendSmsCode ¶
func (c *CommonHTTPClientImpl) SendSmsCode(ctx context.Context, in *SendSmsCodeRequest, opts ...http.CallOption) (*SendCodeReply, error)
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 ¶
func (e CurrencyConfigValidationError) Cause() error
Cause function returns cause value.
func (CurrencyConfigValidationError) Error ¶
func (e CurrencyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CurrencyConfigValidationError) ErrorName ¶
func (e CurrencyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CurrencyConfigValidationError) Field ¶
func (e CurrencyConfigValidationError) Field() string
Field function returns field value.
func (CurrencyConfigValidationError) Key ¶
func (e CurrencyConfigValidationError) Key() bool
Key function returns key value.
func (CurrencyConfigValidationError) Reason ¶
func (e CurrencyConfigValidationError) Reason() string
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 ¶
func (m DeviceAuthConfigMultiError) Error() string
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 ¶
func (e DeviceAuthConfigValidationError) Cause() error
Cause function returns cause value.
func (DeviceAuthConfigValidationError) Error ¶
func (e DeviceAuthConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DeviceAuthConfigValidationError) ErrorName ¶
func (e DeviceAuthConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DeviceAuthConfigValidationError) Field ¶
func (e DeviceAuthConfigValidationError) Field() string
Field function returns field value.
func (DeviceAuthConfigValidationError) Key ¶
func (e DeviceAuthConfigValidationError) Key() bool
Key function returns key value.
func (DeviceAuthConfigValidationError) Reason ¶
func (e DeviceAuthConfigValidationError) Reason() string
Reason function returns reason value.
type DownloadLink ¶
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 ¶
func (e DownloadLinkValidationError) Cause() error
Cause function returns cause value.
func (DownloadLinkValidationError) Error ¶
func (e DownloadLinkValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadLinkValidationError) ErrorName ¶
func (e DownloadLinkValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadLinkValidationError) Field ¶
func (e DownloadLinkValidationError) Field() string
Field function returns field value.
func (DownloadLinkValidationError) Key ¶
func (e DownloadLinkValidationError) Key() bool
Key function returns key value.
func (DownloadLinkValidationError) Reason ¶
func (e DownloadLinkValidationError) Reason() string
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 ¶
func (m EmailAuthConfigMultiError) Error() string
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 ¶
func (e EmailAuthConfigValidationError) Cause() error
Cause function returns cause value.
func (EmailAuthConfigValidationError) Error ¶
func (e EmailAuthConfigValidationError) Error() string
Error satisfies the builtin error interface
func (EmailAuthConfigValidationError) ErrorName ¶
func (e EmailAuthConfigValidationError) ErrorName() string
ErrorName returns error name.
func (EmailAuthConfigValidationError) Field ¶
func (e EmailAuthConfigValidationError) Field() string
Field function returns field value.
func (EmailAuthConfigValidationError) Key ¶
func (e EmailAuthConfigValidationError) Key() bool
Key function returns key value.
func (EmailAuthConfigValidationError) Reason ¶
func (e EmailAuthConfigValidationError) Reason() string
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 ¶
func (e GetAdsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAdsReplyValidationError) Error ¶
func (e GetAdsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAdsReplyValidationError) ErrorName ¶
func (e GetAdsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAdsReplyValidationError) Field ¶
func (e GetAdsReplyValidationError) Field() string
Field function returns field value.
func (GetAdsReplyValidationError) Key ¶
func (e GetAdsReplyValidationError) Key() bool
Key function returns key value.
func (GetAdsReplyValidationError) Reason ¶
func (e GetAdsReplyValidationError) Reason() string
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 ¶
func (e GetAdsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAdsRequestValidationError) Error ¶
func (e GetAdsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAdsRequestValidationError) ErrorName ¶
func (e GetAdsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAdsRequestValidationError) Field ¶
func (e GetAdsRequestValidationError) Field() string
Field function returns field value.
func (GetAdsRequestValidationError) Key ¶
func (e GetAdsRequestValidationError) Key() bool
Key function returns key value.
func (GetAdsRequestValidationError) Reason ¶
func (e GetAdsRequestValidationError) Reason() string
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 ¶
func (e GetClientReplyValidationError) Cause() error
Cause function returns cause value.
func (GetClientReplyValidationError) Error ¶
func (e GetClientReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetClientReplyValidationError) ErrorName ¶
func (e GetClientReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetClientReplyValidationError) Field ¶
func (e GetClientReplyValidationError) Field() string
Field function returns field value.
func (GetClientReplyValidationError) Key ¶
func (e GetClientReplyValidationError) Key() bool
Key function returns key value.
func (GetClientReplyValidationError) Reason ¶
func (e GetClientReplyValidationError) Reason() string
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 ¶
func (m GetClientRequestMultiError) Error() string
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 ¶
func (e GetClientRequestValidationError) Cause() error
Cause function returns cause value.
func (GetClientRequestValidationError) Error ¶
func (e GetClientRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetClientRequestValidationError) ErrorName ¶
func (e GetClientRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetClientRequestValidationError) Field ¶
func (e GetClientRequestValidationError) Field() string
Field function returns field value.
func (GetClientRequestValidationError) Key ¶
func (e GetClientRequestValidationError) Key() bool
Key function returns key value.
func (GetClientRequestValidationError) Reason ¶
func (e GetClientRequestValidationError) Reason() string
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 ¶
func (m GetGlobalConfigReplyMultiError) Error() string
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 ¶
func (e GetGlobalConfigReplyValidationError) Cause() error
Cause function returns cause value.
func (GetGlobalConfigReplyValidationError) Error ¶
func (e GetGlobalConfigReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetGlobalConfigReplyValidationError) ErrorName ¶
func (e GetGlobalConfigReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetGlobalConfigReplyValidationError) Field ¶
func (e GetGlobalConfigReplyValidationError) Field() string
Field function returns field value.
func (GetGlobalConfigReplyValidationError) Key ¶
func (e GetGlobalConfigReplyValidationError) Key() bool
Key function returns key value.
func (GetGlobalConfigReplyValidationError) Reason ¶
func (e GetGlobalConfigReplyValidationError) Reason() string
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 ¶
func (m GetGlobalConfigRequestMultiError) Error() string
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 ¶
func (e GetGlobalConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGlobalConfigRequestValidationError) Error ¶
func (e GetGlobalConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGlobalConfigRequestValidationError) ErrorName ¶
func (e GetGlobalConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGlobalConfigRequestValidationError) Field ¶
func (e GetGlobalConfigRequestValidationError) Field() string
Field function returns field value.
func (GetGlobalConfigRequestValidationError) Key ¶
func (e GetGlobalConfigRequestValidationError) Key() bool
Key function returns key value.
func (GetGlobalConfigRequestValidationError) Reason ¶
func (e GetGlobalConfigRequestValidationError) Reason() string
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 ¶
func (m GetPrivacyPolicyReplyMultiError) Error() string
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 ¶
func (e GetPrivacyPolicyReplyValidationError) Cause() error
Cause function returns cause value.
func (GetPrivacyPolicyReplyValidationError) Error ¶
func (e GetPrivacyPolicyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrivacyPolicyReplyValidationError) ErrorName ¶
func (e GetPrivacyPolicyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrivacyPolicyReplyValidationError) Field ¶
func (e GetPrivacyPolicyReplyValidationError) Field() string
Field function returns field value.
func (GetPrivacyPolicyReplyValidationError) Key ¶
func (e GetPrivacyPolicyReplyValidationError) Key() bool
Key function returns key value.
func (GetPrivacyPolicyReplyValidationError) Reason ¶
func (e GetPrivacyPolicyReplyValidationError) Reason() string
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 ¶
func (m GetPrivacyPolicyRequestMultiError) Error() string
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 ¶
func (e GetPrivacyPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPrivacyPolicyRequestValidationError) Error ¶
func (e GetPrivacyPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrivacyPolicyRequestValidationError) ErrorName ¶
func (e GetPrivacyPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrivacyPolicyRequestValidationError) Field ¶
func (e GetPrivacyPolicyRequestValidationError) Field() string
Field function returns field value.
func (GetPrivacyPolicyRequestValidationError) Key ¶
func (e GetPrivacyPolicyRequestValidationError) Key() bool
Key function returns key value.
func (GetPrivacyPolicyRequestValidationError) Reason ¶
func (e GetPrivacyPolicyRequestValidationError) Reason() string
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 ¶
func (e GetStatReplyValidationError) Cause() error
Cause function returns cause value.
func (GetStatReplyValidationError) Error ¶
func (e GetStatReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetStatReplyValidationError) ErrorName ¶
func (e GetStatReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetStatReplyValidationError) Field ¶
func (e GetStatReplyValidationError) Field() string
Field function returns field value.
func (GetStatReplyValidationError) Key ¶
func (e GetStatReplyValidationError) Key() bool
Key function returns key value.
func (GetStatReplyValidationError) Reason ¶
func (e GetStatReplyValidationError) Reason() string
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 ¶
func (e GetStatRequestValidationError) Cause() error
Cause function returns cause value.
func (GetStatRequestValidationError) Error ¶
func (e GetStatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetStatRequestValidationError) ErrorName ¶
func (e GetStatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetStatRequestValidationError) Field ¶
func (e GetStatRequestValidationError) Field() string
Field function returns field value.
func (GetStatRequestValidationError) Key ¶
func (e GetStatRequestValidationError) Key() bool
Key function returns key value.
func (GetStatRequestValidationError) Reason ¶
func (e GetStatRequestValidationError) Reason() string
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 ¶
func (e GetTosReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTosReplyValidationError) Error ¶
func (e GetTosReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTosReplyValidationError) ErrorName ¶
func (e GetTosReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTosReplyValidationError) Field ¶
func (e GetTosReplyValidationError) Field() string
Field function returns field value.
func (GetTosReplyValidationError) Key ¶
func (e GetTosReplyValidationError) Key() bool
Key function returns key value.
func (GetTosReplyValidationError) Reason ¶
func (e GetTosReplyValidationError) Reason() string
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 ¶
func (e GetTosRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTosRequestValidationError) Error ¶
func (e GetTosRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTosRequestValidationError) ErrorName ¶
func (e GetTosRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTosRequestValidationError) Field ¶
func (e GetTosRequestValidationError) Field() string
Field function returns field value.
func (GetTosRequestValidationError) Key ¶
func (e GetTosRequestValidationError) Key() bool
Key function returns key value.
func (GetTosRequestValidationError) Reason ¶
func (e GetTosRequestValidationError) Reason() string
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 ¶
func (e HeartbeatReplyValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatReplyValidationError) Error ¶
func (e HeartbeatReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatReplyValidationError) ErrorName ¶
func (e HeartbeatReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatReplyValidationError) Field ¶
func (e HeartbeatReplyValidationError) Field() string
Field function returns field value.
func (HeartbeatReplyValidationError) Key ¶
func (e HeartbeatReplyValidationError) Key() bool
Key function returns key value.
func (HeartbeatReplyValidationError) Reason ¶
func (e HeartbeatReplyValidationError) Reason() string
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 ¶
func (m HeartbeatRequestMultiError) Error() string
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 ¶
func (e HeartbeatRequestValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatRequestValidationError) Error ¶
func (e HeartbeatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatRequestValidationError) ErrorName ¶
func (e HeartbeatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatRequestValidationError) Field ¶
func (e HeartbeatRequestValidationError) Field() string
Field function returns field value.
func (HeartbeatRequestValidationError) Key ¶
func (e HeartbeatRequestValidationError) Key() bool
Key function returns key value.
func (HeartbeatRequestValidationError) Reason ¶
func (e HeartbeatRequestValidationError) Reason() string
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 ¶
func (e InviteConfigValidationError) Cause() error
Cause function returns cause value.
func (InviteConfigValidationError) Error ¶
func (e InviteConfigValidationError) Error() string
Error satisfies the builtin error interface
func (InviteConfigValidationError) ErrorName ¶
func (e InviteConfigValidationError) ErrorName() string
ErrorName returns error name.
func (InviteConfigValidationError) Field ¶
func (e InviteConfigValidationError) Field() string
Field function returns field value.
func (InviteConfigValidationError) Key ¶
func (e InviteConfigValidationError) Key() bool
Key function returns key value.
func (InviteConfigValidationError) Reason ¶
func (e InviteConfigValidationError) Reason() string
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 ¶
func (m MobileAuthConfigMultiError) Error() string
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 ¶
func (e MobileAuthConfigValidationError) Cause() error
Cause function returns cause value.
func (MobileAuthConfigValidationError) Error ¶
func (e MobileAuthConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MobileAuthConfigValidationError) ErrorName ¶
func (e MobileAuthConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MobileAuthConfigValidationError) Field ¶
func (e MobileAuthConfigValidationError) Field() string
Field function returns field value.
func (MobileAuthConfigValidationError) Key ¶
func (e MobileAuthConfigValidationError) Key() bool
Key function returns key value.
func (MobileAuthConfigValidationError) Reason ¶
func (e MobileAuthConfigValidationError) Reason() string
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 ¶
func (m PublicVerifyCodeConfigMultiError) Error() string
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 ¶
func (e PublicVerifyCodeConfigValidationError) Cause() error
Cause function returns cause value.
func (PublicVerifyCodeConfigValidationError) Error ¶
func (e PublicVerifyCodeConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PublicVerifyCodeConfigValidationError) ErrorName ¶
func (e PublicVerifyCodeConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PublicVerifyCodeConfigValidationError) Field ¶
func (e PublicVerifyCodeConfigValidationError) Field() string
Field function returns field value.
func (PublicVerifyCodeConfigValidationError) Key ¶
func (e PublicVerifyCodeConfigValidationError) Key() bool
Key function returns key value.
func (PublicVerifyCodeConfigValidationError) Reason ¶
func (e PublicVerifyCodeConfigValidationError) Reason() string
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 ¶
func (e RegisterConfigValidationError) Cause() error
Cause function returns cause value.
func (RegisterConfigValidationError) Error ¶
func (e RegisterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterConfigValidationError) ErrorName ¶
func (e RegisterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterConfigValidationError) Field ¶
func (e RegisterConfigValidationError) Field() string
Field function returns field value.
func (RegisterConfigValidationError) Key ¶
func (e RegisterConfigValidationError) Key() bool
Key function returns key value.
func (RegisterConfigValidationError) Reason ¶
func (e RegisterConfigValidationError) Reason() string
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 ¶
func (e SendCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (SendCodeReplyValidationError) Error ¶
func (e SendCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SendCodeReplyValidationError) ErrorName ¶
func (e SendCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SendCodeReplyValidationError) Field ¶
func (e SendCodeReplyValidationError) Field() string
Field function returns field value.
func (SendCodeReplyValidationError) Key ¶
func (e SendCodeReplyValidationError) Key() bool
Key function returns key value.
func (SendCodeReplyValidationError) Reason ¶
func (e SendCodeReplyValidationError) Reason() string
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 ¶
func (m SendEmailCodeRequestMultiError) Error() string
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 ¶
func (e SendEmailCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (SendEmailCodeRequestValidationError) Error ¶
func (e SendEmailCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendEmailCodeRequestValidationError) ErrorName ¶
func (e SendEmailCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendEmailCodeRequestValidationError) Field ¶
func (e SendEmailCodeRequestValidationError) Field() string
Field function returns field value.
func (SendEmailCodeRequestValidationError) Key ¶
func (e SendEmailCodeRequestValidationError) Key() bool
Key function returns key value.
func (SendEmailCodeRequestValidationError) Reason ¶
func (e SendEmailCodeRequestValidationError) Reason() string
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 ¶
func (m SendSmsCodeRequestMultiError) Error() string
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 ¶
func (e SendSmsCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (SendSmsCodeRequestValidationError) Error ¶
func (e SendSmsCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendSmsCodeRequestValidationError) ErrorName ¶
func (e SendSmsCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendSmsCodeRequestValidationError) Field ¶
func (e SendSmsCodeRequestValidationError) Field() string
Field function returns field value.
func (SendSmsCodeRequestValidationError) Key ¶
func (e SendSmsCodeRequestValidationError) Key() bool
Key function returns key value.
func (SendSmsCodeRequestValidationError) Reason ¶
func (e SendSmsCodeRequestValidationError) Reason() string
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"`
SiteLogo string `protobuf:"bytes,4,opt,name=site_logo,json=siteLogo,proto3" json:"site_logo,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 (*SiteConfig) GetSiteLogo ¶
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 ¶
func (e SiteConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SiteConfigValidationError) ErrorName ¶
func (e SiteConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SiteConfigValidationError) Field ¶
func (e SiteConfigValidationError) Field() string
Field function returns field value.
func (SiteConfigValidationError) Key ¶
func (e SiteConfigValidationError) Key() bool
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 (*SubscribeClient) GetDownloadLink ¶
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 ¶
func (m SubscribeClientMultiError) Error() string
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 ¶
func (e SubscribeClientValidationError) Cause() error
Cause function returns cause value.
func (SubscribeClientValidationError) Error ¶
func (e SubscribeClientValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeClientValidationError) ErrorName ¶
func (e SubscribeClientValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeClientValidationError) Field ¶
func (e SubscribeClientValidationError) Field() string
Field function returns field value.
func (SubscribeClientValidationError) Key ¶
func (e SubscribeClientValidationError) Key() bool
Key function returns key value.
func (SubscribeClientValidationError) Reason ¶
func (e SubscribeClientValidationError) Reason() string
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 ¶
func (m SubscribeConfigMultiError) Error() string
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 ¶
func (e SubscribeConfigValidationError) Cause() error
Cause function returns cause value.
func (SubscribeConfigValidationError) Error ¶
func (e SubscribeConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeConfigValidationError) ErrorName ¶
func (e SubscribeConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeConfigValidationError) Field ¶
func (e SubscribeConfigValidationError) Field() string
Field function returns field value.
func (SubscribeConfigValidationError) Key ¶
func (e SubscribeConfigValidationError) Key() bool
Key function returns key value.
func (SubscribeConfigValidationError) Reason ¶
func (e SubscribeConfigValidationError) Reason() string
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) CheckVerificationCode ¶
func (UnimplementedCommonServer) CheckVerificationCode(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeReply, error)
func (UnimplementedCommonServer) GetAds ¶
func (UnimplementedCommonServer) GetAds(context.Context, *GetAdsRequest) (*GetAdsReply, error)
func (UnimplementedCommonServer) GetClient ¶
func (UnimplementedCommonServer) GetClient(context.Context, *GetClientRequest) (*GetClientReply, error)
func (UnimplementedCommonServer) GetGlobalConfig ¶
func (UnimplementedCommonServer) GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigReply, error)
func (UnimplementedCommonServer) GetPrivacyPolicy ¶
func (UnimplementedCommonServer) GetPrivacyPolicy(context.Context, *GetPrivacyPolicyRequest) (*GetPrivacyPolicyReply, error)
func (UnimplementedCommonServer) GetStat ¶
func (UnimplementedCommonServer) GetStat(context.Context, *GetStatRequest) (*GetStatReply, error)
func (UnimplementedCommonServer) GetTos ¶
func (UnimplementedCommonServer) GetTos(context.Context, *GetTosRequest) (*GetTosReply, error)
func (UnimplementedCommonServer) Heartbeat ¶
func (UnimplementedCommonServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatReply, error)
func (UnimplementedCommonServer) SendEmailCode ¶
func (UnimplementedCommonServer) SendEmailCode(context.Context, *SendEmailCodeRequest) (*SendCodeReply, error)
func (UnimplementedCommonServer) SendSmsCode ¶
func (UnimplementedCommonServer) SendSmsCode(context.Context, *SendSmsCodeRequest) (*SendCodeReply, error)
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 ¶
func (e VerifyConfigValidationError) Cause() error
Cause function returns cause value.
func (VerifyConfigValidationError) Error ¶
func (e VerifyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyConfigValidationError) ErrorName ¶
func (e VerifyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyConfigValidationError) Field ¶
func (e VerifyConfigValidationError) Field() string
Field function returns field value.
func (VerifyConfigValidationError) Key ¶
func (e VerifyConfigValidationError) Key() bool
Key function returns key value.
func (VerifyConfigValidationError) Reason ¶
func (e VerifyConfigValidationError) Reason() string
Reason function returns reason value.