Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPublicUserHTTPServer(s *http.Server, srv PublicUserHTTPServer)
- func RegisterPublicUserServer(s grpc.ServiceRegistrar, srv PublicUserServer)
- type BalanceLog
- func (*BalanceLog) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceLog) GetAmount() int64
- func (x *BalanceLog) GetBalance() int64
- func (x *BalanceLog) GetOrderNo() string
- func (x *BalanceLog) GetTimestamp() int64
- func (x *BalanceLog) GetType() int32
- func (x *BalanceLog) GetUserId() int64
- func (*BalanceLog) ProtoMessage()
- func (x *BalanceLog) ProtoReflect() protoreflect.Message
- func (x *BalanceLog) Reset()
- func (x *BalanceLog) String() string
- func (m *BalanceLog) Validate() error
- func (m *BalanceLog) ValidateAll() error
- type BalanceLogMultiError
- type BalanceLogValidationError
- type BindOAuthCallbackRequest
- func (*BindOAuthCallbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindOAuthCallbackRequest) GetCallback() *structpb.Value
- func (x *BindOAuthCallbackRequest) GetMethod() string
- func (*BindOAuthCallbackRequest) ProtoMessage()
- func (x *BindOAuthCallbackRequest) ProtoReflect() protoreflect.Message
- func (x *BindOAuthCallbackRequest) Reset()
- func (x *BindOAuthCallbackRequest) String() string
- func (m *BindOAuthCallbackRequest) Validate() error
- func (m *BindOAuthCallbackRequest) ValidateAll() error
- type BindOAuthCallbackRequestMultiError
- type BindOAuthCallbackRequestValidationError
- func (e BindOAuthCallbackRequestValidationError) Cause() error
- func (e BindOAuthCallbackRequestValidationError) Error() string
- func (e BindOAuthCallbackRequestValidationError) ErrorName() string
- func (e BindOAuthCallbackRequestValidationError) Field() string
- func (e BindOAuthCallbackRequestValidationError) Key() bool
- func (e BindOAuthCallbackRequestValidationError) Reason() string
- type BindOAuthReply
- func (*BindOAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *BindOAuthReply) GetRedirect() string
- func (*BindOAuthReply) ProtoMessage()
- func (x *BindOAuthReply) ProtoReflect() protoreflect.Message
- func (x *BindOAuthReply) Reset()
- func (x *BindOAuthReply) String() string
- func (m *BindOAuthReply) Validate() error
- func (m *BindOAuthReply) ValidateAll() error
- type BindOAuthReplyMultiError
- type BindOAuthReplyValidationError
- func (e BindOAuthReplyValidationError) Cause() error
- func (e BindOAuthReplyValidationError) Error() string
- func (e BindOAuthReplyValidationError) ErrorName() string
- func (e BindOAuthReplyValidationError) Field() string
- func (e BindOAuthReplyValidationError) Key() bool
- func (e BindOAuthReplyValidationError) Reason() string
- type BindOAuthRequest
- func (*BindOAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindOAuthRequest) GetMethod() string
- func (x *BindOAuthRequest) GetRedirect() string
- func (*BindOAuthRequest) ProtoMessage()
- func (x *BindOAuthRequest) ProtoReflect() protoreflect.Message
- func (x *BindOAuthRequest) Reset()
- func (x *BindOAuthRequest) String() string
- func (m *BindOAuthRequest) Validate() error
- func (m *BindOAuthRequest) ValidateAll() error
- type BindOAuthRequestMultiError
- type BindOAuthRequestValidationError
- func (e BindOAuthRequestValidationError) Cause() error
- func (e BindOAuthRequestValidationError) Error() string
- func (e BindOAuthRequestValidationError) ErrorName() string
- func (e BindOAuthRequestValidationError) Field() string
- func (e BindOAuthRequestValidationError) Key() bool
- func (e BindOAuthRequestValidationError) Reason() string
- type BindTelegramReply
- func (*BindTelegramReply) Descriptor() ([]byte, []int)deprecated
- func (x *BindTelegramReply) GetExpiredAt() int64
- func (x *BindTelegramReply) GetUrl() string
- func (*BindTelegramReply) ProtoMessage()
- func (x *BindTelegramReply) ProtoReflect() protoreflect.Message
- func (x *BindTelegramReply) Reset()
- func (x *BindTelegramReply) String() string
- func (m *BindTelegramReply) Validate() error
- func (m *BindTelegramReply) ValidateAll() error
- type BindTelegramReplyMultiError
- type BindTelegramReplyValidationError
- func (e BindTelegramReplyValidationError) Cause() error
- func (e BindTelegramReplyValidationError) Error() string
- func (e BindTelegramReplyValidationError) ErrorName() string
- func (e BindTelegramReplyValidationError) Field() string
- func (e BindTelegramReplyValidationError) Key() bool
- func (e BindTelegramReplyValidationError) Reason() string
- type CommissionLog
- func (*CommissionLog) Descriptor() ([]byte, []int)deprecated
- func (x *CommissionLog) GetAmount() int64
- func (x *CommissionLog) GetOrderNo() string
- func (x *CommissionLog) GetTimestamp() int64
- func (x *CommissionLog) GetType() int32
- func (x *CommissionLog) GetUserId() int64
- func (*CommissionLog) ProtoMessage()
- func (x *CommissionLog) ProtoReflect() protoreflect.Message
- func (x *CommissionLog) Reset()
- func (x *CommissionLog) String() string
- func (m *CommissionLog) Validate() error
- func (m *CommissionLog) ValidateAll() error
- type CommissionLogMultiError
- type CommissionLogValidationError
- func (e CommissionLogValidationError) Cause() error
- func (e CommissionLogValidationError) Error() string
- func (e CommissionLogValidationError) ErrorName() string
- func (e CommissionLogValidationError) Field() string
- func (e CommissionLogValidationError) Key() bool
- func (e CommissionLogValidationError) Reason() string
- type CommissionWithdrawRequest
- func (*CommissionWithdrawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommissionWithdrawRequest) GetAmount() int64
- func (x *CommissionWithdrawRequest) GetContent() string
- func (*CommissionWithdrawRequest) ProtoMessage()
- func (x *CommissionWithdrawRequest) ProtoReflect() protoreflect.Message
- func (x *CommissionWithdrawRequest) Reset()
- func (x *CommissionWithdrawRequest) String() string
- func (m *CommissionWithdrawRequest) Validate() error
- func (m *CommissionWithdrawRequest) ValidateAll() error
- type CommissionWithdrawRequestMultiError
- type CommissionWithdrawRequestValidationError
- func (e CommissionWithdrawRequestValidationError) Cause() error
- func (e CommissionWithdrawRequestValidationError) Error() string
- func (e CommissionWithdrawRequestValidationError) ErrorName() string
- func (e CommissionWithdrawRequestValidationError) Field() string
- func (e CommissionWithdrawRequestValidationError) Key() bool
- func (e CommissionWithdrawRequestValidationError) Reason() string
- type ConnectionRecords
- func (*ConnectionRecords) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionRecords) GetCurrentContinuousDays() int64
- func (x *ConnectionRecords) GetHistoryContinuousDays() int64
- func (x *ConnectionRecords) GetLongestSingleConnection() int64
- func (*ConnectionRecords) ProtoMessage()
- func (x *ConnectionRecords) ProtoReflect() protoreflect.Message
- func (x *ConnectionRecords) Reset()
- func (x *ConnectionRecords) String() string
- func (m *ConnectionRecords) Validate() error
- func (m *ConnectionRecords) ValidateAll() error
- type ConnectionRecordsMultiError
- type ConnectionRecordsValidationError
- func (e ConnectionRecordsValidationError) Cause() error
- func (e ConnectionRecordsValidationError) Error() string
- func (e ConnectionRecordsValidationError) ErrorName() string
- func (e ConnectionRecordsValidationError) Field() string
- func (e ConnectionRecordsValidationError) Key() bool
- func (e ConnectionRecordsValidationError) Reason() string
- type DailyTrafficStats
- func (*DailyTrafficStats) Descriptor() ([]byte, []int)deprecated
- func (x *DailyTrafficStats) GetDate() string
- func (x *DailyTrafficStats) GetDownload() int64
- func (x *DailyTrafficStats) GetTotal() int32
- func (x *DailyTrafficStats) GetUpload() int64
- func (*DailyTrafficStats) ProtoMessage()
- func (x *DailyTrafficStats) ProtoReflect() protoreflect.Message
- func (x *DailyTrafficStats) Reset()
- func (x *DailyTrafficStats) String() string
- func (m *DailyTrafficStats) Validate() error
- func (m *DailyTrafficStats) ValidateAll() error
- type DailyTrafficStatsMultiError
- type DailyTrafficStatsValidationError
- func (e DailyTrafficStatsValidationError) Cause() error
- func (e DailyTrafficStatsValidationError) Error() string
- func (e DailyTrafficStatsValidationError) ErrorName() string
- func (e DailyTrafficStatsValidationError) Field() string
- func (e DailyTrafficStatsValidationError) Key() bool
- func (e DailyTrafficStatsValidationError) Reason() string
- type GetDeviceListReply
- func (*GetDeviceListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceListReply) GetList() []*UserDevice
- func (x *GetDeviceListReply) GetTotal() int32
- func (*GetDeviceListReply) ProtoMessage()
- func (x *GetDeviceListReply) ProtoReflect() protoreflect.Message
- func (x *GetDeviceListReply) Reset()
- func (x *GetDeviceListReply) String() string
- func (m *GetDeviceListReply) Validate() error
- func (m *GetDeviceListReply) ValidateAll() error
- type GetDeviceListReplyMultiError
- type GetDeviceListReplyValidationError
- func (e GetDeviceListReplyValidationError) Cause() error
- func (e GetDeviceListReplyValidationError) Error() string
- func (e GetDeviceListReplyValidationError) ErrorName() string
- func (e GetDeviceListReplyValidationError) Field() string
- func (e GetDeviceListReplyValidationError) Key() bool
- func (e GetDeviceListReplyValidationError) Reason() string
- type GetDeviceOnlineStatisticsReply
- func (*GetDeviceOnlineStatisticsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceOnlineStatisticsReply) GetConnectionRecords() *ConnectionRecords
- func (x *GetDeviceOnlineStatisticsReply) GetWeeklyStats() []*WeeklyStat
- func (*GetDeviceOnlineStatisticsReply) ProtoMessage()
- func (x *GetDeviceOnlineStatisticsReply) ProtoReflect() protoreflect.Message
- func (x *GetDeviceOnlineStatisticsReply) Reset()
- func (x *GetDeviceOnlineStatisticsReply) String() string
- func (m *GetDeviceOnlineStatisticsReply) Validate() error
- func (m *GetDeviceOnlineStatisticsReply) ValidateAll() error
- type GetDeviceOnlineStatisticsReplyMultiError
- type GetDeviceOnlineStatisticsReplyValidationError
- func (e GetDeviceOnlineStatisticsReplyValidationError) Cause() error
- func (e GetDeviceOnlineStatisticsReplyValidationError) Error() string
- func (e GetDeviceOnlineStatisticsReplyValidationError) ErrorName() string
- func (e GetDeviceOnlineStatisticsReplyValidationError) Field() string
- func (e GetDeviceOnlineStatisticsReplyValidationError) Key() bool
- func (e GetDeviceOnlineStatisticsReplyValidationError) Reason() string
- type GetLoginLogReply
- func (*GetLoginLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetLoginLogReply) GetList() []*UserLoginLog
- func (x *GetLoginLogReply) GetTotal() int32
- func (*GetLoginLogReply) ProtoMessage()
- func (x *GetLoginLogReply) ProtoReflect() protoreflect.Message
- func (x *GetLoginLogReply) Reset()
- func (x *GetLoginLogReply) String() string
- func (m *GetLoginLogReply) Validate() error
- func (m *GetLoginLogReply) ValidateAll() error
- type GetLoginLogReplyMultiError
- type GetLoginLogReplyValidationError
- func (e GetLoginLogReplyValidationError) Cause() error
- func (e GetLoginLogReplyValidationError) Error() string
- func (e GetLoginLogReplyValidationError) ErrorName() string
- func (e GetLoginLogReplyValidationError) Field() string
- func (e GetLoginLogReplyValidationError) Key() bool
- func (e GetLoginLogReplyValidationError) Reason() string
- type GetLoginLogRequest
- func (*GetLoginLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLoginLogRequest) GetPage() int64
- func (x *GetLoginLogRequest) GetSize() int64
- func (*GetLoginLogRequest) ProtoMessage()
- func (x *GetLoginLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetLoginLogRequest) Reset()
- func (x *GetLoginLogRequest) String() string
- func (m *GetLoginLogRequest) Validate() error
- func (m *GetLoginLogRequest) ValidateAll() error
- type GetLoginLogRequestMultiError
- type GetLoginLogRequestValidationError
- func (e GetLoginLogRequestValidationError) Cause() error
- func (e GetLoginLogRequestValidationError) Error() string
- func (e GetLoginLogRequestValidationError) ErrorName() string
- func (e GetLoginLogRequestValidationError) Field() string
- func (e GetLoginLogRequestValidationError) Key() bool
- func (e GetLoginLogRequestValidationError) Reason() string
- type GetOAuthMethodsReply
- func (*GetOAuthMethodsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetOAuthMethodsReply) GetMethods() []*UserAuthMethod
- func (*GetOAuthMethodsReply) ProtoMessage()
- func (x *GetOAuthMethodsReply) ProtoReflect() protoreflect.Message
- func (x *GetOAuthMethodsReply) Reset()
- func (x *GetOAuthMethodsReply) String() string
- func (m *GetOAuthMethodsReply) Validate() error
- func (m *GetOAuthMethodsReply) ValidateAll() error
- type GetOAuthMethodsReplyMultiError
- type GetOAuthMethodsReplyValidationError
- func (e GetOAuthMethodsReplyValidationError) Cause() error
- func (e GetOAuthMethodsReplyValidationError) Error() string
- func (e GetOAuthMethodsReplyValidationError) ErrorName() string
- func (e GetOAuthMethodsReplyValidationError) Field() string
- func (e GetOAuthMethodsReplyValidationError) Key() bool
- func (e GetOAuthMethodsReplyValidationError) Reason() string
- type GetSubscribeLogReply
- func (*GetSubscribeLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscribeLogReply) GetList() []*UserSubscribeLog
- func (x *GetSubscribeLogReply) GetTotal() int32
- func (*GetSubscribeLogReply) ProtoMessage()
- func (x *GetSubscribeLogReply) ProtoReflect() protoreflect.Message
- func (x *GetSubscribeLogReply) Reset()
- func (x *GetSubscribeLogReply) String() string
- func (m *GetSubscribeLogReply) Validate() error
- func (m *GetSubscribeLogReply) ValidateAll() error
- type GetSubscribeLogReplyMultiError
- type GetSubscribeLogReplyValidationError
- func (e GetSubscribeLogReplyValidationError) Cause() error
- func (e GetSubscribeLogReplyValidationError) Error() string
- func (e GetSubscribeLogReplyValidationError) ErrorName() string
- func (e GetSubscribeLogReplyValidationError) Field() string
- func (e GetSubscribeLogReplyValidationError) Key() bool
- func (e GetSubscribeLogReplyValidationError) Reason() string
- type GetSubscribeLogRequest
- func (*GetSubscribeLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscribeLogRequest) GetPage() int64
- func (x *GetSubscribeLogRequest) GetSize() int64
- func (*GetSubscribeLogRequest) ProtoMessage()
- func (x *GetSubscribeLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscribeLogRequest) Reset()
- func (x *GetSubscribeLogRequest) String() string
- func (m *GetSubscribeLogRequest) Validate() error
- func (m *GetSubscribeLogRequest) ValidateAll() error
- type GetSubscribeLogRequestMultiError
- type GetSubscribeLogRequestValidationError
- func (e GetSubscribeLogRequestValidationError) Cause() error
- func (e GetSubscribeLogRequestValidationError) Error() string
- func (e GetSubscribeLogRequestValidationError) ErrorName() string
- func (e GetSubscribeLogRequestValidationError) Field() string
- func (e GetSubscribeLogRequestValidationError) Key() bool
- func (e GetSubscribeLogRequestValidationError) Reason() string
- type GetUserTrafficStatsReply
- func (*GetUserTrafficStatsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserTrafficStatsReply) GetList() []*DailyTrafficStats
- func (x *GetUserTrafficStatsReply) GetTotalDownload() int64
- func (x *GetUserTrafficStatsReply) GetTotalTraffic() int64
- func (x *GetUserTrafficStatsReply) GetTotalUpload() int64
- func (*GetUserTrafficStatsReply) ProtoMessage()
- func (x *GetUserTrafficStatsReply) ProtoReflect() protoreflect.Message
- func (x *GetUserTrafficStatsReply) Reset()
- func (x *GetUserTrafficStatsReply) String() string
- func (m *GetUserTrafficStatsReply) Validate() error
- func (m *GetUserTrafficStatsReply) ValidateAll() error
- type GetUserTrafficStatsReplyMultiError
- type GetUserTrafficStatsReplyValidationError
- func (e GetUserTrafficStatsReplyValidationError) Cause() error
- func (e GetUserTrafficStatsReplyValidationError) Error() string
- func (e GetUserTrafficStatsReplyValidationError) ErrorName() string
- func (e GetUserTrafficStatsReplyValidationError) Field() string
- func (e GetUserTrafficStatsReplyValidationError) Key() bool
- func (e GetUserTrafficStatsReplyValidationError) Reason() string
- type GetUserTrafficStatsRequest
- func (*GetUserTrafficStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserTrafficStatsRequest) GetDays() int32
- func (x *GetUserTrafficStatsRequest) GetUserSubscribeId() string
- func (*GetUserTrafficStatsRequest) ProtoMessage()
- func (x *GetUserTrafficStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserTrafficStatsRequest) Reset()
- func (x *GetUserTrafficStatsRequest) String() string
- func (m *GetUserTrafficStatsRequest) Validate() error
- func (m *GetUserTrafficStatsRequest) ValidateAll() error
- type GetUserTrafficStatsRequestMultiError
- type GetUserTrafficStatsRequestValidationError
- func (e GetUserTrafficStatsRequestValidationError) Cause() error
- func (e GetUserTrafficStatsRequestValidationError) Error() string
- func (e GetUserTrafficStatsRequestValidationError) ErrorName() string
- func (e GetUserTrafficStatsRequestValidationError) Field() string
- func (e GetUserTrafficStatsRequestValidationError) Key() bool
- func (e GetUserTrafficStatsRequestValidationError) Reason() string
- type PreUnsubscribeReply
- func (*PreUnsubscribeReply) Descriptor() ([]byte, []int)deprecated
- func (x *PreUnsubscribeReply) GetDeductionAmount() int64
- func (*PreUnsubscribeReply) ProtoMessage()
- func (x *PreUnsubscribeReply) ProtoReflect() protoreflect.Message
- func (x *PreUnsubscribeReply) Reset()
- func (x *PreUnsubscribeReply) String() string
- func (m *PreUnsubscribeReply) Validate() error
- func (m *PreUnsubscribeReply) ValidateAll() error
- type PreUnsubscribeReplyMultiError
- type PreUnsubscribeReplyValidationError
- func (e PreUnsubscribeReplyValidationError) Cause() error
- func (e PreUnsubscribeReplyValidationError) Error() string
- func (e PreUnsubscribeReplyValidationError) ErrorName() string
- func (e PreUnsubscribeReplyValidationError) Field() string
- func (e PreUnsubscribeReplyValidationError) Key() bool
- func (e PreUnsubscribeReplyValidationError) Reason() string
- type PreUnsubscribeRequest
- func (*PreUnsubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreUnsubscribeRequest) GetId() int64
- func (*PreUnsubscribeRequest) ProtoMessage()
- func (x *PreUnsubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *PreUnsubscribeRequest) Reset()
- func (x *PreUnsubscribeRequest) String() string
- func (m *PreUnsubscribeRequest) Validate() error
- func (m *PreUnsubscribeRequest) ValidateAll() error
- type PreUnsubscribeRequestMultiError
- type PreUnsubscribeRequestValidationError
- func (e PreUnsubscribeRequestValidationError) Cause() error
- func (e PreUnsubscribeRequestValidationError) Error() string
- func (e PreUnsubscribeRequestValidationError) ErrorName() string
- func (e PreUnsubscribeRequestValidationError) Field() string
- func (e PreUnsubscribeRequestValidationError) Key() bool
- func (e PreUnsubscribeRequestValidationError) Reason() string
- type PublicUserClient
- type PublicUserHTTPClient
- type PublicUserHTTPClientImpl
- func (c *PublicUserHTTPClientImpl) BindOAuth(ctx context.Context, in *BindOAuthRequest, opts ...http.CallOption) (*BindOAuthReply, error)
- func (c *PublicUserHTTPClientImpl) BindOAuthCallback(ctx context.Context, in *BindOAuthCallbackRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) BindTelegram(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*BindTelegramReply, error)
- func (c *PublicUserHTTPClientImpl) CommissionWithdraw(ctx context.Context, in *CommissionWithdrawRequest, opts ...http.CallOption) (*WithdrawalLog, error)
- func (c *PublicUserHTTPClientImpl) DeleteCurrentUserAccount(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) DeviceWSConnect(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) GetDeviceList(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDeviceListReply, error)
- func (c *PublicUserHTTPClientImpl) GetDeviceOnlineStatistics(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDeviceOnlineStatisticsReply, error)
- func (c *PublicUserHTTPClientImpl) GetLoginLog(ctx context.Context, in *GetLoginLogRequest, opts ...http.CallOption) (*GetLoginLogReply, error)
- func (c *PublicUserHTTPClientImpl) GetOAuthMethods(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetOAuthMethodsReply, error)
- func (c *PublicUserHTTPClientImpl) GetSubscribeLog(ctx context.Context, in *GetSubscribeLogRequest, opts ...http.CallOption) (*GetSubscribeLogReply, error)
- func (c *PublicUserHTTPClientImpl) GetUserTrafficStats(ctx context.Context, in *GetUserTrafficStatsRequest, opts ...http.CallOption) (*GetUserTrafficStatsReply, error)
- func (c *PublicUserHTTPClientImpl) PreUnsubscribe(ctx context.Context, in *PreUnsubscribeRequest, opts ...http.CallOption) (*PreUnsubscribeReply, error)
- func (c *PublicUserHTTPClientImpl) QueryUserAffiliate(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserAffiliateCountReply, error)
- func (c *PublicUserHTTPClientImpl) QueryUserAffiliateList(ctx context.Context, in *QueryUserAffiliateListRequest, ...) (*QueryUserAffiliateListReply, error)
- func (c *PublicUserHTTPClientImpl) QueryUserBalanceLog(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserBalanceLogReply, error)
- func (c *PublicUserHTTPClientImpl) QueryUserCommissionLog(ctx context.Context, in *QueryUserCommissionLogRequest, ...) (*QueryUserCommissionLogReply, error)
- func (c *PublicUserHTTPClientImpl) QueryUserInfo(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*User, error)
- func (c *PublicUserHTTPClientImpl) QueryUserSubscribe(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserSubscribeReply, error)
- func (c *PublicUserHTTPClientImpl) QueryWithdrawalLog(ctx context.Context, in *QueryWithdrawalLogRequest, opts ...http.CallOption) (*QueryWithdrawalLogReply, error)
- func (c *PublicUserHTTPClientImpl) ResetUserSubscribeToken(ctx context.Context, in *ResetUserSubscribeTokenRequest, ...) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UnbindDevice(ctx context.Context, in *UnbindDeviceRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UnbindOAuth(ctx context.Context, in *UnbindOAuthRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UnbindTelegram(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateBindEmail(ctx context.Context, in *UpdateBindEmailRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateBindMobile(ctx context.Context, in *UpdateBindMobileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateUserNotify(ctx context.Context, in *UpdateUserNotifyRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateUserRules(ctx context.Context, in *UpdateUserRulesRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) UpdateUserSubscribeNote(ctx context.Context, in *UpdateUserSubscribeNoteRequest, ...) (*emptypb.Empty, error)
- func (c *PublicUserHTTPClientImpl) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type PublicUserHTTPServer
- type PublicUserServer
- type QueryUserAffiliateCountReply
- func (*QueryUserAffiliateCountReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserAffiliateCountReply) GetRegisters() int64
- func (x *QueryUserAffiliateCountReply) GetTotalCommission() int64
- func (*QueryUserAffiliateCountReply) ProtoMessage()
- func (x *QueryUserAffiliateCountReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserAffiliateCountReply) Reset()
- func (x *QueryUserAffiliateCountReply) String() string
- func (m *QueryUserAffiliateCountReply) Validate() error
- func (m *QueryUserAffiliateCountReply) ValidateAll() error
- type QueryUserAffiliateCountReplyMultiError
- type QueryUserAffiliateCountReplyValidationError
- func (e QueryUserAffiliateCountReplyValidationError) Cause() error
- func (e QueryUserAffiliateCountReplyValidationError) Error() string
- func (e QueryUserAffiliateCountReplyValidationError) ErrorName() string
- func (e QueryUserAffiliateCountReplyValidationError) Field() string
- func (e QueryUserAffiliateCountReplyValidationError) Key() bool
- func (e QueryUserAffiliateCountReplyValidationError) Reason() string
- type QueryUserAffiliateListReply
- func (*QueryUserAffiliateListReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserAffiliateListReply) GetList() []*UserAffiliate
- func (x *QueryUserAffiliateListReply) GetTotal() int32
- func (*QueryUserAffiliateListReply) ProtoMessage()
- func (x *QueryUserAffiliateListReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserAffiliateListReply) Reset()
- func (x *QueryUserAffiliateListReply) String() string
- func (m *QueryUserAffiliateListReply) Validate() error
- func (m *QueryUserAffiliateListReply) ValidateAll() error
- type QueryUserAffiliateListReplyMultiError
- type QueryUserAffiliateListReplyValidationError
- func (e QueryUserAffiliateListReplyValidationError) Cause() error
- func (e QueryUserAffiliateListReplyValidationError) Error() string
- func (e QueryUserAffiliateListReplyValidationError) ErrorName() string
- func (e QueryUserAffiliateListReplyValidationError) Field() string
- func (e QueryUserAffiliateListReplyValidationError) Key() bool
- func (e QueryUserAffiliateListReplyValidationError) Reason() string
- type QueryUserAffiliateListRequest
- func (*QueryUserAffiliateListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserAffiliateListRequest) GetPage() int64
- func (x *QueryUserAffiliateListRequest) GetSize() int64
- func (*QueryUserAffiliateListRequest) ProtoMessage()
- func (x *QueryUserAffiliateListRequest) ProtoReflect() protoreflect.Message
- func (x *QueryUserAffiliateListRequest) Reset()
- func (x *QueryUserAffiliateListRequest) String() string
- func (m *QueryUserAffiliateListRequest) Validate() error
- func (m *QueryUserAffiliateListRequest) ValidateAll() error
- type QueryUserAffiliateListRequestMultiError
- type QueryUserAffiliateListRequestValidationError
- func (e QueryUserAffiliateListRequestValidationError) Cause() error
- func (e QueryUserAffiliateListRequestValidationError) Error() string
- func (e QueryUserAffiliateListRequestValidationError) ErrorName() string
- func (e QueryUserAffiliateListRequestValidationError) Field() string
- func (e QueryUserAffiliateListRequestValidationError) Key() bool
- func (e QueryUserAffiliateListRequestValidationError) Reason() string
- type QueryUserBalanceLogReply
- func (*QueryUserBalanceLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserBalanceLogReply) GetList() []*BalanceLog
- func (x *QueryUserBalanceLogReply) GetTotal() int32
- func (*QueryUserBalanceLogReply) ProtoMessage()
- func (x *QueryUserBalanceLogReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserBalanceLogReply) Reset()
- func (x *QueryUserBalanceLogReply) String() string
- func (m *QueryUserBalanceLogReply) Validate() error
- func (m *QueryUserBalanceLogReply) ValidateAll() error
- type QueryUserBalanceLogReplyMultiError
- type QueryUserBalanceLogReplyValidationError
- func (e QueryUserBalanceLogReplyValidationError) Cause() error
- func (e QueryUserBalanceLogReplyValidationError) Error() string
- func (e QueryUserBalanceLogReplyValidationError) ErrorName() string
- func (e QueryUserBalanceLogReplyValidationError) Field() string
- func (e QueryUserBalanceLogReplyValidationError) Key() bool
- func (e QueryUserBalanceLogReplyValidationError) Reason() string
- type QueryUserCommissionLogReply
- func (*QueryUserCommissionLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserCommissionLogReply) GetList() []*CommissionLog
- func (x *QueryUserCommissionLogReply) GetTotal() int32
- func (*QueryUserCommissionLogReply) ProtoMessage()
- func (x *QueryUserCommissionLogReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserCommissionLogReply) Reset()
- func (x *QueryUserCommissionLogReply) String() string
- func (m *QueryUserCommissionLogReply) Validate() error
- func (m *QueryUserCommissionLogReply) ValidateAll() error
- type QueryUserCommissionLogReplyMultiError
- type QueryUserCommissionLogReplyValidationError
- func (e QueryUserCommissionLogReplyValidationError) Cause() error
- func (e QueryUserCommissionLogReplyValidationError) Error() string
- func (e QueryUserCommissionLogReplyValidationError) ErrorName() string
- func (e QueryUserCommissionLogReplyValidationError) Field() string
- func (e QueryUserCommissionLogReplyValidationError) Key() bool
- func (e QueryUserCommissionLogReplyValidationError) Reason() string
- type QueryUserCommissionLogRequest
- func (*QueryUserCommissionLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserCommissionLogRequest) GetPage() int64
- func (x *QueryUserCommissionLogRequest) GetSize() int64
- func (*QueryUserCommissionLogRequest) ProtoMessage()
- func (x *QueryUserCommissionLogRequest) ProtoReflect() protoreflect.Message
- func (x *QueryUserCommissionLogRequest) Reset()
- func (x *QueryUserCommissionLogRequest) String() string
- func (m *QueryUserCommissionLogRequest) Validate() error
- func (m *QueryUserCommissionLogRequest) ValidateAll() error
- type QueryUserCommissionLogRequestMultiError
- type QueryUserCommissionLogRequestValidationError
- func (e QueryUserCommissionLogRequestValidationError) Cause() error
- func (e QueryUserCommissionLogRequestValidationError) Error() string
- func (e QueryUserCommissionLogRequestValidationError) ErrorName() string
- func (e QueryUserCommissionLogRequestValidationError) Field() string
- func (e QueryUserCommissionLogRequestValidationError) Key() bool
- func (e QueryUserCommissionLogRequestValidationError) Reason() string
- type QueryUserSubscribeReply
- func (*QueryUserSubscribeReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserSubscribeReply) GetList() []*UserSubscribe
- func (x *QueryUserSubscribeReply) GetTotal() int32
- func (*QueryUserSubscribeReply) ProtoMessage()
- func (x *QueryUserSubscribeReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserSubscribeReply) Reset()
- func (x *QueryUserSubscribeReply) String() string
- func (m *QueryUserSubscribeReply) Validate() error
- func (m *QueryUserSubscribeReply) ValidateAll() error
- type QueryUserSubscribeReplyMultiError
- type QueryUserSubscribeReplyValidationError
- func (e QueryUserSubscribeReplyValidationError) Cause() error
- func (e QueryUserSubscribeReplyValidationError) Error() string
- func (e QueryUserSubscribeReplyValidationError) ErrorName() string
- func (e QueryUserSubscribeReplyValidationError) Field() string
- func (e QueryUserSubscribeReplyValidationError) Key() bool
- func (e QueryUserSubscribeReplyValidationError) Reason() string
- type QueryWithdrawalLogReply
- func (*QueryWithdrawalLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawalLogReply) GetList() []*WithdrawalLog
- func (x *QueryWithdrawalLogReply) GetTotal() int32
- func (*QueryWithdrawalLogReply) ProtoMessage()
- func (x *QueryWithdrawalLogReply) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawalLogReply) Reset()
- func (x *QueryWithdrawalLogReply) String() string
- func (m *QueryWithdrawalLogReply) Validate() error
- func (m *QueryWithdrawalLogReply) ValidateAll() error
- type QueryWithdrawalLogReplyMultiError
- type QueryWithdrawalLogReplyValidationError
- func (e QueryWithdrawalLogReplyValidationError) Cause() error
- func (e QueryWithdrawalLogReplyValidationError) Error() string
- func (e QueryWithdrawalLogReplyValidationError) ErrorName() string
- func (e QueryWithdrawalLogReplyValidationError) Field() string
- func (e QueryWithdrawalLogReplyValidationError) Key() bool
- func (e QueryWithdrawalLogReplyValidationError) Reason() string
- type QueryWithdrawalLogRequest
- func (*QueryWithdrawalLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawalLogRequest) GetPage() int64
- func (x *QueryWithdrawalLogRequest) GetSize() int64
- func (*QueryWithdrawalLogRequest) ProtoMessage()
- func (x *QueryWithdrawalLogRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawalLogRequest) Reset()
- func (x *QueryWithdrawalLogRequest) String() string
- func (m *QueryWithdrawalLogRequest) Validate() error
- func (m *QueryWithdrawalLogRequest) ValidateAll() error
- type QueryWithdrawalLogRequestMultiError
- type QueryWithdrawalLogRequestValidationError
- func (e QueryWithdrawalLogRequestValidationError) Cause() error
- func (e QueryWithdrawalLogRequestValidationError) Error() string
- func (e QueryWithdrawalLogRequestValidationError) ErrorName() string
- func (e QueryWithdrawalLogRequestValidationError) Field() string
- func (e QueryWithdrawalLogRequestValidationError) Key() bool
- func (e QueryWithdrawalLogRequestValidationError) Reason() string
- type ResetUserSubscribeTokenRequest
- func (*ResetUserSubscribeTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetUserSubscribeTokenRequest) GetUserSubscribeId() int64
- func (*ResetUserSubscribeTokenRequest) ProtoMessage()
- func (x *ResetUserSubscribeTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ResetUserSubscribeTokenRequest) Reset()
- func (x *ResetUserSubscribeTokenRequest) String() string
- func (m *ResetUserSubscribeTokenRequest) Validate() error
- func (m *ResetUserSubscribeTokenRequest) ValidateAll() error
- type ResetUserSubscribeTokenRequestMultiError
- type ResetUserSubscribeTokenRequestValidationError
- func (e ResetUserSubscribeTokenRequestValidationError) Cause() error
- func (e ResetUserSubscribeTokenRequestValidationError) Error() string
- func (e ResetUserSubscribeTokenRequestValidationError) ErrorName() string
- func (e ResetUserSubscribeTokenRequestValidationError) Field() string
- func (e ResetUserSubscribeTokenRequestValidationError) Key() bool
- func (e ResetUserSubscribeTokenRequestValidationError) Reason() string
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Subscribe) GetAllowDeduction() bool
- func (x *Subscribe) GetCreatedAt() int64
- func (x *Subscribe) GetDeductionRatio() int32
- func (x *Subscribe) GetDescription() string
- func (x *Subscribe) GetDeviceLimit() int32
- func (x *Subscribe) GetDiscount() []*SubscribeDiscount
- func (x *Subscribe) GetId() int64
- func (x *Subscribe) GetInventory() int32
- func (x *Subscribe) GetLanguage() string
- func (x *Subscribe) GetName() string
- func (x *Subscribe) GetNodeGroupId() int64
- func (x *Subscribe) GetNodeGroupIds() []int64
- func (x *Subscribe) GetNodeTags() []string
- func (x *Subscribe) GetNodes() []int64
- func (x *Subscribe) GetQuota() int32
- func (x *Subscribe) GetRenewalReset() bool
- func (x *Subscribe) GetReplacement() int64
- func (x *Subscribe) GetResetCycle() int32
- func (x *Subscribe) GetSell() bool
- func (x *Subscribe) GetShow() bool
- func (x *Subscribe) GetShowOriginalPrice() bool
- func (x *Subscribe) GetSort() int32
- func (x *Subscribe) GetSpeedLimit() int32
- func (x *Subscribe) GetTraffic() int64
- func (x *Subscribe) GetTrafficLimit() []*TrafficLimit
- func (x *Subscribe) GetUnitPrice() int64
- func (x *Subscribe) GetUnitTime() string
- func (x *Subscribe) GetUpdatedAt() int64
- func (*Subscribe) ProtoMessage()
- func (x *Subscribe) ProtoReflect() protoreflect.Message
- func (x *Subscribe) Reset()
- func (x *Subscribe) String() string
- func (m *Subscribe) Validate() error
- func (m *Subscribe) ValidateAll() error
- type SubscribeDiscount
- func (*SubscribeDiscount) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeDiscount) GetDiscount() float64
- func (x *SubscribeDiscount) GetQuantity() int64
- func (*SubscribeDiscount) ProtoMessage()
- func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
- func (x *SubscribeDiscount) Reset()
- func (x *SubscribeDiscount) String() string
- func (m *SubscribeDiscount) Validate() error
- func (m *SubscribeDiscount) ValidateAll() error
- type SubscribeDiscountMultiError
- type SubscribeDiscountValidationError
- func (e SubscribeDiscountValidationError) Cause() error
- func (e SubscribeDiscountValidationError) Error() string
- func (e SubscribeDiscountValidationError) ErrorName() string
- func (e SubscribeDiscountValidationError) Field() string
- func (e SubscribeDiscountValidationError) Key() bool
- func (e SubscribeDiscountValidationError) Reason() string
- type SubscribeMultiError
- type SubscribeValidationError
- type TrafficLimit
- func (*TrafficLimit) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficLimit) GetSpeedLimit() int32
- func (x *TrafficLimit) GetStatType() string
- func (x *TrafficLimit) GetStatValue() int64
- func (x *TrafficLimit) GetTrafficUsage() int64
- func (*TrafficLimit) ProtoMessage()
- func (x *TrafficLimit) ProtoReflect() protoreflect.Message
- func (x *TrafficLimit) Reset()
- func (x *TrafficLimit) String() string
- func (m *TrafficLimit) Validate() error
- func (m *TrafficLimit) ValidateAll() error
- type TrafficLimitMultiError
- type TrafficLimitValidationError
- func (e TrafficLimitValidationError) Cause() error
- func (e TrafficLimitValidationError) Error() string
- func (e TrafficLimitValidationError) ErrorName() string
- func (e TrafficLimitValidationError) Field() string
- func (e TrafficLimitValidationError) Key() bool
- func (e TrafficLimitValidationError) Reason() string
- type UnbindDeviceRequest
- func (*UnbindDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbindDeviceRequest) GetId() int64
- func (*UnbindDeviceRequest) ProtoMessage()
- func (x *UnbindDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *UnbindDeviceRequest) Reset()
- func (x *UnbindDeviceRequest) String() string
- func (m *UnbindDeviceRequest) Validate() error
- func (m *UnbindDeviceRequest) ValidateAll() error
- type UnbindDeviceRequestMultiError
- type UnbindDeviceRequestValidationError
- func (e UnbindDeviceRequestValidationError) Cause() error
- func (e UnbindDeviceRequestValidationError) Error() string
- func (e UnbindDeviceRequestValidationError) ErrorName() string
- func (e UnbindDeviceRequestValidationError) Field() string
- func (e UnbindDeviceRequestValidationError) Key() bool
- func (e UnbindDeviceRequestValidationError) Reason() string
- type UnbindOAuthRequest
- func (*UnbindOAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbindOAuthRequest) GetMethod() string
- func (*UnbindOAuthRequest) ProtoMessage()
- func (x *UnbindOAuthRequest) ProtoReflect() protoreflect.Message
- func (x *UnbindOAuthRequest) Reset()
- func (x *UnbindOAuthRequest) String() string
- func (m *UnbindOAuthRequest) Validate() error
- func (m *UnbindOAuthRequest) ValidateAll() error
- type UnbindOAuthRequestMultiError
- type UnbindOAuthRequestValidationError
- func (e UnbindOAuthRequestValidationError) Cause() error
- func (e UnbindOAuthRequestValidationError) Error() string
- func (e UnbindOAuthRequestValidationError) ErrorName() string
- func (e UnbindOAuthRequestValidationError) Field() string
- func (e UnbindOAuthRequestValidationError) Key() bool
- func (e UnbindOAuthRequestValidationError) Reason() string
- type UnimplementedPublicUserServer
- func (UnimplementedPublicUserServer) BindOAuth(context.Context, *BindOAuthRequest) (*BindOAuthReply, error)
- func (UnimplementedPublicUserServer) BindOAuthCallback(context.Context, *BindOAuthCallbackRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) BindTelegram(context.Context, *emptypb.Empty) (*BindTelegramReply, error)
- func (UnimplementedPublicUserServer) CommissionWithdraw(context.Context, *CommissionWithdrawRequest) (*WithdrawalLog, error)
- func (UnimplementedPublicUserServer) DeleteCurrentUserAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) DeviceWSConnect(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) GetDeviceList(context.Context, *emptypb.Empty) (*GetDeviceListReply, error)
- func (UnimplementedPublicUserServer) GetDeviceOnlineStatistics(context.Context, *emptypb.Empty) (*GetDeviceOnlineStatisticsReply, error)
- func (UnimplementedPublicUserServer) GetLoginLog(context.Context, *GetLoginLogRequest) (*GetLoginLogReply, error)
- func (UnimplementedPublicUserServer) GetOAuthMethods(context.Context, *emptypb.Empty) (*GetOAuthMethodsReply, error)
- func (UnimplementedPublicUserServer) GetSubscribeLog(context.Context, *GetSubscribeLogRequest) (*GetSubscribeLogReply, error)
- func (UnimplementedPublicUserServer) GetUserTrafficStats(context.Context, *GetUserTrafficStatsRequest) (*GetUserTrafficStatsReply, error)
- func (UnimplementedPublicUserServer) PreUnsubscribe(context.Context, *PreUnsubscribeRequest) (*PreUnsubscribeReply, error)
- func (UnimplementedPublicUserServer) QueryUserAffiliate(context.Context, *emptypb.Empty) (*QueryUserAffiliateCountReply, error)
- func (UnimplementedPublicUserServer) QueryUserAffiliateList(context.Context, *QueryUserAffiliateListRequest) (*QueryUserAffiliateListReply, error)
- func (UnimplementedPublicUserServer) QueryUserBalanceLog(context.Context, *emptypb.Empty) (*QueryUserBalanceLogReply, error)
- func (UnimplementedPublicUserServer) QueryUserCommissionLog(context.Context, *QueryUserCommissionLogRequest) (*QueryUserCommissionLogReply, error)
- func (UnimplementedPublicUserServer) QueryUserInfo(context.Context, *emptypb.Empty) (*User, error)
- func (UnimplementedPublicUserServer) QueryUserSubscribe(context.Context, *emptypb.Empty) (*QueryUserSubscribeReply, error)
- func (UnimplementedPublicUserServer) QueryWithdrawalLog(context.Context, *QueryWithdrawalLogRequest) (*QueryWithdrawalLogReply, error)
- func (UnimplementedPublicUserServer) ResetUserSubscribeToken(context.Context, *ResetUserSubscribeTokenRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UnbindDevice(context.Context, *UnbindDeviceRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UnbindOAuth(context.Context, *UnbindOAuthRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UnbindTelegram(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) Unsubscribe(context.Context, *UnsubscribeRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateBindEmail(context.Context, *UpdateBindEmailRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateBindMobile(context.Context, *UpdateBindMobileRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateUserNotify(context.Context, *UpdateUserNotifyRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateUserRules(context.Context, *UpdateUserRulesRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) UpdateUserSubscribeNote(context.Context, *UpdateUserSubscribeNoteRequest) (*emptypb.Empty, error)
- func (UnimplementedPublicUserServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*emptypb.Empty, error)
- type UnsafePublicUserServer
- type UnsubscribeRequest
- func (*UnsubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeRequest) GetId() int64
- func (*UnsubscribeRequest) ProtoMessage()
- func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeRequest) Reset()
- func (x *UnsubscribeRequest) String() string
- func (m *UnsubscribeRequest) Validate() error
- func (m *UnsubscribeRequest) ValidateAll() error
- type UnsubscribeRequestMultiError
- type UnsubscribeRequestValidationError
- func (e UnsubscribeRequestValidationError) Cause() error
- func (e UnsubscribeRequestValidationError) Error() string
- func (e UnsubscribeRequestValidationError) ErrorName() string
- func (e UnsubscribeRequestValidationError) Field() string
- func (e UnsubscribeRequestValidationError) Key() bool
- func (e UnsubscribeRequestValidationError) Reason() string
- type UpdateBindEmailRequest
- func (*UpdateBindEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBindEmailRequest) GetEmail() string
- func (*UpdateBindEmailRequest) ProtoMessage()
- func (x *UpdateBindEmailRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBindEmailRequest) Reset()
- func (x *UpdateBindEmailRequest) String() string
- func (m *UpdateBindEmailRequest) Validate() error
- func (m *UpdateBindEmailRequest) ValidateAll() error
- type UpdateBindEmailRequestMultiError
- type UpdateBindEmailRequestValidationError
- func (e UpdateBindEmailRequestValidationError) Cause() error
- func (e UpdateBindEmailRequestValidationError) Error() string
- func (e UpdateBindEmailRequestValidationError) ErrorName() string
- func (e UpdateBindEmailRequestValidationError) Field() string
- func (e UpdateBindEmailRequestValidationError) Key() bool
- func (e UpdateBindEmailRequestValidationError) Reason() string
- type UpdateBindMobileRequest
- func (*UpdateBindMobileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBindMobileRequest) GetAreaCode() string
- func (x *UpdateBindMobileRequest) GetCode() string
- func (x *UpdateBindMobileRequest) GetMobile() string
- func (*UpdateBindMobileRequest) ProtoMessage()
- func (x *UpdateBindMobileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBindMobileRequest) Reset()
- func (x *UpdateBindMobileRequest) String() string
- func (m *UpdateBindMobileRequest) Validate() error
- func (m *UpdateBindMobileRequest) ValidateAll() error
- type UpdateBindMobileRequestMultiError
- type UpdateBindMobileRequestValidationError
- func (e UpdateBindMobileRequestValidationError) Cause() error
- func (e UpdateBindMobileRequestValidationError) Error() string
- func (e UpdateBindMobileRequestValidationError) ErrorName() string
- func (e UpdateBindMobileRequestValidationError) Field() string
- func (e UpdateBindMobileRequestValidationError) Key() bool
- func (e UpdateBindMobileRequestValidationError) Reason() string
- type UpdateUserNotifyRequest
- func (*UpdateUserNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserNotifyRequest) GetEnableBalanceNotify() bool
- func (x *UpdateUserNotifyRequest) GetEnableLoginNotify() bool
- func (x *UpdateUserNotifyRequest) GetEnableSubscribeNotify() bool
- func (x *UpdateUserNotifyRequest) GetEnableTradeNotify() bool
- func (*UpdateUserNotifyRequest) ProtoMessage()
- func (x *UpdateUserNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserNotifyRequest) Reset()
- func (x *UpdateUserNotifyRequest) String() string
- func (m *UpdateUserNotifyRequest) Validate() error
- func (m *UpdateUserNotifyRequest) ValidateAll() error
- type UpdateUserNotifyRequestMultiError
- type UpdateUserNotifyRequestValidationError
- func (e UpdateUserNotifyRequestValidationError) Cause() error
- func (e UpdateUserNotifyRequestValidationError) Error() string
- func (e UpdateUserNotifyRequestValidationError) ErrorName() string
- func (e UpdateUserNotifyRequestValidationError) Field() string
- func (e UpdateUserNotifyRequestValidationError) Key() bool
- func (e UpdateUserNotifyRequestValidationError) Reason() string
- type UpdateUserPasswordRequest
- func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserPasswordRequest) GetPassword() string
- func (*UpdateUserPasswordRequest) ProtoMessage()
- func (x *UpdateUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserPasswordRequest) Reset()
- func (x *UpdateUserPasswordRequest) String() string
- func (m *UpdateUserPasswordRequest) Validate() error
- func (m *UpdateUserPasswordRequest) ValidateAll() error
- type UpdateUserPasswordRequestMultiError
- type UpdateUserPasswordRequestValidationError
- func (e UpdateUserPasswordRequestValidationError) Cause() error
- func (e UpdateUserPasswordRequestValidationError) Error() string
- func (e UpdateUserPasswordRequestValidationError) ErrorName() string
- func (e UpdateUserPasswordRequestValidationError) Field() string
- func (e UpdateUserPasswordRequestValidationError) Key() bool
- func (e UpdateUserPasswordRequestValidationError) Reason() string
- type UpdateUserRulesRequest
- func (*UpdateUserRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRulesRequest) GetRules() []string
- func (*UpdateUserRulesRequest) ProtoMessage()
- func (x *UpdateUserRulesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRulesRequest) Reset()
- func (x *UpdateUserRulesRequest) String() string
- func (m *UpdateUserRulesRequest) Validate() error
- func (m *UpdateUserRulesRequest) ValidateAll() error
- type UpdateUserRulesRequestMultiError
- type UpdateUserRulesRequestValidationError
- func (e UpdateUserRulesRequestValidationError) Cause() error
- func (e UpdateUserRulesRequestValidationError) Error() string
- func (e UpdateUserRulesRequestValidationError) ErrorName() string
- func (e UpdateUserRulesRequestValidationError) Field() string
- func (e UpdateUserRulesRequestValidationError) Key() bool
- func (e UpdateUserRulesRequestValidationError) Reason() string
- type UpdateUserSubscribeNoteRequest
- func (*UpdateUserSubscribeNoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSubscribeNoteRequest) GetNote() string
- func (x *UpdateUserSubscribeNoteRequest) GetUserSubscribeId() int64
- func (*UpdateUserSubscribeNoteRequest) ProtoMessage()
- func (x *UpdateUserSubscribeNoteRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSubscribeNoteRequest) Reset()
- func (x *UpdateUserSubscribeNoteRequest) String() string
- func (m *UpdateUserSubscribeNoteRequest) Validate() error
- func (m *UpdateUserSubscribeNoteRequest) ValidateAll() error
- type UpdateUserSubscribeNoteRequestMultiError
- type UpdateUserSubscribeNoteRequestValidationError
- func (e UpdateUserSubscribeNoteRequestValidationError) Cause() error
- func (e UpdateUserSubscribeNoteRequestValidationError) Error() string
- func (e UpdateUserSubscribeNoteRequestValidationError) ErrorName() string
- func (e UpdateUserSubscribeNoteRequestValidationError) Field() string
- func (e UpdateUserSubscribeNoteRequestValidationError) Key() bool
- func (e UpdateUserSubscribeNoteRequestValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAuthMethods() []*UserAuthMethod
- func (x *User) GetAvatar() string
- func (x *User) GetBalance() int64
- func (x *User) GetCommission() int64
- func (x *User) GetCreatedAt() int64
- func (x *User) GetDeletedAt() int64
- func (x *User) GetEnable() bool
- func (x *User) GetEnableBalanceNotify() bool
- func (x *User) GetEnableLoginNotify() bool
- func (x *User) GetEnableSubscribeNotify() bool
- func (x *User) GetEnableTradeNotify() bool
- func (x *User) GetGiftAmount() int64
- func (x *User) GetId() int64
- func (x *User) GetIsAdmin() bool
- func (x *User) GetIsDel() bool
- func (x *User) GetOnlyFirstPurchase() bool
- func (x *User) GetReferCode() string
- func (x *User) GetRefererId() int64
- func (x *User) GetReferralPercentage() int32
- func (x *User) GetRules() []string
- func (x *User) GetTelegram() int64
- func (x *User) GetUpdatedAt() int64
- func (x *User) GetUserDevices() []*UserDevice
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserAffiliate
- func (*UserAffiliate) Descriptor() ([]byte, []int)deprecated
- func (x *UserAffiliate) GetAvatar() string
- func (x *UserAffiliate) GetEnable() bool
- func (x *UserAffiliate) GetIdentifier() string
- func (x *UserAffiliate) GetRegisteredAt() int64
- func (*UserAffiliate) ProtoMessage()
- func (x *UserAffiliate) ProtoReflect() protoreflect.Message
- func (x *UserAffiliate) Reset()
- func (x *UserAffiliate) String() string
- func (m *UserAffiliate) Validate() error
- func (m *UserAffiliate) ValidateAll() error
- type UserAffiliateMultiError
- type UserAffiliateValidationError
- func (e UserAffiliateValidationError) Cause() error
- func (e UserAffiliateValidationError) Error() string
- func (e UserAffiliateValidationError) ErrorName() string
- func (e UserAffiliateValidationError) Field() string
- func (e UserAffiliateValidationError) Key() bool
- func (e UserAffiliateValidationError) Reason() string
- type UserAuthMethod
- func (*UserAuthMethod) Descriptor() ([]byte, []int)deprecated
- func (x *UserAuthMethod) GetAuthIdentifier() string
- func (x *UserAuthMethod) GetAuthType() string
- func (x *UserAuthMethod) GetVerified() bool
- func (*UserAuthMethod) ProtoMessage()
- func (x *UserAuthMethod) ProtoReflect() protoreflect.Message
- func (x *UserAuthMethod) Reset()
- func (x *UserAuthMethod) String() string
- func (m *UserAuthMethod) Validate() error
- func (m *UserAuthMethod) ValidateAll() error
- type UserAuthMethodMultiError
- type UserAuthMethodValidationError
- func (e UserAuthMethodValidationError) Cause() error
- func (e UserAuthMethodValidationError) Error() string
- func (e UserAuthMethodValidationError) ErrorName() string
- func (e UserAuthMethodValidationError) Field() string
- func (e UserAuthMethodValidationError) Key() bool
- func (e UserAuthMethodValidationError) Reason() string
- type UserDevice
- func (*UserDevice) Descriptor() ([]byte, []int)deprecated
- func (x *UserDevice) GetCreatedAt() int64
- func (x *UserDevice) GetEnabled() bool
- func (x *UserDevice) GetId() int64
- func (x *UserDevice) GetIdentifier() string
- func (x *UserDevice) GetIp() string
- func (x *UserDevice) GetOnline() bool
- func (x *UserDevice) GetUpdatedAt() int64
- func (x *UserDevice) GetUserAgent() string
- func (*UserDevice) ProtoMessage()
- func (x *UserDevice) ProtoReflect() protoreflect.Message
- func (x *UserDevice) Reset()
- func (x *UserDevice) String() string
- func (m *UserDevice) Validate() error
- func (m *UserDevice) ValidateAll() error
- type UserDeviceMultiError
- type UserDeviceValidationError
- type UserLoginLog
- func (*UserLoginLog) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginLog) GetId() int64
- func (x *UserLoginLog) GetLoginIp() string
- func (x *UserLoginLog) GetSuccess() bool
- func (x *UserLoginLog) GetTimestamp() int64
- func (x *UserLoginLog) GetUserAgent() string
- func (x *UserLoginLog) GetUserId() int64
- func (*UserLoginLog) ProtoMessage()
- func (x *UserLoginLog) ProtoReflect() protoreflect.Message
- func (x *UserLoginLog) Reset()
- func (x *UserLoginLog) String() string
- func (m *UserLoginLog) Validate() error
- func (m *UserLoginLog) ValidateAll() error
- type UserLoginLogMultiError
- type UserLoginLogValidationError
- func (e UserLoginLogValidationError) Cause() error
- func (e UserLoginLogValidationError) Error() string
- func (e UserLoginLogValidationError) ErrorName() string
- func (e UserLoginLogValidationError) Field() string
- func (e UserLoginLogValidationError) Key() bool
- func (e UserLoginLogValidationError) Reason() string
- type UserMultiError
- type UserSubscribe
- func (*UserSubscribe) Descriptor() ([]byte, []int)deprecated
- func (x *UserSubscribe) GetCreatedAt() int64
- func (x *UserSubscribe) GetDownload() int64
- func (x *UserSubscribe) GetExpireTime() int64
- func (x *UserSubscribe) GetFinishedAt() int64
- func (x *UserSubscribe) GetGroupLocked() bool
- func (x *UserSubscribe) GetId() int64
- func (x *UserSubscribe) GetNodeGroupId() int64
- func (x *UserSubscribe) GetOrderId() int64
- func (x *UserSubscribe) GetResetTime() int64
- func (x *UserSubscribe) GetShort() string
- func (x *UserSubscribe) GetStartTime() int64
- func (x *UserSubscribe) GetStatus() int32
- func (x *UserSubscribe) GetSubscribe() *Subscribe
- func (x *UserSubscribe) GetSubscribeId() int64
- func (x *UserSubscribe) GetToken() string
- func (x *UserSubscribe) GetTraffic() int64
- func (x *UserSubscribe) GetUpdatedAt() int64
- func (x *UserSubscribe) GetUpload() int64
- func (x *UserSubscribe) GetUserId() int64
- func (*UserSubscribe) ProtoMessage()
- func (x *UserSubscribe) ProtoReflect() protoreflect.Message
- func (x *UserSubscribe) Reset()
- func (x *UserSubscribe) String() string
- func (m *UserSubscribe) Validate() error
- func (m *UserSubscribe) ValidateAll() error
- type UserSubscribeLog
- func (*UserSubscribeLog) Descriptor() ([]byte, []int)deprecated
- func (x *UserSubscribeLog) GetId() int64
- func (x *UserSubscribeLog) GetIp() string
- func (x *UserSubscribeLog) GetTimestamp() int64
- func (x *UserSubscribeLog) GetToken() string
- func (x *UserSubscribeLog) GetUserAgent() string
- func (x *UserSubscribeLog) GetUserId() int64
- func (x *UserSubscribeLog) GetUserSubscribeId() int64
- func (*UserSubscribeLog) ProtoMessage()
- func (x *UserSubscribeLog) ProtoReflect() protoreflect.Message
- func (x *UserSubscribeLog) Reset()
- func (x *UserSubscribeLog) String() string
- func (m *UserSubscribeLog) Validate() error
- func (m *UserSubscribeLog) ValidateAll() error
- type UserSubscribeLogMultiError
- type UserSubscribeLogValidationError
- func (e UserSubscribeLogValidationError) Cause() error
- func (e UserSubscribeLogValidationError) Error() string
- func (e UserSubscribeLogValidationError) ErrorName() string
- func (e UserSubscribeLogValidationError) Field() string
- func (e UserSubscribeLogValidationError) Key() bool
- func (e UserSubscribeLogValidationError) Reason() string
- type UserSubscribeMultiError
- type UserSubscribeValidationError
- func (e UserSubscribeValidationError) Cause() error
- func (e UserSubscribeValidationError) Error() string
- func (e UserSubscribeValidationError) ErrorName() string
- func (e UserSubscribeValidationError) Field() string
- func (e UserSubscribeValidationError) Key() bool
- func (e UserSubscribeValidationError) Reason() string
- type UserValidationError
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailRequest) GetCode() string
- func (x *VerifyEmailRequest) GetEmail() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailRequest) Reset()
- func (x *VerifyEmailRequest) String() string
- func (m *VerifyEmailRequest) Validate() error
- func (m *VerifyEmailRequest) ValidateAll() error
- type VerifyEmailRequestMultiError
- type VerifyEmailRequestValidationError
- func (e VerifyEmailRequestValidationError) Cause() error
- func (e VerifyEmailRequestValidationError) Error() string
- func (e VerifyEmailRequestValidationError) ErrorName() string
- func (e VerifyEmailRequestValidationError) Field() string
- func (e VerifyEmailRequestValidationError) Key() bool
- func (e VerifyEmailRequestValidationError) Reason() string
- type WeeklyStat
- func (*WeeklyStat) Descriptor() ([]byte, []int)deprecated
- func (x *WeeklyStat) GetDay() int32
- func (x *WeeklyStat) GetDayName() string
- func (x *WeeklyStat) GetHours() float64
- func (*WeeklyStat) ProtoMessage()
- func (x *WeeklyStat) ProtoReflect() protoreflect.Message
- func (x *WeeklyStat) Reset()
- func (x *WeeklyStat) String() string
- func (m *WeeklyStat) Validate() error
- func (m *WeeklyStat) ValidateAll() error
- type WeeklyStatMultiError
- type WeeklyStatValidationError
- type WithdrawalLog
- func (*WithdrawalLog) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawalLog) GetAmount() int64
- func (x *WithdrawalLog) GetContent() string
- func (x *WithdrawalLog) GetCreatedAt() int64
- func (x *WithdrawalLog) GetId() int64
- func (x *WithdrawalLog) GetReason() string
- func (x *WithdrawalLog) GetStatus() int32
- func (x *WithdrawalLog) GetUpdatedAt() int64
- func (x *WithdrawalLog) GetUserId() int64
- func (*WithdrawalLog) ProtoMessage()
- func (x *WithdrawalLog) ProtoReflect() protoreflect.Message
- func (x *WithdrawalLog) Reset()
- func (x *WithdrawalLog) String() string
- func (m *WithdrawalLog) Validate() error
- func (m *WithdrawalLog) ValidateAll() error
- type WithdrawalLogMultiError
- type WithdrawalLogValidationError
- func (e WithdrawalLogValidationError) Cause() error
- func (e WithdrawalLogValidationError) Error() string
- func (e WithdrawalLogValidationError) ErrorName() string
- func (e WithdrawalLogValidationError) Field() string
- func (e WithdrawalLogValidationError) Key() bool
- func (e WithdrawalLogValidationError) Reason() string
Constants ¶
const ( PublicUser_QueryUserInfo_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserInfo" PublicUser_GetLoginLog_FullMethodName = "/api.public.user.v1.PublicUser/GetLoginLog" PublicUser_QueryUserBalanceLog_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserBalanceLog" PublicUser_QueryUserCommissionLog_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserCommissionLog" PublicUser_QueryUserAffiliate_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserAffiliate" PublicUser_QueryUserAffiliateList_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserAffiliateList" PublicUser_GetOAuthMethods_FullMethodName = "/api.public.user.v1.PublicUser/GetOAuthMethods" PublicUser_QueryUserSubscribe_FullMethodName = "/api.public.user.v1.PublicUser/QueryUserSubscribe" PublicUser_GetSubscribeLog_FullMethodName = "/api.public.user.v1.PublicUser/GetSubscribeLog" PublicUser_ResetUserSubscribeToken_FullMethodName = "/api.public.user.v1.PublicUser/ResetUserSubscribeToken" PublicUser_PreUnsubscribe_FullMethodName = "/api.public.user.v1.PublicUser/PreUnsubscribe" PublicUser_Unsubscribe_FullMethodName = "/api.public.user.v1.PublicUser/Unsubscribe" PublicUser_UpdateUserNotify_FullMethodName = "/api.public.user.v1.PublicUser/UpdateUserNotify" PublicUser_UpdateUserPassword_FullMethodName = "/api.public.user.v1.PublicUser/UpdateUserPassword" PublicUser_BindTelegram_FullMethodName = "/api.public.user.v1.PublicUser/BindTelegram" PublicUser_UnbindTelegram_FullMethodName = "/api.public.user.v1.PublicUser/UnbindTelegram" PublicUser_BindOAuth_FullMethodName = "/api.public.user.v1.PublicUser/BindOAuth" PublicUser_BindOAuthCallback_FullMethodName = "/api.public.user.v1.PublicUser/BindOAuthCallback" PublicUser_UnbindOAuth_FullMethodName = "/api.public.user.v1.PublicUser/UnbindOAuth" PublicUser_VerifyEmail_FullMethodName = "/api.public.user.v1.PublicUser/VerifyEmail" PublicUser_UpdateBindMobile_FullMethodName = "/api.public.user.v1.PublicUser/UpdateBindMobile" PublicUser_UpdateBindEmail_FullMethodName = "/api.public.user.v1.PublicUser/UpdateBindEmail" PublicUser_GetDeviceList_FullMethodName = "/api.public.user.v1.PublicUser/GetDeviceList" PublicUser_UnbindDevice_FullMethodName = "/api.public.user.v1.PublicUser/UnbindDevice" PublicUser_GetDeviceOnlineStatistics_FullMethodName = "/api.public.user.v1.PublicUser/GetDeviceOnlineStatistics" PublicUser_DeviceWSConnect_FullMethodName = "/api.public.user.v1.PublicUser/DeviceWSConnect" PublicUser_CommissionWithdraw_FullMethodName = "/api.public.user.v1.PublicUser/CommissionWithdraw" PublicUser_QueryWithdrawalLog_FullMethodName = "/api.public.user.v1.PublicUser/QueryWithdrawalLog" PublicUser_UpdateUserSubscribeNote_FullMethodName = "/api.public.user.v1.PublicUser/UpdateUserSubscribeNote" PublicUser_UpdateUserRules_FullMethodName = "/api.public.user.v1.PublicUser/UpdateUserRules" PublicUser_DeleteCurrentUserAccount_FullMethodName = "/api.public.user.v1.PublicUser/DeleteCurrentUserAccount" PublicUser_GetUserTrafficStats_FullMethodName = "/api.public.user.v1.PublicUser/GetUserTrafficStats" )
const OperationPublicUserBindOAuth = "/api.public.user.v1.PublicUser/BindOAuth"
const OperationPublicUserBindOAuthCallback = "/api.public.user.v1.PublicUser/BindOAuthCallback"
const OperationPublicUserBindTelegram = "/api.public.user.v1.PublicUser/BindTelegram"
const OperationPublicUserCommissionWithdraw = "/api.public.user.v1.PublicUser/CommissionWithdraw"
const OperationPublicUserDeleteCurrentUserAccount = "/api.public.user.v1.PublicUser/DeleteCurrentUserAccount"
const OperationPublicUserDeviceWSConnect = "/api.public.user.v1.PublicUser/DeviceWSConnect"
const OperationPublicUserGetDeviceList = "/api.public.user.v1.PublicUser/GetDeviceList"
const OperationPublicUserGetDeviceOnlineStatistics = "/api.public.user.v1.PublicUser/GetDeviceOnlineStatistics"
const OperationPublicUserGetLoginLog = "/api.public.user.v1.PublicUser/GetLoginLog"
const OperationPublicUserGetOAuthMethods = "/api.public.user.v1.PublicUser/GetOAuthMethods"
const OperationPublicUserGetSubscribeLog = "/api.public.user.v1.PublicUser/GetSubscribeLog"
const OperationPublicUserGetUserTrafficStats = "/api.public.user.v1.PublicUser/GetUserTrafficStats"
const OperationPublicUserPreUnsubscribe = "/api.public.user.v1.PublicUser/PreUnsubscribe"
const OperationPublicUserQueryUserAffiliate = "/api.public.user.v1.PublicUser/QueryUserAffiliate"
const OperationPublicUserQueryUserAffiliateList = "/api.public.user.v1.PublicUser/QueryUserAffiliateList"
const OperationPublicUserQueryUserBalanceLog = "/api.public.user.v1.PublicUser/QueryUserBalanceLog"
const OperationPublicUserQueryUserCommissionLog = "/api.public.user.v1.PublicUser/QueryUserCommissionLog"
const OperationPublicUserQueryUserInfo = "/api.public.user.v1.PublicUser/QueryUserInfo"
const OperationPublicUserQueryUserSubscribe = "/api.public.user.v1.PublicUser/QueryUserSubscribe"
const OperationPublicUserQueryWithdrawalLog = "/api.public.user.v1.PublicUser/QueryWithdrawalLog"
const OperationPublicUserResetUserSubscribeToken = "/api.public.user.v1.PublicUser/ResetUserSubscribeToken"
const OperationPublicUserUnbindDevice = "/api.public.user.v1.PublicUser/UnbindDevice"
const OperationPublicUserUnbindOAuth = "/api.public.user.v1.PublicUser/UnbindOAuth"
const OperationPublicUserUnbindTelegram = "/api.public.user.v1.PublicUser/UnbindTelegram"
const OperationPublicUserUnsubscribe = "/api.public.user.v1.PublicUser/Unsubscribe"
const OperationPublicUserUpdateBindEmail = "/api.public.user.v1.PublicUser/UpdateBindEmail"
const OperationPublicUserUpdateBindMobile = "/api.public.user.v1.PublicUser/UpdateBindMobile"
const OperationPublicUserUpdateUserNotify = "/api.public.user.v1.PublicUser/UpdateUserNotify"
const OperationPublicUserUpdateUserPassword = "/api.public.user.v1.PublicUser/UpdateUserPassword"
const OperationPublicUserUpdateUserRules = "/api.public.user.v1.PublicUser/UpdateUserRules"
const OperationPublicUserUpdateUserSubscribeNote = "/api.public.user.v1.PublicUser/UpdateUserSubscribeNote"
const OperationPublicUserVerifyEmail = "/api.public.user.v1.PublicUser/VerifyEmail"
Variables ¶
var File_public_user_v1_user_proto protoreflect.FileDescriptor
var PublicUser_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.public.user.v1.PublicUser", HandlerType: (*PublicUserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QueryUserInfo", Handler: _PublicUser_QueryUserInfo_Handler, }, { MethodName: "GetLoginLog", Handler: _PublicUser_GetLoginLog_Handler, }, { MethodName: "QueryUserBalanceLog", Handler: _PublicUser_QueryUserBalanceLog_Handler, }, { MethodName: "QueryUserCommissionLog", Handler: _PublicUser_QueryUserCommissionLog_Handler, }, { MethodName: "QueryUserAffiliate", Handler: _PublicUser_QueryUserAffiliate_Handler, }, { MethodName: "QueryUserAffiliateList", Handler: _PublicUser_QueryUserAffiliateList_Handler, }, { MethodName: "GetOAuthMethods", Handler: _PublicUser_GetOAuthMethods_Handler, }, { MethodName: "QueryUserSubscribe", Handler: _PublicUser_QueryUserSubscribe_Handler, }, { MethodName: "GetSubscribeLog", Handler: _PublicUser_GetSubscribeLog_Handler, }, { MethodName: "ResetUserSubscribeToken", Handler: _PublicUser_ResetUserSubscribeToken_Handler, }, { MethodName: "PreUnsubscribe", Handler: _PublicUser_PreUnsubscribe_Handler, }, { MethodName: "Unsubscribe", Handler: _PublicUser_Unsubscribe_Handler, }, { MethodName: "UpdateUserNotify", Handler: _PublicUser_UpdateUserNotify_Handler, }, { MethodName: "UpdateUserPassword", Handler: _PublicUser_UpdateUserPassword_Handler, }, { MethodName: "BindTelegram", Handler: _PublicUser_BindTelegram_Handler, }, { MethodName: "UnbindTelegram", Handler: _PublicUser_UnbindTelegram_Handler, }, { MethodName: "BindOAuth", Handler: _PublicUser_BindOAuth_Handler, }, { MethodName: "BindOAuthCallback", Handler: _PublicUser_BindOAuthCallback_Handler, }, { MethodName: "UnbindOAuth", Handler: _PublicUser_UnbindOAuth_Handler, }, { MethodName: "VerifyEmail", Handler: _PublicUser_VerifyEmail_Handler, }, { MethodName: "UpdateBindMobile", Handler: _PublicUser_UpdateBindMobile_Handler, }, { MethodName: "UpdateBindEmail", Handler: _PublicUser_UpdateBindEmail_Handler, }, { MethodName: "GetDeviceList", Handler: _PublicUser_GetDeviceList_Handler, }, { MethodName: "UnbindDevice", Handler: _PublicUser_UnbindDevice_Handler, }, { MethodName: "GetDeviceOnlineStatistics", Handler: _PublicUser_GetDeviceOnlineStatistics_Handler, }, { MethodName: "DeviceWSConnect", Handler: _PublicUser_DeviceWSConnect_Handler, }, { MethodName: "CommissionWithdraw", Handler: _PublicUser_CommissionWithdraw_Handler, }, { MethodName: "QueryWithdrawalLog", Handler: _PublicUser_QueryWithdrawalLog_Handler, }, { MethodName: "UpdateUserSubscribeNote", Handler: _PublicUser_UpdateUserSubscribeNote_Handler, }, { MethodName: "UpdateUserRules", Handler: _PublicUser_UpdateUserRules_Handler, }, { MethodName: "DeleteCurrentUserAccount", Handler: _PublicUser_DeleteCurrentUserAccount_Handler, }, { MethodName: "GetUserTrafficStats", Handler: _PublicUser_GetUserTrafficStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "public/user/v1/user.proto", }
PublicUser_ServiceDesc is the grpc.ServiceDesc for PublicUser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPublicUserHTTPServer ¶
func RegisterPublicUserHTTPServer(s *http.Server, srv PublicUserHTTPServer)
func RegisterPublicUserServer ¶
func RegisterPublicUserServer(s grpc.ServiceRegistrar, srv PublicUserServer)
Types ¶
type BalanceLog ¶
type BalanceLog struct {
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
OrderNo string `protobuf:"bytes,4,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
Balance int64 `protobuf:"varint,5,opt,name=balance,proto3" json:"balance,omitempty"`
Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
BalanceLog 余额日志
func (*BalanceLog) Descriptor
deprecated
func (*BalanceLog) Descriptor() ([]byte, []int)
Deprecated: Use BalanceLog.ProtoReflect.Descriptor instead.
func (*BalanceLog) GetAmount ¶
func (x *BalanceLog) GetAmount() int64
func (*BalanceLog) GetBalance ¶
func (x *BalanceLog) GetBalance() int64
func (*BalanceLog) GetOrderNo ¶
func (x *BalanceLog) GetOrderNo() string
func (*BalanceLog) GetTimestamp ¶
func (x *BalanceLog) GetTimestamp() int64
func (*BalanceLog) GetType ¶
func (x *BalanceLog) GetType() int32
func (*BalanceLog) GetUserId ¶
func (x *BalanceLog) GetUserId() int64
func (*BalanceLog) ProtoMessage ¶
func (*BalanceLog) ProtoMessage()
func (*BalanceLog) ProtoReflect ¶
func (x *BalanceLog) ProtoReflect() protoreflect.Message
func (*BalanceLog) Reset ¶
func (x *BalanceLog) Reset()
func (*BalanceLog) String ¶
func (x *BalanceLog) String() string
func (*BalanceLog) Validate ¶
func (m *BalanceLog) Validate() error
Validate checks the field values on BalanceLog 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 (*BalanceLog) ValidateAll ¶
func (m *BalanceLog) ValidateAll() error
ValidateAll checks the field values on BalanceLog 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 BalanceLogMultiError, or nil if none found.
type BalanceLogMultiError ¶
type BalanceLogMultiError []error
BalanceLogMultiError is an error wrapping multiple validation errors returned by BalanceLog.ValidateAll() if the designated constraints aren't met.
func (BalanceLogMultiError) AllErrors ¶
func (m BalanceLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BalanceLogMultiError) Error ¶
func (m BalanceLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BalanceLogValidationError ¶
type BalanceLogValidationError struct {
// contains filtered or unexported fields
}
BalanceLogValidationError is the validation error returned by BalanceLog.Validate if the designated constraints aren't met.
func (BalanceLogValidationError) Cause ¶
func (e BalanceLogValidationError) Cause() error
Cause function returns cause value.
func (BalanceLogValidationError) Error ¶
func (e BalanceLogValidationError) Error() string
Error satisfies the builtin error interface
func (BalanceLogValidationError) ErrorName ¶
func (e BalanceLogValidationError) ErrorName() string
ErrorName returns error name.
func (BalanceLogValidationError) Field ¶
func (e BalanceLogValidationError) Field() string
Field function returns field value.
func (BalanceLogValidationError) Key ¶
func (e BalanceLogValidationError) Key() bool
Key function returns key value.
func (BalanceLogValidationError) Reason ¶
func (e BalanceLogValidationError) Reason() string
Reason function returns reason value.
type BindOAuthCallbackRequest ¶
type BindOAuthCallbackRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
Callback *structpb.Value `protobuf:"bytes,2,opt,name=callback,proto3" json:"callback,omitempty"`
// contains filtered or unexported fields
}
BindOAuthCallbackRequest OAuth回调请求
func (*BindOAuthCallbackRequest) Descriptor
deprecated
func (*BindOAuthCallbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindOAuthCallbackRequest.ProtoReflect.Descriptor instead.
func (*BindOAuthCallbackRequest) GetCallback ¶
func (x *BindOAuthCallbackRequest) GetCallback() *structpb.Value
func (*BindOAuthCallbackRequest) GetMethod ¶
func (x *BindOAuthCallbackRequest) GetMethod() string
func (*BindOAuthCallbackRequest) ProtoMessage ¶
func (*BindOAuthCallbackRequest) ProtoMessage()
func (*BindOAuthCallbackRequest) ProtoReflect ¶
func (x *BindOAuthCallbackRequest) ProtoReflect() protoreflect.Message
func (*BindOAuthCallbackRequest) Reset ¶
func (x *BindOAuthCallbackRequest) Reset()
func (*BindOAuthCallbackRequest) String ¶
func (x *BindOAuthCallbackRequest) String() string
func (*BindOAuthCallbackRequest) Validate ¶
func (m *BindOAuthCallbackRequest) Validate() error
Validate checks the field values on BindOAuthCallbackRequest 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 (*BindOAuthCallbackRequest) ValidateAll ¶
func (m *BindOAuthCallbackRequest) ValidateAll() error
ValidateAll checks the field values on BindOAuthCallbackRequest 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 BindOAuthCallbackRequestMultiError, or nil if none found.
type BindOAuthCallbackRequestMultiError ¶
type BindOAuthCallbackRequestMultiError []error
BindOAuthCallbackRequestMultiError is an error wrapping multiple validation errors returned by BindOAuthCallbackRequest.ValidateAll() if the designated constraints aren't met.
func (BindOAuthCallbackRequestMultiError) AllErrors ¶
func (m BindOAuthCallbackRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindOAuthCallbackRequestMultiError) Error ¶
func (m BindOAuthCallbackRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindOAuthCallbackRequestValidationError ¶
type BindOAuthCallbackRequestValidationError struct {
// contains filtered or unexported fields
}
BindOAuthCallbackRequestValidationError is the validation error returned by BindOAuthCallbackRequest.Validate if the designated constraints aren't met.
func (BindOAuthCallbackRequestValidationError) Cause ¶
func (e BindOAuthCallbackRequestValidationError) Cause() error
Cause function returns cause value.
func (BindOAuthCallbackRequestValidationError) Error ¶
func (e BindOAuthCallbackRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BindOAuthCallbackRequestValidationError) ErrorName ¶
func (e BindOAuthCallbackRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BindOAuthCallbackRequestValidationError) Field ¶
func (e BindOAuthCallbackRequestValidationError) Field() string
Field function returns field value.
func (BindOAuthCallbackRequestValidationError) Key ¶
func (e BindOAuthCallbackRequestValidationError) Key() bool
Key function returns key value.
func (BindOAuthCallbackRequestValidationError) Reason ¶
func (e BindOAuthCallbackRequestValidationError) Reason() string
Reason function returns reason value.
type BindOAuthReply ¶
type BindOAuthReply struct {
Redirect string `protobuf:"bytes,1,opt,name=redirect,proto3" json:"redirect,omitempty"` // OAuth授权URL
// contains filtered or unexported fields
}
func (*BindOAuthReply) Descriptor
deprecated
func (*BindOAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use BindOAuthReply.ProtoReflect.Descriptor instead.
func (*BindOAuthReply) GetRedirect ¶
func (x *BindOAuthReply) GetRedirect() string
func (*BindOAuthReply) ProtoMessage ¶
func (*BindOAuthReply) ProtoMessage()
func (*BindOAuthReply) ProtoReflect ¶
func (x *BindOAuthReply) ProtoReflect() protoreflect.Message
func (*BindOAuthReply) Reset ¶
func (x *BindOAuthReply) Reset()
func (*BindOAuthReply) String ¶
func (x *BindOAuthReply) String() string
func (*BindOAuthReply) Validate ¶
func (m *BindOAuthReply) Validate() error
Validate checks the field values on BindOAuthReply 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 (*BindOAuthReply) ValidateAll ¶
func (m *BindOAuthReply) ValidateAll() error
ValidateAll checks the field values on BindOAuthReply 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 BindOAuthReplyMultiError, or nil if none found.
type BindOAuthReplyMultiError ¶
type BindOAuthReplyMultiError []error
BindOAuthReplyMultiError is an error wrapping multiple validation errors returned by BindOAuthReply.ValidateAll() if the designated constraints aren't met.
func (BindOAuthReplyMultiError) AllErrors ¶
func (m BindOAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindOAuthReplyMultiError) Error ¶
func (m BindOAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindOAuthReplyValidationError ¶
type BindOAuthReplyValidationError struct {
// contains filtered or unexported fields
}
BindOAuthReplyValidationError is the validation error returned by BindOAuthReply.Validate if the designated constraints aren't met.
func (BindOAuthReplyValidationError) Cause ¶
func (e BindOAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (BindOAuthReplyValidationError) Error ¶
func (e BindOAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BindOAuthReplyValidationError) ErrorName ¶
func (e BindOAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BindOAuthReplyValidationError) Field ¶
func (e BindOAuthReplyValidationError) Field() string
Field function returns field value.
func (BindOAuthReplyValidationError) Key ¶
func (e BindOAuthReplyValidationError) Key() bool
Key function returns key value.
func (BindOAuthReplyValidationError) Reason ¶
func (e BindOAuthReplyValidationError) Reason() string
Reason function returns reason value.
type BindOAuthRequest ¶
type BindOAuthRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // OAuth方法: google/apple/github/facebook
Redirect string `protobuf:"bytes,2,opt,name=redirect,proto3" json:"redirect,omitempty"` // 回调地址
// contains filtered or unexported fields
}
BindOAuthRequest 绑定OAuth请求
func (*BindOAuthRequest) Descriptor
deprecated
func (*BindOAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindOAuthRequest.ProtoReflect.Descriptor instead.
func (*BindOAuthRequest) GetMethod ¶
func (x *BindOAuthRequest) GetMethod() string
func (*BindOAuthRequest) GetRedirect ¶
func (x *BindOAuthRequest) GetRedirect() string
func (*BindOAuthRequest) ProtoMessage ¶
func (*BindOAuthRequest) ProtoMessage()
func (*BindOAuthRequest) ProtoReflect ¶
func (x *BindOAuthRequest) ProtoReflect() protoreflect.Message
func (*BindOAuthRequest) Reset ¶
func (x *BindOAuthRequest) Reset()
func (*BindOAuthRequest) String ¶
func (x *BindOAuthRequest) String() string
func (*BindOAuthRequest) Validate ¶
func (m *BindOAuthRequest) Validate() error
Validate checks the field values on BindOAuthRequest 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 (*BindOAuthRequest) ValidateAll ¶
func (m *BindOAuthRequest) ValidateAll() error
ValidateAll checks the field values on BindOAuthRequest 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 BindOAuthRequestMultiError, or nil if none found.
type BindOAuthRequestMultiError ¶
type BindOAuthRequestMultiError []error
BindOAuthRequestMultiError is an error wrapping multiple validation errors returned by BindOAuthRequest.ValidateAll() if the designated constraints aren't met.
func (BindOAuthRequestMultiError) AllErrors ¶
func (m BindOAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindOAuthRequestMultiError) Error ¶
func (m BindOAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindOAuthRequestValidationError ¶
type BindOAuthRequestValidationError struct {
// contains filtered or unexported fields
}
BindOAuthRequestValidationError is the validation error returned by BindOAuthRequest.Validate if the designated constraints aren't met.
func (BindOAuthRequestValidationError) Cause ¶
func (e BindOAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (BindOAuthRequestValidationError) Error ¶
func (e BindOAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BindOAuthRequestValidationError) ErrorName ¶
func (e BindOAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BindOAuthRequestValidationError) Field ¶
func (e BindOAuthRequestValidationError) Field() string
Field function returns field value.
func (BindOAuthRequestValidationError) Key ¶
func (e BindOAuthRequestValidationError) Key() bool
Key function returns key value.
func (BindOAuthRequestValidationError) Reason ¶
func (e BindOAuthRequestValidationError) Reason() string
Reason function returns reason value.
type BindTelegramReply ¶
type BindTelegramReply struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Telegram Bot URL
ExpiredAt int64 `protobuf:"varint,2,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // 过期时间(毫秒时间戳)
// contains filtered or unexported fields
}
func (*BindTelegramReply) Descriptor
deprecated
func (*BindTelegramReply) Descriptor() ([]byte, []int)
Deprecated: Use BindTelegramReply.ProtoReflect.Descriptor instead.
func (*BindTelegramReply) GetExpiredAt ¶
func (x *BindTelegramReply) GetExpiredAt() int64
func (*BindTelegramReply) GetUrl ¶
func (x *BindTelegramReply) GetUrl() string
func (*BindTelegramReply) ProtoMessage ¶
func (*BindTelegramReply) ProtoMessage()
func (*BindTelegramReply) ProtoReflect ¶
func (x *BindTelegramReply) ProtoReflect() protoreflect.Message
func (*BindTelegramReply) Reset ¶
func (x *BindTelegramReply) Reset()
func (*BindTelegramReply) String ¶
func (x *BindTelegramReply) String() string
func (*BindTelegramReply) Validate ¶
func (m *BindTelegramReply) Validate() error
Validate checks the field values on BindTelegramReply 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 (*BindTelegramReply) ValidateAll ¶
func (m *BindTelegramReply) ValidateAll() error
ValidateAll checks the field values on BindTelegramReply 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 BindTelegramReplyMultiError, or nil if none found.
type BindTelegramReplyMultiError ¶
type BindTelegramReplyMultiError []error
BindTelegramReplyMultiError is an error wrapping multiple validation errors returned by BindTelegramReply.ValidateAll() if the designated constraints aren't met.
func (BindTelegramReplyMultiError) AllErrors ¶
func (m BindTelegramReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BindTelegramReplyMultiError) Error ¶
func (m BindTelegramReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BindTelegramReplyValidationError ¶
type BindTelegramReplyValidationError struct {
// contains filtered or unexported fields
}
BindTelegramReplyValidationError is the validation error returned by BindTelegramReply.Validate if the designated constraints aren't met.
func (BindTelegramReplyValidationError) Cause ¶
func (e BindTelegramReplyValidationError) Cause() error
Cause function returns cause value.
func (BindTelegramReplyValidationError) Error ¶
func (e BindTelegramReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BindTelegramReplyValidationError) ErrorName ¶
func (e BindTelegramReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BindTelegramReplyValidationError) Field ¶
func (e BindTelegramReplyValidationError) Field() string
Field function returns field value.
func (BindTelegramReplyValidationError) Key ¶
func (e BindTelegramReplyValidationError) Key() bool
Key function returns key value.
func (BindTelegramReplyValidationError) Reason ¶
func (e BindTelegramReplyValidationError) Reason() string
Reason function returns reason value.
type CommissionLog ¶
type CommissionLog struct {
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
OrderNo string `protobuf:"bytes,4,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
CommissionLog 佣金日志
func (*CommissionLog) Descriptor
deprecated
func (*CommissionLog) Descriptor() ([]byte, []int)
Deprecated: Use CommissionLog.ProtoReflect.Descriptor instead.
func (*CommissionLog) GetAmount ¶
func (x *CommissionLog) GetAmount() int64
func (*CommissionLog) GetOrderNo ¶
func (x *CommissionLog) GetOrderNo() string
func (*CommissionLog) GetTimestamp ¶
func (x *CommissionLog) GetTimestamp() int64
func (*CommissionLog) GetType ¶
func (x *CommissionLog) GetType() int32
func (*CommissionLog) GetUserId ¶
func (x *CommissionLog) GetUserId() int64
func (*CommissionLog) ProtoMessage ¶
func (*CommissionLog) ProtoMessage()
func (*CommissionLog) ProtoReflect ¶
func (x *CommissionLog) ProtoReflect() protoreflect.Message
func (*CommissionLog) Reset ¶
func (x *CommissionLog) Reset()
func (*CommissionLog) String ¶
func (x *CommissionLog) String() string
func (*CommissionLog) Validate ¶
func (m *CommissionLog) Validate() error
Validate checks the field values on CommissionLog 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 (*CommissionLog) ValidateAll ¶
func (m *CommissionLog) ValidateAll() error
ValidateAll checks the field values on CommissionLog 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 CommissionLogMultiError, or nil if none found.
type CommissionLogMultiError ¶
type CommissionLogMultiError []error
CommissionLogMultiError is an error wrapping multiple validation errors returned by CommissionLog.ValidateAll() if the designated constraints aren't met.
func (CommissionLogMultiError) AllErrors ¶
func (m CommissionLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommissionLogMultiError) Error ¶
func (m CommissionLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommissionLogValidationError ¶
type CommissionLogValidationError struct {
// contains filtered or unexported fields
}
CommissionLogValidationError is the validation error returned by CommissionLog.Validate if the designated constraints aren't met.
func (CommissionLogValidationError) Cause ¶
func (e CommissionLogValidationError) Cause() error
Cause function returns cause value.
func (CommissionLogValidationError) Error ¶
func (e CommissionLogValidationError) Error() string
Error satisfies the builtin error interface
func (CommissionLogValidationError) ErrorName ¶
func (e CommissionLogValidationError) ErrorName() string
ErrorName returns error name.
func (CommissionLogValidationError) Field ¶
func (e CommissionLogValidationError) Field() string
Field function returns field value.
func (CommissionLogValidationError) Key ¶
func (e CommissionLogValidationError) Key() bool
Key function returns key value.
func (CommissionLogValidationError) Reason ¶
func (e CommissionLogValidationError) Reason() string
Reason function returns reason value.
type CommissionWithdrawRequest ¶
type CommissionWithdrawRequest struct {
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // 提现内容(如提现账号信息)
// contains filtered or unexported fields
}
CommissionWithdrawRequest 佣金提现请求
func (*CommissionWithdrawRequest) Descriptor
deprecated
func (*CommissionWithdrawRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommissionWithdrawRequest.ProtoReflect.Descriptor instead.
func (*CommissionWithdrawRequest) GetAmount ¶
func (x *CommissionWithdrawRequest) GetAmount() int64
func (*CommissionWithdrawRequest) GetContent ¶
func (x *CommissionWithdrawRequest) GetContent() string
func (*CommissionWithdrawRequest) ProtoMessage ¶
func (*CommissionWithdrawRequest) ProtoMessage()
func (*CommissionWithdrawRequest) ProtoReflect ¶
func (x *CommissionWithdrawRequest) ProtoReflect() protoreflect.Message
func (*CommissionWithdrawRequest) Reset ¶
func (x *CommissionWithdrawRequest) Reset()
func (*CommissionWithdrawRequest) String ¶
func (x *CommissionWithdrawRequest) String() string
func (*CommissionWithdrawRequest) Validate ¶
func (m *CommissionWithdrawRequest) Validate() error
Validate checks the field values on CommissionWithdrawRequest 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 (*CommissionWithdrawRequest) ValidateAll ¶
func (m *CommissionWithdrawRequest) ValidateAll() error
ValidateAll checks the field values on CommissionWithdrawRequest 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 CommissionWithdrawRequestMultiError, or nil if none found.
type CommissionWithdrawRequestMultiError ¶
type CommissionWithdrawRequestMultiError []error
CommissionWithdrawRequestMultiError is an error wrapping multiple validation errors returned by CommissionWithdrawRequest.ValidateAll() if the designated constraints aren't met.
func (CommissionWithdrawRequestMultiError) AllErrors ¶
func (m CommissionWithdrawRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommissionWithdrawRequestMultiError) Error ¶
func (m CommissionWithdrawRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommissionWithdrawRequestValidationError ¶
type CommissionWithdrawRequestValidationError struct {
// contains filtered or unexported fields
}
CommissionWithdrawRequestValidationError is the validation error returned by CommissionWithdrawRequest.Validate if the designated constraints aren't met.
func (CommissionWithdrawRequestValidationError) Cause ¶
func (e CommissionWithdrawRequestValidationError) Cause() error
Cause function returns cause value.
func (CommissionWithdrawRequestValidationError) Error ¶
func (e CommissionWithdrawRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CommissionWithdrawRequestValidationError) ErrorName ¶
func (e CommissionWithdrawRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CommissionWithdrawRequestValidationError) Field ¶
func (e CommissionWithdrawRequestValidationError) Field() string
Field function returns field value.
func (CommissionWithdrawRequestValidationError) Key ¶
func (e CommissionWithdrawRequestValidationError) Key() bool
Key function returns key value.
func (CommissionWithdrawRequestValidationError) Reason ¶
func (e CommissionWithdrawRequestValidationError) Reason() string
Reason function returns reason value.
type ConnectionRecords ¶
type ConnectionRecords struct {
CurrentContinuousDays int64 `` // 当前连续天数
/* 127-byte string literal not displayed */
HistoryContinuousDays int64 `` // 历史连续天数
/* 127-byte string literal not displayed */
LongestSingleConnection int64 `` // 最长单次连接时长
/* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
ConnectionRecords 连接记录
func (*ConnectionRecords) Descriptor
deprecated
func (*ConnectionRecords) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionRecords.ProtoReflect.Descriptor instead.
func (*ConnectionRecords) GetCurrentContinuousDays ¶
func (x *ConnectionRecords) GetCurrentContinuousDays() int64
func (*ConnectionRecords) GetHistoryContinuousDays ¶
func (x *ConnectionRecords) GetHistoryContinuousDays() int64
func (*ConnectionRecords) GetLongestSingleConnection ¶
func (x *ConnectionRecords) GetLongestSingleConnection() int64
func (*ConnectionRecords) ProtoMessage ¶
func (*ConnectionRecords) ProtoMessage()
func (*ConnectionRecords) ProtoReflect ¶
func (x *ConnectionRecords) ProtoReflect() protoreflect.Message
func (*ConnectionRecords) Reset ¶
func (x *ConnectionRecords) Reset()
func (*ConnectionRecords) String ¶
func (x *ConnectionRecords) String() string
func (*ConnectionRecords) Validate ¶
func (m *ConnectionRecords) Validate() error
Validate checks the field values on ConnectionRecords 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 (*ConnectionRecords) ValidateAll ¶
func (m *ConnectionRecords) ValidateAll() error
ValidateAll checks the field values on ConnectionRecords 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 ConnectionRecordsMultiError, or nil if none found.
type ConnectionRecordsMultiError ¶
type ConnectionRecordsMultiError []error
ConnectionRecordsMultiError is an error wrapping multiple validation errors returned by ConnectionRecords.ValidateAll() if the designated constraints aren't met.
func (ConnectionRecordsMultiError) AllErrors ¶
func (m ConnectionRecordsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectionRecordsMultiError) Error ¶
func (m ConnectionRecordsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectionRecordsValidationError ¶
type ConnectionRecordsValidationError struct {
// contains filtered or unexported fields
}
ConnectionRecordsValidationError is the validation error returned by ConnectionRecords.Validate if the designated constraints aren't met.
func (ConnectionRecordsValidationError) Cause ¶
func (e ConnectionRecordsValidationError) Cause() error
Cause function returns cause value.
func (ConnectionRecordsValidationError) Error ¶
func (e ConnectionRecordsValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectionRecordsValidationError) ErrorName ¶
func (e ConnectionRecordsValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectionRecordsValidationError) Field ¶
func (e ConnectionRecordsValidationError) Field() string
Field function returns field value.
func (ConnectionRecordsValidationError) Key ¶
func (e ConnectionRecordsValidationError) Key() bool
Key function returns key value.
func (ConnectionRecordsValidationError) Reason ¶
func (e ConnectionRecordsValidationError) Reason() string
Reason function returns reason value.
type DailyTrafficStats ¶
type DailyTrafficStats struct {
Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
Upload int64 `protobuf:"varint,2,opt,name=upload,proto3" json:"upload,omitempty"`
Download int64 `protobuf:"varint,3,opt,name=download,proto3" json:"download,omitempty"`
Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*DailyTrafficStats) Descriptor
deprecated
func (*DailyTrafficStats) Descriptor() ([]byte, []int)
Deprecated: Use DailyTrafficStats.ProtoReflect.Descriptor instead.
func (*DailyTrafficStats) GetDate ¶
func (x *DailyTrafficStats) GetDate() string
func (*DailyTrafficStats) GetDownload ¶
func (x *DailyTrafficStats) GetDownload() int64
func (*DailyTrafficStats) GetTotal ¶
func (x *DailyTrafficStats) GetTotal() int32
func (*DailyTrafficStats) GetUpload ¶
func (x *DailyTrafficStats) GetUpload() int64
func (*DailyTrafficStats) ProtoMessage ¶
func (*DailyTrafficStats) ProtoMessage()
func (*DailyTrafficStats) ProtoReflect ¶
func (x *DailyTrafficStats) ProtoReflect() protoreflect.Message
func (*DailyTrafficStats) Reset ¶
func (x *DailyTrafficStats) Reset()
func (*DailyTrafficStats) String ¶
func (x *DailyTrafficStats) String() string
func (*DailyTrafficStats) Validate ¶
func (m *DailyTrafficStats) Validate() error
Validate checks the field values on DailyTrafficStats 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 (*DailyTrafficStats) ValidateAll ¶
func (m *DailyTrafficStats) ValidateAll() error
ValidateAll checks the field values on DailyTrafficStats 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 DailyTrafficStatsMultiError, or nil if none found.
type DailyTrafficStatsMultiError ¶
type DailyTrafficStatsMultiError []error
DailyTrafficStatsMultiError is an error wrapping multiple validation errors returned by DailyTrafficStats.ValidateAll() if the designated constraints aren't met.
func (DailyTrafficStatsMultiError) AllErrors ¶
func (m DailyTrafficStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DailyTrafficStatsMultiError) Error ¶
func (m DailyTrafficStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DailyTrafficStatsValidationError ¶
type DailyTrafficStatsValidationError struct {
// contains filtered or unexported fields
}
DailyTrafficStatsValidationError is the validation error returned by DailyTrafficStats.Validate if the designated constraints aren't met.
func (DailyTrafficStatsValidationError) Cause ¶
func (e DailyTrafficStatsValidationError) Cause() error
Cause function returns cause value.
func (DailyTrafficStatsValidationError) Error ¶
func (e DailyTrafficStatsValidationError) Error() string
Error satisfies the builtin error interface
func (DailyTrafficStatsValidationError) ErrorName ¶
func (e DailyTrafficStatsValidationError) ErrorName() string
ErrorName returns error name.
func (DailyTrafficStatsValidationError) Field ¶
func (e DailyTrafficStatsValidationError) Field() string
Field function returns field value.
func (DailyTrafficStatsValidationError) Key ¶
func (e DailyTrafficStatsValidationError) Key() bool
Key function returns key value.
func (DailyTrafficStatsValidationError) Reason ¶
func (e DailyTrafficStatsValidationError) Reason() string
Reason function returns reason value.
type GetDeviceListReply ¶
type GetDeviceListReply struct {
List []*UserDevice `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 设备列表
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数
// contains filtered or unexported fields
}
func (*GetDeviceListReply) Descriptor
deprecated
func (*GetDeviceListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceListReply.ProtoReflect.Descriptor instead.
func (*GetDeviceListReply) GetList ¶
func (x *GetDeviceListReply) GetList() []*UserDevice
func (*GetDeviceListReply) GetTotal ¶
func (x *GetDeviceListReply) GetTotal() int32
func (*GetDeviceListReply) ProtoMessage ¶
func (*GetDeviceListReply) ProtoMessage()
func (*GetDeviceListReply) ProtoReflect ¶
func (x *GetDeviceListReply) ProtoReflect() protoreflect.Message
func (*GetDeviceListReply) Reset ¶
func (x *GetDeviceListReply) Reset()
func (*GetDeviceListReply) String ¶
func (x *GetDeviceListReply) String() string
func (*GetDeviceListReply) Validate ¶
func (m *GetDeviceListReply) Validate() error
Validate checks the field values on GetDeviceListReply 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 (*GetDeviceListReply) ValidateAll ¶
func (m *GetDeviceListReply) ValidateAll() error
ValidateAll checks the field values on GetDeviceListReply 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 GetDeviceListReplyMultiError, or nil if none found.
type GetDeviceListReplyMultiError ¶
type GetDeviceListReplyMultiError []error
GetDeviceListReplyMultiError is an error wrapping multiple validation errors returned by GetDeviceListReply.ValidateAll() if the designated constraints aren't met.
func (GetDeviceListReplyMultiError) AllErrors ¶
func (m GetDeviceListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDeviceListReplyMultiError) Error ¶
func (m GetDeviceListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDeviceListReplyValidationError ¶
type GetDeviceListReplyValidationError struct {
// contains filtered or unexported fields
}
GetDeviceListReplyValidationError is the validation error returned by GetDeviceListReply.Validate if the designated constraints aren't met.
func (GetDeviceListReplyValidationError) Cause ¶
func (e GetDeviceListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDeviceListReplyValidationError) Error ¶
func (e GetDeviceListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDeviceListReplyValidationError) ErrorName ¶
func (e GetDeviceListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDeviceListReplyValidationError) Field ¶
func (e GetDeviceListReplyValidationError) Field() string
Field function returns field value.
func (GetDeviceListReplyValidationError) Key ¶
func (e GetDeviceListReplyValidationError) Key() bool
Key function returns key value.
func (GetDeviceListReplyValidationError) Reason ¶
func (e GetDeviceListReplyValidationError) Reason() string
Reason function returns reason value.
type GetDeviceOnlineStatisticsReply ¶
type GetDeviceOnlineStatisticsReply struct {
WeeklyStats []*WeeklyStat `protobuf:"bytes,1,rep,name=weekly_stats,json=weeklyStats,proto3" json:"weekly_stats,omitempty"` // 每周统计
ConnectionRecords *ConnectionRecords `protobuf:"bytes,2,opt,name=connection_records,json=connectionRecords,proto3" json:"connection_records,omitempty"` // 连接记录
// contains filtered or unexported fields
}
func (*GetDeviceOnlineStatisticsReply) Descriptor
deprecated
func (*GetDeviceOnlineStatisticsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceOnlineStatisticsReply.ProtoReflect.Descriptor instead.
func (*GetDeviceOnlineStatisticsReply) GetConnectionRecords ¶
func (x *GetDeviceOnlineStatisticsReply) GetConnectionRecords() *ConnectionRecords
func (*GetDeviceOnlineStatisticsReply) GetWeeklyStats ¶
func (x *GetDeviceOnlineStatisticsReply) GetWeeklyStats() []*WeeklyStat
func (*GetDeviceOnlineStatisticsReply) ProtoMessage ¶
func (*GetDeviceOnlineStatisticsReply) ProtoMessage()
func (*GetDeviceOnlineStatisticsReply) ProtoReflect ¶
func (x *GetDeviceOnlineStatisticsReply) ProtoReflect() protoreflect.Message
func (*GetDeviceOnlineStatisticsReply) Reset ¶
func (x *GetDeviceOnlineStatisticsReply) Reset()
func (*GetDeviceOnlineStatisticsReply) String ¶
func (x *GetDeviceOnlineStatisticsReply) String() string
func (*GetDeviceOnlineStatisticsReply) Validate ¶
func (m *GetDeviceOnlineStatisticsReply) Validate() error
Validate checks the field values on GetDeviceOnlineStatisticsReply 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 (*GetDeviceOnlineStatisticsReply) ValidateAll ¶
func (m *GetDeviceOnlineStatisticsReply) ValidateAll() error
ValidateAll checks the field values on GetDeviceOnlineStatisticsReply 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 GetDeviceOnlineStatisticsReplyMultiError, or nil if none found.
type GetDeviceOnlineStatisticsReplyMultiError ¶
type GetDeviceOnlineStatisticsReplyMultiError []error
GetDeviceOnlineStatisticsReplyMultiError is an error wrapping multiple validation errors returned by GetDeviceOnlineStatisticsReply.ValidateAll() if the designated constraints aren't met.
func (GetDeviceOnlineStatisticsReplyMultiError) AllErrors ¶
func (m GetDeviceOnlineStatisticsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDeviceOnlineStatisticsReplyMultiError) Error ¶
func (m GetDeviceOnlineStatisticsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDeviceOnlineStatisticsReplyValidationError ¶
type GetDeviceOnlineStatisticsReplyValidationError struct {
// contains filtered or unexported fields
}
GetDeviceOnlineStatisticsReplyValidationError is the validation error returned by GetDeviceOnlineStatisticsReply.Validate if the designated constraints aren't met.
func (GetDeviceOnlineStatisticsReplyValidationError) Cause ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDeviceOnlineStatisticsReplyValidationError) Error ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDeviceOnlineStatisticsReplyValidationError) ErrorName ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDeviceOnlineStatisticsReplyValidationError) Field ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) Field() string
Field function returns field value.
func (GetDeviceOnlineStatisticsReplyValidationError) Key ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) Key() bool
Key function returns key value.
func (GetDeviceOnlineStatisticsReplyValidationError) Reason ¶
func (e GetDeviceOnlineStatisticsReplyValidationError) Reason() string
Reason function returns reason value.
type GetLoginLogReply ¶
type GetLoginLogReply struct {
List []*UserLoginLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*GetLoginLogReply) Descriptor
deprecated
func (*GetLoginLogReply) Descriptor() ([]byte, []int)
Deprecated: Use GetLoginLogReply.ProtoReflect.Descriptor instead.
func (*GetLoginLogReply) GetList ¶
func (x *GetLoginLogReply) GetList() []*UserLoginLog
func (*GetLoginLogReply) GetTotal ¶
func (x *GetLoginLogReply) GetTotal() int32
func (*GetLoginLogReply) ProtoMessage ¶
func (*GetLoginLogReply) ProtoMessage()
func (*GetLoginLogReply) ProtoReflect ¶
func (x *GetLoginLogReply) ProtoReflect() protoreflect.Message
func (*GetLoginLogReply) Reset ¶
func (x *GetLoginLogReply) Reset()
func (*GetLoginLogReply) String ¶
func (x *GetLoginLogReply) String() string
func (*GetLoginLogReply) Validate ¶
func (m *GetLoginLogReply) Validate() error
Validate checks the field values on GetLoginLogReply 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 (*GetLoginLogReply) ValidateAll ¶
func (m *GetLoginLogReply) ValidateAll() error
ValidateAll checks the field values on GetLoginLogReply 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 GetLoginLogReplyMultiError, or nil if none found.
type GetLoginLogReplyMultiError ¶
type GetLoginLogReplyMultiError []error
GetLoginLogReplyMultiError is an error wrapping multiple validation errors returned by GetLoginLogReply.ValidateAll() if the designated constraints aren't met.
func (GetLoginLogReplyMultiError) AllErrors ¶
func (m GetLoginLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLoginLogReplyMultiError) Error ¶
func (m GetLoginLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLoginLogReplyValidationError ¶
type GetLoginLogReplyValidationError struct {
// contains filtered or unexported fields
}
GetLoginLogReplyValidationError is the validation error returned by GetLoginLogReply.Validate if the designated constraints aren't met.
func (GetLoginLogReplyValidationError) Cause ¶
func (e GetLoginLogReplyValidationError) Cause() error
Cause function returns cause value.
func (GetLoginLogReplyValidationError) Error ¶
func (e GetLoginLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetLoginLogReplyValidationError) ErrorName ¶
func (e GetLoginLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetLoginLogReplyValidationError) Field ¶
func (e GetLoginLogReplyValidationError) Field() string
Field function returns field value.
func (GetLoginLogReplyValidationError) Key ¶
func (e GetLoginLogReplyValidationError) Key() bool
Key function returns key value.
func (GetLoginLogReplyValidationError) Reason ¶
func (e GetLoginLogReplyValidationError) Reason() string
Reason function returns reason value.
type GetLoginLogRequest ¶
type GetLoginLogRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
GetLoginLogRequest 获取登录日志请求
func (*GetLoginLogRequest) Descriptor
deprecated
func (*GetLoginLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLoginLogRequest.ProtoReflect.Descriptor instead.
func (*GetLoginLogRequest) GetPage ¶
func (x *GetLoginLogRequest) GetPage() int64
func (*GetLoginLogRequest) GetSize ¶
func (x *GetLoginLogRequest) GetSize() int64
func (*GetLoginLogRequest) ProtoMessage ¶
func (*GetLoginLogRequest) ProtoMessage()
func (*GetLoginLogRequest) ProtoReflect ¶
func (x *GetLoginLogRequest) ProtoReflect() protoreflect.Message
func (*GetLoginLogRequest) Reset ¶
func (x *GetLoginLogRequest) Reset()
func (*GetLoginLogRequest) String ¶
func (x *GetLoginLogRequest) String() string
func (*GetLoginLogRequest) Validate ¶
func (m *GetLoginLogRequest) Validate() error
Validate checks the field values on GetLoginLogRequest 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 (*GetLoginLogRequest) ValidateAll ¶
func (m *GetLoginLogRequest) ValidateAll() error
ValidateAll checks the field values on GetLoginLogRequest 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 GetLoginLogRequestMultiError, or nil if none found.
type GetLoginLogRequestMultiError ¶
type GetLoginLogRequestMultiError []error
GetLoginLogRequestMultiError is an error wrapping multiple validation errors returned by GetLoginLogRequest.ValidateAll() if the designated constraints aren't met.
func (GetLoginLogRequestMultiError) AllErrors ¶
func (m GetLoginLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLoginLogRequestMultiError) Error ¶
func (m GetLoginLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLoginLogRequestValidationError ¶
type GetLoginLogRequestValidationError struct {
// contains filtered or unexported fields
}
GetLoginLogRequestValidationError is the validation error returned by GetLoginLogRequest.Validate if the designated constraints aren't met.
func (GetLoginLogRequestValidationError) Cause ¶
func (e GetLoginLogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLoginLogRequestValidationError) Error ¶
func (e GetLoginLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLoginLogRequestValidationError) ErrorName ¶
func (e GetLoginLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLoginLogRequestValidationError) Field ¶
func (e GetLoginLogRequestValidationError) Field() string
Field function returns field value.
func (GetLoginLogRequestValidationError) Key ¶
func (e GetLoginLogRequestValidationError) Key() bool
Key function returns key value.
func (GetLoginLogRequestValidationError) Reason ¶
func (e GetLoginLogRequestValidationError) Reason() string
Reason function returns reason value.
type GetOAuthMethodsReply ¶
type GetOAuthMethodsReply struct {
Methods []*UserAuthMethod `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
func (*GetOAuthMethodsReply) Descriptor
deprecated
func (*GetOAuthMethodsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetOAuthMethodsReply.ProtoReflect.Descriptor instead.
func (*GetOAuthMethodsReply) GetMethods ¶
func (x *GetOAuthMethodsReply) GetMethods() []*UserAuthMethod
func (*GetOAuthMethodsReply) ProtoMessage ¶
func (*GetOAuthMethodsReply) ProtoMessage()
func (*GetOAuthMethodsReply) ProtoReflect ¶
func (x *GetOAuthMethodsReply) ProtoReflect() protoreflect.Message
func (*GetOAuthMethodsReply) Reset ¶
func (x *GetOAuthMethodsReply) Reset()
func (*GetOAuthMethodsReply) String ¶
func (x *GetOAuthMethodsReply) String() string
func (*GetOAuthMethodsReply) Validate ¶
func (m *GetOAuthMethodsReply) Validate() error
Validate checks the field values on GetOAuthMethodsReply 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 (*GetOAuthMethodsReply) ValidateAll ¶
func (m *GetOAuthMethodsReply) ValidateAll() error
ValidateAll checks the field values on GetOAuthMethodsReply 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 GetOAuthMethodsReplyMultiError, or nil if none found.
type GetOAuthMethodsReplyMultiError ¶
type GetOAuthMethodsReplyMultiError []error
GetOAuthMethodsReplyMultiError is an error wrapping multiple validation errors returned by GetOAuthMethodsReply.ValidateAll() if the designated constraints aren't met.
func (GetOAuthMethodsReplyMultiError) AllErrors ¶
func (m GetOAuthMethodsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOAuthMethodsReplyMultiError) Error ¶
func (m GetOAuthMethodsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOAuthMethodsReplyValidationError ¶
type GetOAuthMethodsReplyValidationError struct {
// contains filtered or unexported fields
}
GetOAuthMethodsReplyValidationError is the validation error returned by GetOAuthMethodsReply.Validate if the designated constraints aren't met.
func (GetOAuthMethodsReplyValidationError) Cause ¶
func (e GetOAuthMethodsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetOAuthMethodsReplyValidationError) Error ¶
func (e GetOAuthMethodsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetOAuthMethodsReplyValidationError) ErrorName ¶
func (e GetOAuthMethodsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetOAuthMethodsReplyValidationError) Field ¶
func (e GetOAuthMethodsReplyValidationError) Field() string
Field function returns field value.
func (GetOAuthMethodsReplyValidationError) Key ¶
func (e GetOAuthMethodsReplyValidationError) Key() bool
Key function returns key value.
func (GetOAuthMethodsReplyValidationError) Reason ¶
func (e GetOAuthMethodsReplyValidationError) Reason() string
Reason function returns reason value.
type GetSubscribeLogReply ¶
type GetSubscribeLogReply struct {
List []*UserSubscribeLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*GetSubscribeLogReply) Descriptor
deprecated
func (*GetSubscribeLogReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscribeLogReply.ProtoReflect.Descriptor instead.
func (*GetSubscribeLogReply) GetList ¶
func (x *GetSubscribeLogReply) GetList() []*UserSubscribeLog
func (*GetSubscribeLogReply) GetTotal ¶
func (x *GetSubscribeLogReply) GetTotal() int32
func (*GetSubscribeLogReply) ProtoMessage ¶
func (*GetSubscribeLogReply) ProtoMessage()
func (*GetSubscribeLogReply) ProtoReflect ¶
func (x *GetSubscribeLogReply) ProtoReflect() protoreflect.Message
func (*GetSubscribeLogReply) Reset ¶
func (x *GetSubscribeLogReply) Reset()
func (*GetSubscribeLogReply) String ¶
func (x *GetSubscribeLogReply) String() string
func (*GetSubscribeLogReply) Validate ¶
func (m *GetSubscribeLogReply) Validate() error
Validate checks the field values on GetSubscribeLogReply 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 (*GetSubscribeLogReply) ValidateAll ¶
func (m *GetSubscribeLogReply) ValidateAll() error
ValidateAll checks the field values on GetSubscribeLogReply 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 GetSubscribeLogReplyMultiError, or nil if none found.
type GetSubscribeLogReplyMultiError ¶
type GetSubscribeLogReplyMultiError []error
GetSubscribeLogReplyMultiError is an error wrapping multiple validation errors returned by GetSubscribeLogReply.ValidateAll() if the designated constraints aren't met.
func (GetSubscribeLogReplyMultiError) AllErrors ¶
func (m GetSubscribeLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscribeLogReplyMultiError) Error ¶
func (m GetSubscribeLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscribeLogReplyValidationError ¶
type GetSubscribeLogReplyValidationError struct {
// contains filtered or unexported fields
}
GetSubscribeLogReplyValidationError is the validation error returned by GetSubscribeLogReply.Validate if the designated constraints aren't met.
func (GetSubscribeLogReplyValidationError) Cause ¶
func (e GetSubscribeLogReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSubscribeLogReplyValidationError) Error ¶
func (e GetSubscribeLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscribeLogReplyValidationError) ErrorName ¶
func (e GetSubscribeLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscribeLogReplyValidationError) Field ¶
func (e GetSubscribeLogReplyValidationError) Field() string
Field function returns field value.
func (GetSubscribeLogReplyValidationError) Key ¶
func (e GetSubscribeLogReplyValidationError) Key() bool
Key function returns key value.
func (GetSubscribeLogReplyValidationError) Reason ¶
func (e GetSubscribeLogReplyValidationError) Reason() string
Reason function returns reason value.
type GetSubscribeLogRequest ¶
type GetSubscribeLogRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
GetSubscribeLogRequest 获取订阅日志请求
func (*GetSubscribeLogRequest) Descriptor
deprecated
func (*GetSubscribeLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscribeLogRequest.ProtoReflect.Descriptor instead.
func (*GetSubscribeLogRequest) GetPage ¶
func (x *GetSubscribeLogRequest) GetPage() int64
func (*GetSubscribeLogRequest) GetSize ¶
func (x *GetSubscribeLogRequest) GetSize() int64
func (*GetSubscribeLogRequest) ProtoMessage ¶
func (*GetSubscribeLogRequest) ProtoMessage()
func (*GetSubscribeLogRequest) ProtoReflect ¶
func (x *GetSubscribeLogRequest) ProtoReflect() protoreflect.Message
func (*GetSubscribeLogRequest) Reset ¶
func (x *GetSubscribeLogRequest) Reset()
func (*GetSubscribeLogRequest) String ¶
func (x *GetSubscribeLogRequest) String() string
func (*GetSubscribeLogRequest) Validate ¶
func (m *GetSubscribeLogRequest) Validate() error
Validate checks the field values on GetSubscribeLogRequest 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 (*GetSubscribeLogRequest) ValidateAll ¶
func (m *GetSubscribeLogRequest) ValidateAll() error
ValidateAll checks the field values on GetSubscribeLogRequest 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 GetSubscribeLogRequestMultiError, or nil if none found.
type GetSubscribeLogRequestMultiError ¶
type GetSubscribeLogRequestMultiError []error
GetSubscribeLogRequestMultiError is an error wrapping multiple validation errors returned by GetSubscribeLogRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubscribeLogRequestMultiError) AllErrors ¶
func (m GetSubscribeLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscribeLogRequestMultiError) Error ¶
func (m GetSubscribeLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscribeLogRequestValidationError ¶
type GetSubscribeLogRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubscribeLogRequestValidationError is the validation error returned by GetSubscribeLogRequest.Validate if the designated constraints aren't met.
func (GetSubscribeLogRequestValidationError) Cause ¶
func (e GetSubscribeLogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubscribeLogRequestValidationError) Error ¶
func (e GetSubscribeLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscribeLogRequestValidationError) ErrorName ¶
func (e GetSubscribeLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscribeLogRequestValidationError) Field ¶
func (e GetSubscribeLogRequestValidationError) Field() string
Field function returns field value.
func (GetSubscribeLogRequestValidationError) Key ¶
func (e GetSubscribeLogRequestValidationError) Key() bool
Key function returns key value.
func (GetSubscribeLogRequestValidationError) Reason ¶
func (e GetSubscribeLogRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserTrafficStatsReply ¶
type GetUserTrafficStatsReply struct {
List []*DailyTrafficStats `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
TotalUpload int64 `protobuf:"varint,2,opt,name=total_upload,json=totalUpload,proto3" json:"total_upload,omitempty"`
TotalDownload int64 `protobuf:"varint,3,opt,name=total_download,json=totalDownload,proto3" json:"total_download,omitempty"`
TotalTraffic int64 `protobuf:"varint,4,opt,name=total_traffic,json=totalTraffic,proto3" json:"total_traffic,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserTrafficStatsReply) Descriptor
deprecated
func (*GetUserTrafficStatsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTrafficStatsReply.ProtoReflect.Descriptor instead.
func (*GetUserTrafficStatsReply) GetList ¶
func (x *GetUserTrafficStatsReply) GetList() []*DailyTrafficStats
func (*GetUserTrafficStatsReply) GetTotalDownload ¶
func (x *GetUserTrafficStatsReply) GetTotalDownload() int64
func (*GetUserTrafficStatsReply) GetTotalTraffic ¶
func (x *GetUserTrafficStatsReply) GetTotalTraffic() int64
func (*GetUserTrafficStatsReply) GetTotalUpload ¶
func (x *GetUserTrafficStatsReply) GetTotalUpload() int64
func (*GetUserTrafficStatsReply) ProtoMessage ¶
func (*GetUserTrafficStatsReply) ProtoMessage()
func (*GetUserTrafficStatsReply) ProtoReflect ¶
func (x *GetUserTrafficStatsReply) ProtoReflect() protoreflect.Message
func (*GetUserTrafficStatsReply) Reset ¶
func (x *GetUserTrafficStatsReply) Reset()
func (*GetUserTrafficStatsReply) String ¶
func (x *GetUserTrafficStatsReply) String() string
func (*GetUserTrafficStatsReply) Validate ¶
func (m *GetUserTrafficStatsReply) Validate() error
Validate checks the field values on GetUserTrafficStatsReply 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 (*GetUserTrafficStatsReply) ValidateAll ¶
func (m *GetUserTrafficStatsReply) ValidateAll() error
ValidateAll checks the field values on GetUserTrafficStatsReply 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 GetUserTrafficStatsReplyMultiError, or nil if none found.
type GetUserTrafficStatsReplyMultiError ¶
type GetUserTrafficStatsReplyMultiError []error
GetUserTrafficStatsReplyMultiError is an error wrapping multiple validation errors returned by GetUserTrafficStatsReply.ValidateAll() if the designated constraints aren't met.
func (GetUserTrafficStatsReplyMultiError) AllErrors ¶
func (m GetUserTrafficStatsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserTrafficStatsReplyMultiError) Error ¶
func (m GetUserTrafficStatsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserTrafficStatsReplyValidationError ¶
type GetUserTrafficStatsReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserTrafficStatsReplyValidationError is the validation error returned by GetUserTrafficStatsReply.Validate if the designated constraints aren't met.
func (GetUserTrafficStatsReplyValidationError) Cause ¶
func (e GetUserTrafficStatsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserTrafficStatsReplyValidationError) Error ¶
func (e GetUserTrafficStatsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserTrafficStatsReplyValidationError) ErrorName ¶
func (e GetUserTrafficStatsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserTrafficStatsReplyValidationError) Field ¶
func (e GetUserTrafficStatsReplyValidationError) Field() string
Field function returns field value.
func (GetUserTrafficStatsReplyValidationError) Key ¶
func (e GetUserTrafficStatsReplyValidationError) Key() bool
Key function returns key value.
func (GetUserTrafficStatsReplyValidationError) Reason ¶
func (e GetUserTrafficStatsReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserTrafficStatsRequest ¶
type GetUserTrafficStatsRequest struct {
UserSubscribeId string `protobuf:"bytes,1,opt,name=user_subscribe_id,json=userSubscribeId,proto3" json:"user_subscribe_id,omitempty"`
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserTrafficStatsRequest) Descriptor
deprecated
func (*GetUserTrafficStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTrafficStatsRequest.ProtoReflect.Descriptor instead.
func (*GetUserTrafficStatsRequest) GetDays ¶
func (x *GetUserTrafficStatsRequest) GetDays() int32
func (*GetUserTrafficStatsRequest) GetUserSubscribeId ¶
func (x *GetUserTrafficStatsRequest) GetUserSubscribeId() string
func (*GetUserTrafficStatsRequest) ProtoMessage ¶
func (*GetUserTrafficStatsRequest) ProtoMessage()
func (*GetUserTrafficStatsRequest) ProtoReflect ¶
func (x *GetUserTrafficStatsRequest) ProtoReflect() protoreflect.Message
func (*GetUserTrafficStatsRequest) Reset ¶
func (x *GetUserTrafficStatsRequest) Reset()
func (*GetUserTrafficStatsRequest) String ¶
func (x *GetUserTrafficStatsRequest) String() string
func (*GetUserTrafficStatsRequest) Validate ¶
func (m *GetUserTrafficStatsRequest) Validate() error
Validate checks the field values on GetUserTrafficStatsRequest 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 (*GetUserTrafficStatsRequest) ValidateAll ¶
func (m *GetUserTrafficStatsRequest) ValidateAll() error
ValidateAll checks the field values on GetUserTrafficStatsRequest 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 GetUserTrafficStatsRequestMultiError, or nil if none found.
type GetUserTrafficStatsRequestMultiError ¶
type GetUserTrafficStatsRequestMultiError []error
GetUserTrafficStatsRequestMultiError is an error wrapping multiple validation errors returned by GetUserTrafficStatsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserTrafficStatsRequestMultiError) AllErrors ¶
func (m GetUserTrafficStatsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserTrafficStatsRequestMultiError) Error ¶
func (m GetUserTrafficStatsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserTrafficStatsRequestValidationError ¶
type GetUserTrafficStatsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserTrafficStatsRequestValidationError is the validation error returned by GetUserTrafficStatsRequest.Validate if the designated constraints aren't met.
func (GetUserTrafficStatsRequestValidationError) Cause ¶
func (e GetUserTrafficStatsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserTrafficStatsRequestValidationError) Error ¶
func (e GetUserTrafficStatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserTrafficStatsRequestValidationError) ErrorName ¶
func (e GetUserTrafficStatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserTrafficStatsRequestValidationError) Field ¶
func (e GetUserTrafficStatsRequestValidationError) Field() string
Field function returns field value.
func (GetUserTrafficStatsRequestValidationError) Key ¶
func (e GetUserTrafficStatsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserTrafficStatsRequestValidationError) Reason ¶
func (e GetUserTrafficStatsRequestValidationError) Reason() string
Reason function returns reason value.
type PreUnsubscribeReply ¶
type PreUnsubscribeReply struct {
DeductionAmount int64 `protobuf:"varint,1,opt,name=deduction_amount,json=deductionAmount,proto3" json:"deduction_amount,omitempty"`
// contains filtered or unexported fields
}
func (*PreUnsubscribeReply) Descriptor
deprecated
func (*PreUnsubscribeReply) Descriptor() ([]byte, []int)
Deprecated: Use PreUnsubscribeReply.ProtoReflect.Descriptor instead.
func (*PreUnsubscribeReply) GetDeductionAmount ¶
func (x *PreUnsubscribeReply) GetDeductionAmount() int64
func (*PreUnsubscribeReply) ProtoMessage ¶
func (*PreUnsubscribeReply) ProtoMessage()
func (*PreUnsubscribeReply) ProtoReflect ¶
func (x *PreUnsubscribeReply) ProtoReflect() protoreflect.Message
func (*PreUnsubscribeReply) Reset ¶
func (x *PreUnsubscribeReply) Reset()
func (*PreUnsubscribeReply) String ¶
func (x *PreUnsubscribeReply) String() string
func (*PreUnsubscribeReply) Validate ¶
func (m *PreUnsubscribeReply) Validate() error
Validate checks the field values on PreUnsubscribeReply 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 (*PreUnsubscribeReply) ValidateAll ¶
func (m *PreUnsubscribeReply) ValidateAll() error
ValidateAll checks the field values on PreUnsubscribeReply 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 PreUnsubscribeReplyMultiError, or nil if none found.
type PreUnsubscribeReplyMultiError ¶
type PreUnsubscribeReplyMultiError []error
PreUnsubscribeReplyMultiError is an error wrapping multiple validation errors returned by PreUnsubscribeReply.ValidateAll() if the designated constraints aren't met.
func (PreUnsubscribeReplyMultiError) AllErrors ¶
func (m PreUnsubscribeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreUnsubscribeReplyMultiError) Error ¶
func (m PreUnsubscribeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreUnsubscribeReplyValidationError ¶
type PreUnsubscribeReplyValidationError struct {
// contains filtered or unexported fields
}
PreUnsubscribeReplyValidationError is the validation error returned by PreUnsubscribeReply.Validate if the designated constraints aren't met.
func (PreUnsubscribeReplyValidationError) Cause ¶
func (e PreUnsubscribeReplyValidationError) Cause() error
Cause function returns cause value.
func (PreUnsubscribeReplyValidationError) Error ¶
func (e PreUnsubscribeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PreUnsubscribeReplyValidationError) ErrorName ¶
func (e PreUnsubscribeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PreUnsubscribeReplyValidationError) Field ¶
func (e PreUnsubscribeReplyValidationError) Field() string
Field function returns field value.
func (PreUnsubscribeReplyValidationError) Key ¶
func (e PreUnsubscribeReplyValidationError) Key() bool
Key function returns key value.
func (PreUnsubscribeReplyValidationError) Reason ¶
func (e PreUnsubscribeReplyValidationError) Reason() string
Reason function returns reason value.
type PreUnsubscribeRequest ¶
type PreUnsubscribeRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
PreUnsubscribeRequest 预退订请求
func (*PreUnsubscribeRequest) Descriptor
deprecated
func (*PreUnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreUnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*PreUnsubscribeRequest) GetId ¶
func (x *PreUnsubscribeRequest) GetId() int64
func (*PreUnsubscribeRequest) ProtoMessage ¶
func (*PreUnsubscribeRequest) ProtoMessage()
func (*PreUnsubscribeRequest) ProtoReflect ¶
func (x *PreUnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*PreUnsubscribeRequest) Reset ¶
func (x *PreUnsubscribeRequest) Reset()
func (*PreUnsubscribeRequest) String ¶
func (x *PreUnsubscribeRequest) String() string
func (*PreUnsubscribeRequest) Validate ¶
func (m *PreUnsubscribeRequest) Validate() error
Validate checks the field values on PreUnsubscribeRequest 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 (*PreUnsubscribeRequest) ValidateAll ¶
func (m *PreUnsubscribeRequest) ValidateAll() error
ValidateAll checks the field values on PreUnsubscribeRequest 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 PreUnsubscribeRequestMultiError, or nil if none found.
type PreUnsubscribeRequestMultiError ¶
type PreUnsubscribeRequestMultiError []error
PreUnsubscribeRequestMultiError is an error wrapping multiple validation errors returned by PreUnsubscribeRequest.ValidateAll() if the designated constraints aren't met.
func (PreUnsubscribeRequestMultiError) AllErrors ¶
func (m PreUnsubscribeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreUnsubscribeRequestMultiError) Error ¶
func (m PreUnsubscribeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreUnsubscribeRequestValidationError ¶
type PreUnsubscribeRequestValidationError struct {
// contains filtered or unexported fields
}
PreUnsubscribeRequestValidationError is the validation error returned by PreUnsubscribeRequest.Validate if the designated constraints aren't met.
func (PreUnsubscribeRequestValidationError) Cause ¶
func (e PreUnsubscribeRequestValidationError) Cause() error
Cause function returns cause value.
func (PreUnsubscribeRequestValidationError) Error ¶
func (e PreUnsubscribeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PreUnsubscribeRequestValidationError) ErrorName ¶
func (e PreUnsubscribeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PreUnsubscribeRequestValidationError) Field ¶
func (e PreUnsubscribeRequestValidationError) Field() string
Field function returns field value.
func (PreUnsubscribeRequestValidationError) Key ¶
func (e PreUnsubscribeRequestValidationError) Key() bool
Key function returns key value.
func (PreUnsubscribeRequestValidationError) Reason ¶
func (e PreUnsubscribeRequestValidationError) Reason() string
Reason function returns reason value.
type PublicUserClient ¶
type PublicUserClient interface {
// QueryUserInfo 查询用户信息
QueryUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*User, error)
// GetLoginLog 获取登录日志
GetLoginLog(ctx context.Context, in *GetLoginLogRequest, opts ...grpc.CallOption) (*GetLoginLogReply, error)
// QueryUserBalanceLog 查询用户余额日志
QueryUserBalanceLog(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryUserBalanceLogReply, error)
// QueryUserCommissionLog 查询用户佣金日志
QueryUserCommissionLog(ctx context.Context, in *QueryUserCommissionLogRequest, opts ...grpc.CallOption) (*QueryUserCommissionLogReply, error)
// QueryUserAffiliate 查询用户推荐数量
QueryUserAffiliate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryUserAffiliateCountReply, error)
// QueryUserAffiliateList 查询用户推荐列表
QueryUserAffiliateList(ctx context.Context, in *QueryUserAffiliateListRequest, opts ...grpc.CallOption) (*QueryUserAffiliateListReply, error)
// GetOAuthMethods 获取OAuth方法
GetOAuthMethods(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOAuthMethodsReply, error)
// QueryUserSubscribe 查询用户订阅
QueryUserSubscribe(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*QueryUserSubscribeReply, error)
// GetSubscribeLog 获取订阅日志
GetSubscribeLog(ctx context.Context, in *GetSubscribeLogRequest, opts ...grpc.CallOption) (*GetSubscribeLogReply, error)
// ResetUserSubscribeToken 重置订阅令牌
ResetUserSubscribeToken(ctx context.Context, in *ResetUserSubscribeTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// PreUnsubscribe 预退订
PreUnsubscribe(ctx context.Context, in *PreUnsubscribeRequest, opts ...grpc.CallOption) (*PreUnsubscribeReply, error)
// Unsubscribe 退订
Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UpdateUserNotify 更新通知设置
UpdateUserNotify(ctx context.Context, in *UpdateUserNotifyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UpdateUserPassword 更新密码
UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// BindTelegram 绑定Telegram
BindTelegram(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BindTelegramReply, error)
// UnbindTelegram 解绑Telegram
UnbindTelegram(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
// BindOAuth 绑定OAuth
BindOAuth(ctx context.Context, in *BindOAuthRequest, opts ...grpc.CallOption) (*BindOAuthReply, error)
// BindOAuthCallback OAuth回调
BindOAuthCallback(ctx context.Context, in *BindOAuthCallbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UnbindOAuth 解绑OAuth
UnbindOAuth(ctx context.Context, in *UnbindOAuthRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// VerifyEmail 验证邮箱
VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UpdateBindMobile 更新绑定手机
UpdateBindMobile(ctx context.Context, in *UpdateBindMobileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UpdateBindEmail 更新绑定邮箱
UpdateBindEmail(ctx context.Context, in *UpdateBindEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// GetDeviceList 获取设备列表
GetDeviceList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDeviceListReply, error)
// UnbindDevice 解绑设备
UnbindDevice(ctx context.Context, in *UnbindDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// GetDeviceOnlineStatistics 获取设备在线统计
GetDeviceOnlineStatistics(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDeviceOnlineStatisticsReply, error)
// DeviceWSConnect 设备WebSocket连接
DeviceWSConnect(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
// CommissionWithdraw 佣金提现
CommissionWithdraw(ctx context.Context, in *CommissionWithdrawRequest, opts ...grpc.CallOption) (*WithdrawalLog, error)
// QueryWithdrawalLog 查询提现日志
QueryWithdrawalLog(ctx context.Context, in *QueryWithdrawalLogRequest, opts ...grpc.CallOption) (*QueryWithdrawalLogReply, error)
// UpdateUserSubscribeNote 更新用户订阅备注
UpdateUserSubscribeNote(ctx context.Context, in *UpdateUserSubscribeNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UpdateUserRules 更新用户规则
UpdateUserRules(ctx context.Context, in *UpdateUserRulesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// DeleteCurrentUserAccount 删除当前用户账号
DeleteCurrentUserAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
// GetUserTrafficStats 获取用户流量统计
GetUserTrafficStats(ctx context.Context, in *GetUserTrafficStatsRequest, opts ...grpc.CallOption) (*GetUserTrafficStatsReply, error)
}
PublicUserClient is the client API for PublicUser 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.
Public User service 公共用户服务(需要认证)
func NewPublicUserClient ¶
func NewPublicUserClient(cc grpc.ClientConnInterface) PublicUserClient
type PublicUserHTTPClient ¶
type PublicUserHTTPClient interface {
// BindOAuth BindOAuth 绑定OAuth
BindOAuth(ctx context.Context, req *BindOAuthRequest, opts ...http.CallOption) (rsp *BindOAuthReply, err error)
// BindOAuthCallback BindOAuthCallback OAuth回调
BindOAuthCallback(ctx context.Context, req *BindOAuthCallbackRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// BindTelegram BindTelegram 绑定Telegram
BindTelegram(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *BindTelegramReply, err error)
// CommissionWithdraw CommissionWithdraw 佣金提现
CommissionWithdraw(ctx context.Context, req *CommissionWithdrawRequest, opts ...http.CallOption) (rsp *WithdrawalLog, err error)
// DeleteCurrentUserAccount DeleteCurrentUserAccount 删除当前用户账号
DeleteCurrentUserAccount(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// DeviceWSConnect DeviceWSConnect 设备WebSocket连接
DeviceWSConnect(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// GetDeviceList GetDeviceList 获取设备列表
GetDeviceList(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetDeviceListReply, err error)
// GetDeviceOnlineStatistics GetDeviceOnlineStatistics 获取设备在线统计
GetDeviceOnlineStatistics(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetDeviceOnlineStatisticsReply, err error)
// GetLoginLog GetLoginLog 获取登录日志
GetLoginLog(ctx context.Context, req *GetLoginLogRequest, opts ...http.CallOption) (rsp *GetLoginLogReply, err error)
// GetOAuthMethods GetOAuthMethods 获取OAuth方法
GetOAuthMethods(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetOAuthMethodsReply, err error)
// GetSubscribeLog GetSubscribeLog 获取订阅日志
GetSubscribeLog(ctx context.Context, req *GetSubscribeLogRequest, opts ...http.CallOption) (rsp *GetSubscribeLogReply, err error)
// GetUserTrafficStats GetUserTrafficStats 获取用户流量统计
GetUserTrafficStats(ctx context.Context, req *GetUserTrafficStatsRequest, opts ...http.CallOption) (rsp *GetUserTrafficStatsReply, err error)
// PreUnsubscribe PreUnsubscribe 预退订
PreUnsubscribe(ctx context.Context, req *PreUnsubscribeRequest, opts ...http.CallOption) (rsp *PreUnsubscribeReply, err error)
// QueryUserAffiliate QueryUserAffiliate 查询用户推荐数量
QueryUserAffiliate(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *QueryUserAffiliateCountReply, err error)
// QueryUserAffiliateList QueryUserAffiliateList 查询用户推荐列表
QueryUserAffiliateList(ctx context.Context, req *QueryUserAffiliateListRequest, opts ...http.CallOption) (rsp *QueryUserAffiliateListReply, err error)
// QueryUserBalanceLog QueryUserBalanceLog 查询用户余额日志
QueryUserBalanceLog(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *QueryUserBalanceLogReply, err error)
// QueryUserCommissionLog QueryUserCommissionLog 查询用户佣金日志
QueryUserCommissionLog(ctx context.Context, req *QueryUserCommissionLogRequest, opts ...http.CallOption) (rsp *QueryUserCommissionLogReply, err error)
// QueryUserInfo QueryUserInfo 查询用户信息
QueryUserInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *User, err error)
// QueryUserSubscribe QueryUserSubscribe 查询用户订阅
QueryUserSubscribe(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *QueryUserSubscribeReply, err error)
// QueryWithdrawalLog QueryWithdrawalLog 查询提现日志
QueryWithdrawalLog(ctx context.Context, req *QueryWithdrawalLogRequest, opts ...http.CallOption) (rsp *QueryWithdrawalLogReply, err error)
// ResetUserSubscribeToken ResetUserSubscribeToken 重置订阅令牌
ResetUserSubscribeToken(ctx context.Context, req *ResetUserSubscribeTokenRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UnbindDevice UnbindDevice 解绑设备
UnbindDevice(ctx context.Context, req *UnbindDeviceRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UnbindOAuth UnbindOAuth 解绑OAuth
UnbindOAuth(ctx context.Context, req *UnbindOAuthRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UnbindTelegram UnbindTelegram 解绑Telegram
UnbindTelegram(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// Unsubscribe Unsubscribe 退订
Unsubscribe(ctx context.Context, req *UnsubscribeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateBindEmail UpdateBindEmail 更新绑定邮箱
UpdateBindEmail(ctx context.Context, req *UpdateBindEmailRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateBindMobile UpdateBindMobile 更新绑定手机
UpdateBindMobile(ctx context.Context, req *UpdateBindMobileRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateUserNotify UpdateUserNotify 更新通知设置
UpdateUserNotify(ctx context.Context, req *UpdateUserNotifyRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateUserPassword UpdateUserPassword 更新密码
UpdateUserPassword(ctx context.Context, req *UpdateUserPasswordRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateUserRules UpdateUserRules 更新用户规则
UpdateUserRules(ctx context.Context, req *UpdateUserRulesRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// UpdateUserSubscribeNote UpdateUserSubscribeNote 更新用户订阅备注
UpdateUserSubscribeNote(ctx context.Context, req *UpdateUserSubscribeNoteRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
// VerifyEmail VerifyEmail 验证邮箱
VerifyEmail(ctx context.Context, req *VerifyEmailRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}
func NewPublicUserHTTPClient ¶
func NewPublicUserHTTPClient(client *http.Client) PublicUserHTTPClient
type PublicUserHTTPClientImpl ¶
type PublicUserHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*PublicUserHTTPClientImpl) BindOAuth ¶
func (c *PublicUserHTTPClientImpl) BindOAuth(ctx context.Context, in *BindOAuthRequest, opts ...http.CallOption) (*BindOAuthReply, error)
BindOAuth BindOAuth 绑定OAuth
func (*PublicUserHTTPClientImpl) BindOAuthCallback ¶
func (c *PublicUserHTTPClientImpl) BindOAuthCallback(ctx context.Context, in *BindOAuthCallbackRequest, opts ...http.CallOption) (*emptypb.Empty, error)
BindOAuthCallback BindOAuthCallback OAuth回调
func (*PublicUserHTTPClientImpl) BindTelegram ¶
func (c *PublicUserHTTPClientImpl) BindTelegram(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*BindTelegramReply, error)
BindTelegram BindTelegram 绑定Telegram
func (*PublicUserHTTPClientImpl) CommissionWithdraw ¶
func (c *PublicUserHTTPClientImpl) CommissionWithdraw(ctx context.Context, in *CommissionWithdrawRequest, opts ...http.CallOption) (*WithdrawalLog, error)
CommissionWithdraw CommissionWithdraw 佣金提现
func (*PublicUserHTTPClientImpl) DeleteCurrentUserAccount ¶
func (c *PublicUserHTTPClientImpl) DeleteCurrentUserAccount(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
DeleteCurrentUserAccount DeleteCurrentUserAccount 删除当前用户账号
func (*PublicUserHTTPClientImpl) DeviceWSConnect ¶
func (c *PublicUserHTTPClientImpl) DeviceWSConnect(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
DeviceWSConnect DeviceWSConnect 设备WebSocket连接
func (*PublicUserHTTPClientImpl) GetDeviceList ¶
func (c *PublicUserHTTPClientImpl) GetDeviceList(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDeviceListReply, error)
GetDeviceList GetDeviceList 获取设备列表
func (*PublicUserHTTPClientImpl) GetDeviceOnlineStatistics ¶
func (c *PublicUserHTTPClientImpl) GetDeviceOnlineStatistics(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDeviceOnlineStatisticsReply, error)
GetDeviceOnlineStatistics GetDeviceOnlineStatistics 获取设备在线统计
func (*PublicUserHTTPClientImpl) GetLoginLog ¶
func (c *PublicUserHTTPClientImpl) GetLoginLog(ctx context.Context, in *GetLoginLogRequest, opts ...http.CallOption) (*GetLoginLogReply, error)
GetLoginLog GetLoginLog 获取登录日志
func (*PublicUserHTTPClientImpl) GetOAuthMethods ¶
func (c *PublicUserHTTPClientImpl) GetOAuthMethods(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetOAuthMethodsReply, error)
GetOAuthMethods GetOAuthMethods 获取OAuth方法
func (*PublicUserHTTPClientImpl) GetSubscribeLog ¶
func (c *PublicUserHTTPClientImpl) GetSubscribeLog(ctx context.Context, in *GetSubscribeLogRequest, opts ...http.CallOption) (*GetSubscribeLogReply, error)
GetSubscribeLog GetSubscribeLog 获取订阅日志
func (*PublicUserHTTPClientImpl) GetUserTrafficStats ¶
func (c *PublicUserHTTPClientImpl) GetUserTrafficStats(ctx context.Context, in *GetUserTrafficStatsRequest, opts ...http.CallOption) (*GetUserTrafficStatsReply, error)
GetUserTrafficStats GetUserTrafficStats 获取用户流量统计
func (*PublicUserHTTPClientImpl) PreUnsubscribe ¶
func (c *PublicUserHTTPClientImpl) PreUnsubscribe(ctx context.Context, in *PreUnsubscribeRequest, opts ...http.CallOption) (*PreUnsubscribeReply, error)
PreUnsubscribe PreUnsubscribe 预退订
func (*PublicUserHTTPClientImpl) QueryUserAffiliate ¶
func (c *PublicUserHTTPClientImpl) QueryUserAffiliate(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserAffiliateCountReply, error)
QueryUserAffiliate QueryUserAffiliate 查询用户推荐数量
func (*PublicUserHTTPClientImpl) QueryUserAffiliateList ¶
func (c *PublicUserHTTPClientImpl) QueryUserAffiliateList(ctx context.Context, in *QueryUserAffiliateListRequest, opts ...http.CallOption) (*QueryUserAffiliateListReply, error)
QueryUserAffiliateList QueryUserAffiliateList 查询用户推荐列表
func (*PublicUserHTTPClientImpl) QueryUserBalanceLog ¶
func (c *PublicUserHTTPClientImpl) QueryUserBalanceLog(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserBalanceLogReply, error)
QueryUserBalanceLog QueryUserBalanceLog 查询用户余额日志
func (*PublicUserHTTPClientImpl) QueryUserCommissionLog ¶
func (c *PublicUserHTTPClientImpl) QueryUserCommissionLog(ctx context.Context, in *QueryUserCommissionLogRequest, opts ...http.CallOption) (*QueryUserCommissionLogReply, error)
QueryUserCommissionLog QueryUserCommissionLog 查询用户佣金日志
func (*PublicUserHTTPClientImpl) QueryUserInfo ¶
func (c *PublicUserHTTPClientImpl) QueryUserInfo(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*User, error)
QueryUserInfo QueryUserInfo 查询用户信息
func (*PublicUserHTTPClientImpl) QueryUserSubscribe ¶
func (c *PublicUserHTTPClientImpl) QueryUserSubscribe(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*QueryUserSubscribeReply, error)
QueryUserSubscribe QueryUserSubscribe 查询用户订阅
func (*PublicUserHTTPClientImpl) QueryWithdrawalLog ¶
func (c *PublicUserHTTPClientImpl) QueryWithdrawalLog(ctx context.Context, in *QueryWithdrawalLogRequest, opts ...http.CallOption) (*QueryWithdrawalLogReply, error)
QueryWithdrawalLog QueryWithdrawalLog 查询提现日志
func (*PublicUserHTTPClientImpl) ResetUserSubscribeToken ¶
func (c *PublicUserHTTPClientImpl) ResetUserSubscribeToken(ctx context.Context, in *ResetUserSubscribeTokenRequest, opts ...http.CallOption) (*emptypb.Empty, error)
ResetUserSubscribeToken ResetUserSubscribeToken 重置订阅令牌
func (*PublicUserHTTPClientImpl) UnbindDevice ¶
func (c *PublicUserHTTPClientImpl) UnbindDevice(ctx context.Context, in *UnbindDeviceRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UnbindDevice UnbindDevice 解绑设备
func (*PublicUserHTTPClientImpl) UnbindOAuth ¶
func (c *PublicUserHTTPClientImpl) UnbindOAuth(ctx context.Context, in *UnbindOAuthRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UnbindOAuth UnbindOAuth 解绑OAuth
func (*PublicUserHTTPClientImpl) UnbindTelegram ¶
func (c *PublicUserHTTPClientImpl) UnbindTelegram(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
UnbindTelegram UnbindTelegram 解绑Telegram
func (*PublicUserHTTPClientImpl) Unsubscribe ¶
func (c *PublicUserHTTPClientImpl) Unsubscribe(ctx context.Context, in *UnsubscribeRequest, opts ...http.CallOption) (*emptypb.Empty, error)
Unsubscribe Unsubscribe 退订
func (*PublicUserHTTPClientImpl) UpdateBindEmail ¶
func (c *PublicUserHTTPClientImpl) UpdateBindEmail(ctx context.Context, in *UpdateBindEmailRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateBindEmail UpdateBindEmail 更新绑定邮箱
func (*PublicUserHTTPClientImpl) UpdateBindMobile ¶
func (c *PublicUserHTTPClientImpl) UpdateBindMobile(ctx context.Context, in *UpdateBindMobileRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateBindMobile UpdateBindMobile 更新绑定手机
func (*PublicUserHTTPClientImpl) UpdateUserNotify ¶
func (c *PublicUserHTTPClientImpl) UpdateUserNotify(ctx context.Context, in *UpdateUserNotifyRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateUserNotify UpdateUserNotify 更新通知设置
func (*PublicUserHTTPClientImpl) UpdateUserPassword ¶
func (c *PublicUserHTTPClientImpl) UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateUserPassword UpdateUserPassword 更新密码
func (*PublicUserHTTPClientImpl) UpdateUserRules ¶
func (c *PublicUserHTTPClientImpl) UpdateUserRules(ctx context.Context, in *UpdateUserRulesRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateUserRules UpdateUserRules 更新用户规则
func (*PublicUserHTTPClientImpl) UpdateUserSubscribeNote ¶
func (c *PublicUserHTTPClientImpl) UpdateUserSubscribeNote(ctx context.Context, in *UpdateUserSubscribeNoteRequest, opts ...http.CallOption) (*emptypb.Empty, error)
UpdateUserSubscribeNote UpdateUserSubscribeNote 更新用户订阅备注
func (*PublicUserHTTPClientImpl) VerifyEmail ¶
func (c *PublicUserHTTPClientImpl) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...http.CallOption) (*emptypb.Empty, error)
VerifyEmail VerifyEmail 验证邮箱
type PublicUserHTTPServer ¶
type PublicUserHTTPServer interface {
// BindOAuth BindOAuth 绑定OAuth
BindOAuth(context.Context, *BindOAuthRequest) (*BindOAuthReply, error)
// BindOAuthCallback BindOAuthCallback OAuth回调
BindOAuthCallback(context.Context, *BindOAuthCallbackRequest) (*emptypb.Empty, error)
// BindTelegram BindTelegram 绑定Telegram
BindTelegram(context.Context, *emptypb.Empty) (*BindTelegramReply, error)
// CommissionWithdraw CommissionWithdraw 佣金提现
CommissionWithdraw(context.Context, *CommissionWithdrawRequest) (*WithdrawalLog, error)
// DeleteCurrentUserAccount DeleteCurrentUserAccount 删除当前用户账号
DeleteCurrentUserAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// DeviceWSConnect DeviceWSConnect 设备WebSocket连接
DeviceWSConnect(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// GetDeviceList GetDeviceList 获取设备列表
GetDeviceList(context.Context, *emptypb.Empty) (*GetDeviceListReply, error)
// GetDeviceOnlineStatistics GetDeviceOnlineStatistics 获取设备在线统计
GetDeviceOnlineStatistics(context.Context, *emptypb.Empty) (*GetDeviceOnlineStatisticsReply, error)
// GetLoginLog GetLoginLog 获取登录日志
GetLoginLog(context.Context, *GetLoginLogRequest) (*GetLoginLogReply, error)
// GetOAuthMethods GetOAuthMethods 获取OAuth方法
GetOAuthMethods(context.Context, *emptypb.Empty) (*GetOAuthMethodsReply, error)
// GetSubscribeLog GetSubscribeLog 获取订阅日志
GetSubscribeLog(context.Context, *GetSubscribeLogRequest) (*GetSubscribeLogReply, error)
// GetUserTrafficStats GetUserTrafficStats 获取用户流量统计
GetUserTrafficStats(context.Context, *GetUserTrafficStatsRequest) (*GetUserTrafficStatsReply, error)
// PreUnsubscribe PreUnsubscribe 预退订
PreUnsubscribe(context.Context, *PreUnsubscribeRequest) (*PreUnsubscribeReply, error)
// QueryUserAffiliate QueryUserAffiliate 查询用户推荐数量
QueryUserAffiliate(context.Context, *emptypb.Empty) (*QueryUserAffiliateCountReply, error)
// QueryUserAffiliateList QueryUserAffiliateList 查询用户推荐列表
QueryUserAffiliateList(context.Context, *QueryUserAffiliateListRequest) (*QueryUserAffiliateListReply, error)
// QueryUserBalanceLog QueryUserBalanceLog 查询用户余额日志
QueryUserBalanceLog(context.Context, *emptypb.Empty) (*QueryUserBalanceLogReply, error)
// QueryUserCommissionLog QueryUserCommissionLog 查询用户佣金日志
QueryUserCommissionLog(context.Context, *QueryUserCommissionLogRequest) (*QueryUserCommissionLogReply, error)
// QueryUserInfo QueryUserInfo 查询用户信息
QueryUserInfo(context.Context, *emptypb.Empty) (*User, error)
// QueryUserSubscribe QueryUserSubscribe 查询用户订阅
QueryUserSubscribe(context.Context, *emptypb.Empty) (*QueryUserSubscribeReply, error)
// QueryWithdrawalLog QueryWithdrawalLog 查询提现日志
QueryWithdrawalLog(context.Context, *QueryWithdrawalLogRequest) (*QueryWithdrawalLogReply, error)
// ResetUserSubscribeToken ResetUserSubscribeToken 重置订阅令牌
ResetUserSubscribeToken(context.Context, *ResetUserSubscribeTokenRequest) (*emptypb.Empty, error)
// UnbindDevice UnbindDevice 解绑设备
UnbindDevice(context.Context, *UnbindDeviceRequest) (*emptypb.Empty, error)
// UnbindOAuth UnbindOAuth 解绑OAuth
UnbindOAuth(context.Context, *UnbindOAuthRequest) (*emptypb.Empty, error)
// UnbindTelegram UnbindTelegram 解绑Telegram
UnbindTelegram(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// Unsubscribe Unsubscribe 退订
Unsubscribe(context.Context, *UnsubscribeRequest) (*emptypb.Empty, error)
// UpdateBindEmail UpdateBindEmail 更新绑定邮箱
UpdateBindEmail(context.Context, *UpdateBindEmailRequest) (*emptypb.Empty, error)
// UpdateBindMobile UpdateBindMobile 更新绑定手机
UpdateBindMobile(context.Context, *UpdateBindMobileRequest) (*emptypb.Empty, error)
// UpdateUserNotify UpdateUserNotify 更新通知设置
UpdateUserNotify(context.Context, *UpdateUserNotifyRequest) (*emptypb.Empty, error)
// UpdateUserPassword UpdateUserPassword 更新密码
UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*emptypb.Empty, error)
// UpdateUserRules UpdateUserRules 更新用户规则
UpdateUserRules(context.Context, *UpdateUserRulesRequest) (*emptypb.Empty, error)
// UpdateUserSubscribeNote UpdateUserSubscribeNote 更新用户订阅备注
UpdateUserSubscribeNote(context.Context, *UpdateUserSubscribeNoteRequest) (*emptypb.Empty, error)
// VerifyEmail VerifyEmail 验证邮箱
VerifyEmail(context.Context, *VerifyEmailRequest) (*emptypb.Empty, error)
}
type PublicUserServer ¶
type PublicUserServer interface {
// QueryUserInfo 查询用户信息
QueryUserInfo(context.Context, *emptypb.Empty) (*User, error)
// GetLoginLog 获取登录日志
GetLoginLog(context.Context, *GetLoginLogRequest) (*GetLoginLogReply, error)
// QueryUserBalanceLog 查询用户余额日志
QueryUserBalanceLog(context.Context, *emptypb.Empty) (*QueryUserBalanceLogReply, error)
// QueryUserCommissionLog 查询用户佣金日志
QueryUserCommissionLog(context.Context, *QueryUserCommissionLogRequest) (*QueryUserCommissionLogReply, error)
// QueryUserAffiliate 查询用户推荐数量
QueryUserAffiliate(context.Context, *emptypb.Empty) (*QueryUserAffiliateCountReply, error)
// QueryUserAffiliateList 查询用户推荐列表
QueryUserAffiliateList(context.Context, *QueryUserAffiliateListRequest) (*QueryUserAffiliateListReply, error)
// GetOAuthMethods 获取OAuth方法
GetOAuthMethods(context.Context, *emptypb.Empty) (*GetOAuthMethodsReply, error)
// QueryUserSubscribe 查询用户订阅
QueryUserSubscribe(context.Context, *emptypb.Empty) (*QueryUserSubscribeReply, error)
// GetSubscribeLog 获取订阅日志
GetSubscribeLog(context.Context, *GetSubscribeLogRequest) (*GetSubscribeLogReply, error)
// ResetUserSubscribeToken 重置订阅令牌
ResetUserSubscribeToken(context.Context, *ResetUserSubscribeTokenRequest) (*emptypb.Empty, error)
// PreUnsubscribe 预退订
PreUnsubscribe(context.Context, *PreUnsubscribeRequest) (*PreUnsubscribeReply, error)
// Unsubscribe 退订
Unsubscribe(context.Context, *UnsubscribeRequest) (*emptypb.Empty, error)
// UpdateUserNotify 更新通知设置
UpdateUserNotify(context.Context, *UpdateUserNotifyRequest) (*emptypb.Empty, error)
// UpdateUserPassword 更新密码
UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*emptypb.Empty, error)
// BindTelegram 绑定Telegram
BindTelegram(context.Context, *emptypb.Empty) (*BindTelegramReply, error)
// UnbindTelegram 解绑Telegram
UnbindTelegram(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// BindOAuth 绑定OAuth
BindOAuth(context.Context, *BindOAuthRequest) (*BindOAuthReply, error)
// BindOAuthCallback OAuth回调
BindOAuthCallback(context.Context, *BindOAuthCallbackRequest) (*emptypb.Empty, error)
// UnbindOAuth 解绑OAuth
UnbindOAuth(context.Context, *UnbindOAuthRequest) (*emptypb.Empty, error)
// VerifyEmail 验证邮箱
VerifyEmail(context.Context, *VerifyEmailRequest) (*emptypb.Empty, error)
// UpdateBindMobile 更新绑定手机
UpdateBindMobile(context.Context, *UpdateBindMobileRequest) (*emptypb.Empty, error)
// UpdateBindEmail 更新绑定邮箱
UpdateBindEmail(context.Context, *UpdateBindEmailRequest) (*emptypb.Empty, error)
// GetDeviceList 获取设备列表
GetDeviceList(context.Context, *emptypb.Empty) (*GetDeviceListReply, error)
// UnbindDevice 解绑设备
UnbindDevice(context.Context, *UnbindDeviceRequest) (*emptypb.Empty, error)
// GetDeviceOnlineStatistics 获取设备在线统计
GetDeviceOnlineStatistics(context.Context, *emptypb.Empty) (*GetDeviceOnlineStatisticsReply, error)
// DeviceWSConnect 设备WebSocket连接
DeviceWSConnect(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// CommissionWithdraw 佣金提现
CommissionWithdraw(context.Context, *CommissionWithdrawRequest) (*WithdrawalLog, error)
// QueryWithdrawalLog 查询提现日志
QueryWithdrawalLog(context.Context, *QueryWithdrawalLogRequest) (*QueryWithdrawalLogReply, error)
// UpdateUserSubscribeNote 更新用户订阅备注
UpdateUserSubscribeNote(context.Context, *UpdateUserSubscribeNoteRequest) (*emptypb.Empty, error)
// UpdateUserRules 更新用户规则
UpdateUserRules(context.Context, *UpdateUserRulesRequest) (*emptypb.Empty, error)
// DeleteCurrentUserAccount 删除当前用户账号
DeleteCurrentUserAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// GetUserTrafficStats 获取用户流量统计
GetUserTrafficStats(context.Context, *GetUserTrafficStatsRequest) (*GetUserTrafficStatsReply, error)
// contains filtered or unexported methods
}
PublicUserServer is the server API for PublicUser service. All implementations must embed UnimplementedPublicUserServer for forward compatibility.
Public User service 公共用户服务(需要认证)
type QueryUserAffiliateCountReply ¶
type QueryUserAffiliateCountReply struct {
Registers int64 `protobuf:"varint,1,opt,name=registers,proto3" json:"registers,omitempty"` // 推荐注册数
TotalCommission int64 `protobuf:"varint,2,opt,name=total_commission,json=totalCommission,proto3" json:"total_commission,omitempty"` // 总佣金
// contains filtered or unexported fields
}
func (*QueryUserAffiliateCountReply) Descriptor
deprecated
func (*QueryUserAffiliateCountReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserAffiliateCountReply.ProtoReflect.Descriptor instead.
func (*QueryUserAffiliateCountReply) GetRegisters ¶
func (x *QueryUserAffiliateCountReply) GetRegisters() int64
func (*QueryUserAffiliateCountReply) GetTotalCommission ¶
func (x *QueryUserAffiliateCountReply) GetTotalCommission() int64
func (*QueryUserAffiliateCountReply) ProtoMessage ¶
func (*QueryUserAffiliateCountReply) ProtoMessage()
func (*QueryUserAffiliateCountReply) ProtoReflect ¶
func (x *QueryUserAffiliateCountReply) ProtoReflect() protoreflect.Message
func (*QueryUserAffiliateCountReply) Reset ¶
func (x *QueryUserAffiliateCountReply) Reset()
func (*QueryUserAffiliateCountReply) String ¶
func (x *QueryUserAffiliateCountReply) String() string
func (*QueryUserAffiliateCountReply) Validate ¶
func (m *QueryUserAffiliateCountReply) Validate() error
Validate checks the field values on QueryUserAffiliateCountReply 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 (*QueryUserAffiliateCountReply) ValidateAll ¶
func (m *QueryUserAffiliateCountReply) ValidateAll() error
ValidateAll checks the field values on QueryUserAffiliateCountReply 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 QueryUserAffiliateCountReplyMultiError, or nil if none found.
type QueryUserAffiliateCountReplyMultiError ¶
type QueryUserAffiliateCountReplyMultiError []error
QueryUserAffiliateCountReplyMultiError is an error wrapping multiple validation errors returned by QueryUserAffiliateCountReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserAffiliateCountReplyMultiError) AllErrors ¶
func (m QueryUserAffiliateCountReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserAffiliateCountReplyMultiError) Error ¶
func (m QueryUserAffiliateCountReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserAffiliateCountReplyValidationError ¶
type QueryUserAffiliateCountReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserAffiliateCountReplyValidationError is the validation error returned by QueryUserAffiliateCountReply.Validate if the designated constraints aren't met.
func (QueryUserAffiliateCountReplyValidationError) Cause ¶
func (e QueryUserAffiliateCountReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserAffiliateCountReplyValidationError) Error ¶
func (e QueryUserAffiliateCountReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserAffiliateCountReplyValidationError) ErrorName ¶
func (e QueryUserAffiliateCountReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserAffiliateCountReplyValidationError) Field ¶
func (e QueryUserAffiliateCountReplyValidationError) Field() string
Field function returns field value.
func (QueryUserAffiliateCountReplyValidationError) Key ¶
func (e QueryUserAffiliateCountReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserAffiliateCountReplyValidationError) Reason ¶
func (e QueryUserAffiliateCountReplyValidationError) Reason() string
Reason function returns reason value.
type QueryUserAffiliateListReply ¶
type QueryUserAffiliateListReply struct {
List []*UserAffiliate `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QueryUserAffiliateListReply) Descriptor
deprecated
func (*QueryUserAffiliateListReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserAffiliateListReply.ProtoReflect.Descriptor instead.
func (*QueryUserAffiliateListReply) GetList ¶
func (x *QueryUserAffiliateListReply) GetList() []*UserAffiliate
func (*QueryUserAffiliateListReply) GetTotal ¶
func (x *QueryUserAffiliateListReply) GetTotal() int32
func (*QueryUserAffiliateListReply) ProtoMessage ¶
func (*QueryUserAffiliateListReply) ProtoMessage()
func (*QueryUserAffiliateListReply) ProtoReflect ¶
func (x *QueryUserAffiliateListReply) ProtoReflect() protoreflect.Message
func (*QueryUserAffiliateListReply) Reset ¶
func (x *QueryUserAffiliateListReply) Reset()
func (*QueryUserAffiliateListReply) String ¶
func (x *QueryUserAffiliateListReply) String() string
func (*QueryUserAffiliateListReply) Validate ¶
func (m *QueryUserAffiliateListReply) Validate() error
Validate checks the field values on QueryUserAffiliateListReply 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 (*QueryUserAffiliateListReply) ValidateAll ¶
func (m *QueryUserAffiliateListReply) ValidateAll() error
ValidateAll checks the field values on QueryUserAffiliateListReply 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 QueryUserAffiliateListReplyMultiError, or nil if none found.
type QueryUserAffiliateListReplyMultiError ¶
type QueryUserAffiliateListReplyMultiError []error
QueryUserAffiliateListReplyMultiError is an error wrapping multiple validation errors returned by QueryUserAffiliateListReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserAffiliateListReplyMultiError) AllErrors ¶
func (m QueryUserAffiliateListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserAffiliateListReplyMultiError) Error ¶
func (m QueryUserAffiliateListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserAffiliateListReplyValidationError ¶
type QueryUserAffiliateListReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserAffiliateListReplyValidationError is the validation error returned by QueryUserAffiliateListReply.Validate if the designated constraints aren't met.
func (QueryUserAffiliateListReplyValidationError) Cause ¶
func (e QueryUserAffiliateListReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserAffiliateListReplyValidationError) Error ¶
func (e QueryUserAffiliateListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserAffiliateListReplyValidationError) ErrorName ¶
func (e QueryUserAffiliateListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserAffiliateListReplyValidationError) Field ¶
func (e QueryUserAffiliateListReplyValidationError) Field() string
Field function returns field value.
func (QueryUserAffiliateListReplyValidationError) Key ¶
func (e QueryUserAffiliateListReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserAffiliateListReplyValidationError) Reason ¶
func (e QueryUserAffiliateListReplyValidationError) Reason() string
Reason function returns reason value.
type QueryUserAffiliateListRequest ¶
type QueryUserAffiliateListRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
QueryUserAffiliateListRequest 查询用户推荐列表请求
func (*QueryUserAffiliateListRequest) Descriptor
deprecated
func (*QueryUserAffiliateListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserAffiliateListRequest.ProtoReflect.Descriptor instead.
func (*QueryUserAffiliateListRequest) GetPage ¶
func (x *QueryUserAffiliateListRequest) GetPage() int64
func (*QueryUserAffiliateListRequest) GetSize ¶
func (x *QueryUserAffiliateListRequest) GetSize() int64
func (*QueryUserAffiliateListRequest) ProtoMessage ¶
func (*QueryUserAffiliateListRequest) ProtoMessage()
func (*QueryUserAffiliateListRequest) ProtoReflect ¶
func (x *QueryUserAffiliateListRequest) ProtoReflect() protoreflect.Message
func (*QueryUserAffiliateListRequest) Reset ¶
func (x *QueryUserAffiliateListRequest) Reset()
func (*QueryUserAffiliateListRequest) String ¶
func (x *QueryUserAffiliateListRequest) String() string
func (*QueryUserAffiliateListRequest) Validate ¶
func (m *QueryUserAffiliateListRequest) Validate() error
Validate checks the field values on QueryUserAffiliateListRequest 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 (*QueryUserAffiliateListRequest) ValidateAll ¶
func (m *QueryUserAffiliateListRequest) ValidateAll() error
ValidateAll checks the field values on QueryUserAffiliateListRequest 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 QueryUserAffiliateListRequestMultiError, or nil if none found.
type QueryUserAffiliateListRequestMultiError ¶
type QueryUserAffiliateListRequestMultiError []error
QueryUserAffiliateListRequestMultiError is an error wrapping multiple validation errors returned by QueryUserAffiliateListRequest.ValidateAll() if the designated constraints aren't met.
func (QueryUserAffiliateListRequestMultiError) AllErrors ¶
func (m QueryUserAffiliateListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserAffiliateListRequestMultiError) Error ¶
func (m QueryUserAffiliateListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserAffiliateListRequestValidationError ¶
type QueryUserAffiliateListRequestValidationError struct {
// contains filtered or unexported fields
}
QueryUserAffiliateListRequestValidationError is the validation error returned by QueryUserAffiliateListRequest.Validate if the designated constraints aren't met.
func (QueryUserAffiliateListRequestValidationError) Cause ¶
func (e QueryUserAffiliateListRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryUserAffiliateListRequestValidationError) Error ¶
func (e QueryUserAffiliateListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserAffiliateListRequestValidationError) ErrorName ¶
func (e QueryUserAffiliateListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserAffiliateListRequestValidationError) Field ¶
func (e QueryUserAffiliateListRequestValidationError) Field() string
Field function returns field value.
func (QueryUserAffiliateListRequestValidationError) Key ¶
func (e QueryUserAffiliateListRequestValidationError) Key() bool
Key function returns key value.
func (QueryUserAffiliateListRequestValidationError) Reason ¶
func (e QueryUserAffiliateListRequestValidationError) Reason() string
Reason function returns reason value.
type QueryUserBalanceLogReply ¶
type QueryUserBalanceLogReply struct {
List []*BalanceLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QueryUserBalanceLogReply) Descriptor
deprecated
func (*QueryUserBalanceLogReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserBalanceLogReply.ProtoReflect.Descriptor instead.
func (*QueryUserBalanceLogReply) GetList ¶
func (x *QueryUserBalanceLogReply) GetList() []*BalanceLog
func (*QueryUserBalanceLogReply) GetTotal ¶
func (x *QueryUserBalanceLogReply) GetTotal() int32
func (*QueryUserBalanceLogReply) ProtoMessage ¶
func (*QueryUserBalanceLogReply) ProtoMessage()
func (*QueryUserBalanceLogReply) ProtoReflect ¶
func (x *QueryUserBalanceLogReply) ProtoReflect() protoreflect.Message
func (*QueryUserBalanceLogReply) Reset ¶
func (x *QueryUserBalanceLogReply) Reset()
func (*QueryUserBalanceLogReply) String ¶
func (x *QueryUserBalanceLogReply) String() string
func (*QueryUserBalanceLogReply) Validate ¶
func (m *QueryUserBalanceLogReply) Validate() error
Validate checks the field values on QueryUserBalanceLogReply 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 (*QueryUserBalanceLogReply) ValidateAll ¶
func (m *QueryUserBalanceLogReply) ValidateAll() error
ValidateAll checks the field values on QueryUserBalanceLogReply 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 QueryUserBalanceLogReplyMultiError, or nil if none found.
type QueryUserBalanceLogReplyMultiError ¶
type QueryUserBalanceLogReplyMultiError []error
QueryUserBalanceLogReplyMultiError is an error wrapping multiple validation errors returned by QueryUserBalanceLogReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserBalanceLogReplyMultiError) AllErrors ¶
func (m QueryUserBalanceLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserBalanceLogReplyMultiError) Error ¶
func (m QueryUserBalanceLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserBalanceLogReplyValidationError ¶
type QueryUserBalanceLogReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserBalanceLogReplyValidationError is the validation error returned by QueryUserBalanceLogReply.Validate if the designated constraints aren't met.
func (QueryUserBalanceLogReplyValidationError) Cause ¶
func (e QueryUserBalanceLogReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserBalanceLogReplyValidationError) Error ¶
func (e QueryUserBalanceLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserBalanceLogReplyValidationError) ErrorName ¶
func (e QueryUserBalanceLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserBalanceLogReplyValidationError) Field ¶
func (e QueryUserBalanceLogReplyValidationError) Field() string
Field function returns field value.
func (QueryUserBalanceLogReplyValidationError) Key ¶
func (e QueryUserBalanceLogReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserBalanceLogReplyValidationError) Reason ¶
func (e QueryUserBalanceLogReplyValidationError) Reason() string
Reason function returns reason value.
type QueryUserCommissionLogReply ¶
type QueryUserCommissionLogReply struct {
List []*CommissionLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QueryUserCommissionLogReply) Descriptor
deprecated
func (*QueryUserCommissionLogReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserCommissionLogReply.ProtoReflect.Descriptor instead.
func (*QueryUserCommissionLogReply) GetList ¶
func (x *QueryUserCommissionLogReply) GetList() []*CommissionLog
func (*QueryUserCommissionLogReply) GetTotal ¶
func (x *QueryUserCommissionLogReply) GetTotal() int32
func (*QueryUserCommissionLogReply) ProtoMessage ¶
func (*QueryUserCommissionLogReply) ProtoMessage()
func (*QueryUserCommissionLogReply) ProtoReflect ¶
func (x *QueryUserCommissionLogReply) ProtoReflect() protoreflect.Message
func (*QueryUserCommissionLogReply) Reset ¶
func (x *QueryUserCommissionLogReply) Reset()
func (*QueryUserCommissionLogReply) String ¶
func (x *QueryUserCommissionLogReply) String() string
func (*QueryUserCommissionLogReply) Validate ¶
func (m *QueryUserCommissionLogReply) Validate() error
Validate checks the field values on QueryUserCommissionLogReply 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 (*QueryUserCommissionLogReply) ValidateAll ¶
func (m *QueryUserCommissionLogReply) ValidateAll() error
ValidateAll checks the field values on QueryUserCommissionLogReply 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 QueryUserCommissionLogReplyMultiError, or nil if none found.
type QueryUserCommissionLogReplyMultiError ¶
type QueryUserCommissionLogReplyMultiError []error
QueryUserCommissionLogReplyMultiError is an error wrapping multiple validation errors returned by QueryUserCommissionLogReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserCommissionLogReplyMultiError) AllErrors ¶
func (m QueryUserCommissionLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserCommissionLogReplyMultiError) Error ¶
func (m QueryUserCommissionLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserCommissionLogReplyValidationError ¶
type QueryUserCommissionLogReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserCommissionLogReplyValidationError is the validation error returned by QueryUserCommissionLogReply.Validate if the designated constraints aren't met.
func (QueryUserCommissionLogReplyValidationError) Cause ¶
func (e QueryUserCommissionLogReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserCommissionLogReplyValidationError) Error ¶
func (e QueryUserCommissionLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserCommissionLogReplyValidationError) ErrorName ¶
func (e QueryUserCommissionLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserCommissionLogReplyValidationError) Field ¶
func (e QueryUserCommissionLogReplyValidationError) Field() string
Field function returns field value.
func (QueryUserCommissionLogReplyValidationError) Key ¶
func (e QueryUserCommissionLogReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserCommissionLogReplyValidationError) Reason ¶
func (e QueryUserCommissionLogReplyValidationError) Reason() string
Reason function returns reason value.
type QueryUserCommissionLogRequest ¶
type QueryUserCommissionLogRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
QueryUserCommissionLogRequest 查询用户佣金日志请求
func (*QueryUserCommissionLogRequest) Descriptor
deprecated
func (*QueryUserCommissionLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserCommissionLogRequest.ProtoReflect.Descriptor instead.
func (*QueryUserCommissionLogRequest) GetPage ¶
func (x *QueryUserCommissionLogRequest) GetPage() int64
func (*QueryUserCommissionLogRequest) GetSize ¶
func (x *QueryUserCommissionLogRequest) GetSize() int64
func (*QueryUserCommissionLogRequest) ProtoMessage ¶
func (*QueryUserCommissionLogRequest) ProtoMessage()
func (*QueryUserCommissionLogRequest) ProtoReflect ¶
func (x *QueryUserCommissionLogRequest) ProtoReflect() protoreflect.Message
func (*QueryUserCommissionLogRequest) Reset ¶
func (x *QueryUserCommissionLogRequest) Reset()
func (*QueryUserCommissionLogRequest) String ¶
func (x *QueryUserCommissionLogRequest) String() string
func (*QueryUserCommissionLogRequest) Validate ¶
func (m *QueryUserCommissionLogRequest) Validate() error
Validate checks the field values on QueryUserCommissionLogRequest 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 (*QueryUserCommissionLogRequest) ValidateAll ¶
func (m *QueryUserCommissionLogRequest) ValidateAll() error
ValidateAll checks the field values on QueryUserCommissionLogRequest 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 QueryUserCommissionLogRequestMultiError, or nil if none found.
type QueryUserCommissionLogRequestMultiError ¶
type QueryUserCommissionLogRequestMultiError []error
QueryUserCommissionLogRequestMultiError is an error wrapping multiple validation errors returned by QueryUserCommissionLogRequest.ValidateAll() if the designated constraints aren't met.
func (QueryUserCommissionLogRequestMultiError) AllErrors ¶
func (m QueryUserCommissionLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserCommissionLogRequestMultiError) Error ¶
func (m QueryUserCommissionLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserCommissionLogRequestValidationError ¶
type QueryUserCommissionLogRequestValidationError struct {
// contains filtered or unexported fields
}
QueryUserCommissionLogRequestValidationError is the validation error returned by QueryUserCommissionLogRequest.Validate if the designated constraints aren't met.
func (QueryUserCommissionLogRequestValidationError) Cause ¶
func (e QueryUserCommissionLogRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryUserCommissionLogRequestValidationError) Error ¶
func (e QueryUserCommissionLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserCommissionLogRequestValidationError) ErrorName ¶
func (e QueryUserCommissionLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserCommissionLogRequestValidationError) Field ¶
func (e QueryUserCommissionLogRequestValidationError) Field() string
Field function returns field value.
func (QueryUserCommissionLogRequestValidationError) Key ¶
func (e QueryUserCommissionLogRequestValidationError) Key() bool
Key function returns key value.
func (QueryUserCommissionLogRequestValidationError) Reason ¶
func (e QueryUserCommissionLogRequestValidationError) Reason() string
Reason function returns reason value.
type QueryUserSubscribeReply ¶
type QueryUserSubscribeReply struct {
List []*UserSubscribe `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QueryUserSubscribeReply) Descriptor
deprecated
func (*QueryUserSubscribeReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserSubscribeReply.ProtoReflect.Descriptor instead.
func (*QueryUserSubscribeReply) GetList ¶
func (x *QueryUserSubscribeReply) GetList() []*UserSubscribe
func (*QueryUserSubscribeReply) GetTotal ¶
func (x *QueryUserSubscribeReply) GetTotal() int32
func (*QueryUserSubscribeReply) ProtoMessage ¶
func (*QueryUserSubscribeReply) ProtoMessage()
func (*QueryUserSubscribeReply) ProtoReflect ¶
func (x *QueryUserSubscribeReply) ProtoReflect() protoreflect.Message
func (*QueryUserSubscribeReply) Reset ¶
func (x *QueryUserSubscribeReply) Reset()
func (*QueryUserSubscribeReply) String ¶
func (x *QueryUserSubscribeReply) String() string
func (*QueryUserSubscribeReply) Validate ¶
func (m *QueryUserSubscribeReply) Validate() error
Validate checks the field values on QueryUserSubscribeReply 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 (*QueryUserSubscribeReply) ValidateAll ¶
func (m *QueryUserSubscribeReply) ValidateAll() error
ValidateAll checks the field values on QueryUserSubscribeReply 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 QueryUserSubscribeReplyMultiError, or nil if none found.
type QueryUserSubscribeReplyMultiError ¶
type QueryUserSubscribeReplyMultiError []error
QueryUserSubscribeReplyMultiError is an error wrapping multiple validation errors returned by QueryUserSubscribeReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserSubscribeReplyMultiError) AllErrors ¶
func (m QueryUserSubscribeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserSubscribeReplyMultiError) Error ¶
func (m QueryUserSubscribeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserSubscribeReplyValidationError ¶
type QueryUserSubscribeReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserSubscribeReplyValidationError is the validation error returned by QueryUserSubscribeReply.Validate if the designated constraints aren't met.
func (QueryUserSubscribeReplyValidationError) Cause ¶
func (e QueryUserSubscribeReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserSubscribeReplyValidationError) Error ¶
func (e QueryUserSubscribeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserSubscribeReplyValidationError) ErrorName ¶
func (e QueryUserSubscribeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserSubscribeReplyValidationError) Field ¶
func (e QueryUserSubscribeReplyValidationError) Field() string
Field function returns field value.
func (QueryUserSubscribeReplyValidationError) Key ¶
func (e QueryUserSubscribeReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserSubscribeReplyValidationError) Reason ¶
func (e QueryUserSubscribeReplyValidationError) Reason() string
Reason function returns reason value.
type QueryWithdrawalLogReply ¶
type QueryWithdrawalLogReply struct {
List []*WithdrawalLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QueryWithdrawalLogReply) Descriptor
deprecated
func (*QueryWithdrawalLogReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryWithdrawalLogReply.ProtoReflect.Descriptor instead.
func (*QueryWithdrawalLogReply) GetList ¶
func (x *QueryWithdrawalLogReply) GetList() []*WithdrawalLog
func (*QueryWithdrawalLogReply) GetTotal ¶
func (x *QueryWithdrawalLogReply) GetTotal() int32
func (*QueryWithdrawalLogReply) ProtoMessage ¶
func (*QueryWithdrawalLogReply) ProtoMessage()
func (*QueryWithdrawalLogReply) ProtoReflect ¶
func (x *QueryWithdrawalLogReply) ProtoReflect() protoreflect.Message
func (*QueryWithdrawalLogReply) Reset ¶
func (x *QueryWithdrawalLogReply) Reset()
func (*QueryWithdrawalLogReply) String ¶
func (x *QueryWithdrawalLogReply) String() string
func (*QueryWithdrawalLogReply) Validate ¶
func (m *QueryWithdrawalLogReply) Validate() error
Validate checks the field values on QueryWithdrawalLogReply 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 (*QueryWithdrawalLogReply) ValidateAll ¶
func (m *QueryWithdrawalLogReply) ValidateAll() error
ValidateAll checks the field values on QueryWithdrawalLogReply 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 QueryWithdrawalLogReplyMultiError, or nil if none found.
type QueryWithdrawalLogReplyMultiError ¶
type QueryWithdrawalLogReplyMultiError []error
QueryWithdrawalLogReplyMultiError is an error wrapping multiple validation errors returned by QueryWithdrawalLogReply.ValidateAll() if the designated constraints aren't met.
func (QueryWithdrawalLogReplyMultiError) AllErrors ¶
func (m QueryWithdrawalLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryWithdrawalLogReplyMultiError) Error ¶
func (m QueryWithdrawalLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryWithdrawalLogReplyValidationError ¶
type QueryWithdrawalLogReplyValidationError struct {
// contains filtered or unexported fields
}
QueryWithdrawalLogReplyValidationError is the validation error returned by QueryWithdrawalLogReply.Validate if the designated constraints aren't met.
func (QueryWithdrawalLogReplyValidationError) Cause ¶
func (e QueryWithdrawalLogReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryWithdrawalLogReplyValidationError) Error ¶
func (e QueryWithdrawalLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryWithdrawalLogReplyValidationError) ErrorName ¶
func (e QueryWithdrawalLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryWithdrawalLogReplyValidationError) Field ¶
func (e QueryWithdrawalLogReplyValidationError) Field() string
Field function returns field value.
func (QueryWithdrawalLogReplyValidationError) Key ¶
func (e QueryWithdrawalLogReplyValidationError) Key() bool
Key function returns key value.
func (QueryWithdrawalLogReplyValidationError) Reason ¶
func (e QueryWithdrawalLogReplyValidationError) Reason() string
Reason function returns reason value.
type QueryWithdrawalLogRequest ¶
type QueryWithdrawalLogRequest struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
QueryWithdrawalLogRequest 查询提现日志请求
func (*QueryWithdrawalLogRequest) Descriptor
deprecated
func (*QueryWithdrawalLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryWithdrawalLogRequest.ProtoReflect.Descriptor instead.
func (*QueryWithdrawalLogRequest) GetPage ¶
func (x *QueryWithdrawalLogRequest) GetPage() int64
func (*QueryWithdrawalLogRequest) GetSize ¶
func (x *QueryWithdrawalLogRequest) GetSize() int64
func (*QueryWithdrawalLogRequest) ProtoMessage ¶
func (*QueryWithdrawalLogRequest) ProtoMessage()
func (*QueryWithdrawalLogRequest) ProtoReflect ¶
func (x *QueryWithdrawalLogRequest) ProtoReflect() protoreflect.Message
func (*QueryWithdrawalLogRequest) Reset ¶
func (x *QueryWithdrawalLogRequest) Reset()
func (*QueryWithdrawalLogRequest) String ¶
func (x *QueryWithdrawalLogRequest) String() string
func (*QueryWithdrawalLogRequest) Validate ¶
func (m *QueryWithdrawalLogRequest) Validate() error
Validate checks the field values on QueryWithdrawalLogRequest 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 (*QueryWithdrawalLogRequest) ValidateAll ¶
func (m *QueryWithdrawalLogRequest) ValidateAll() error
ValidateAll checks the field values on QueryWithdrawalLogRequest 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 QueryWithdrawalLogRequestMultiError, or nil if none found.
type QueryWithdrawalLogRequestMultiError ¶
type QueryWithdrawalLogRequestMultiError []error
QueryWithdrawalLogRequestMultiError is an error wrapping multiple validation errors returned by QueryWithdrawalLogRequest.ValidateAll() if the designated constraints aren't met.
func (QueryWithdrawalLogRequestMultiError) AllErrors ¶
func (m QueryWithdrawalLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryWithdrawalLogRequestMultiError) Error ¶
func (m QueryWithdrawalLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryWithdrawalLogRequestValidationError ¶
type QueryWithdrawalLogRequestValidationError struct {
// contains filtered or unexported fields
}
QueryWithdrawalLogRequestValidationError is the validation error returned by QueryWithdrawalLogRequest.Validate if the designated constraints aren't met.
func (QueryWithdrawalLogRequestValidationError) Cause ¶
func (e QueryWithdrawalLogRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryWithdrawalLogRequestValidationError) Error ¶
func (e QueryWithdrawalLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryWithdrawalLogRequestValidationError) ErrorName ¶
func (e QueryWithdrawalLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryWithdrawalLogRequestValidationError) Field ¶
func (e QueryWithdrawalLogRequestValidationError) Field() string
Field function returns field value.
func (QueryWithdrawalLogRequestValidationError) Key ¶
func (e QueryWithdrawalLogRequestValidationError) Key() bool
Key function returns key value.
func (QueryWithdrawalLogRequestValidationError) Reason ¶
func (e QueryWithdrawalLogRequestValidationError) Reason() string
Reason function returns reason value.
type ResetUserSubscribeTokenRequest ¶
type ResetUserSubscribeTokenRequest struct {
UserSubscribeId int64 `protobuf:"varint,1,opt,name=user_subscribe_id,json=userSubscribeId,proto3" json:"user_subscribe_id,omitempty"`
// contains filtered or unexported fields
}
ResetUserSubscribeTokenRequest 重置订阅令牌请求
func (*ResetUserSubscribeTokenRequest) Descriptor
deprecated
func (*ResetUserSubscribeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetUserSubscribeTokenRequest.ProtoReflect.Descriptor instead.
func (*ResetUserSubscribeTokenRequest) GetUserSubscribeId ¶
func (x *ResetUserSubscribeTokenRequest) GetUserSubscribeId() int64
func (*ResetUserSubscribeTokenRequest) ProtoMessage ¶
func (*ResetUserSubscribeTokenRequest) ProtoMessage()
func (*ResetUserSubscribeTokenRequest) ProtoReflect ¶
func (x *ResetUserSubscribeTokenRequest) ProtoReflect() protoreflect.Message
func (*ResetUserSubscribeTokenRequest) Reset ¶
func (x *ResetUserSubscribeTokenRequest) Reset()
func (*ResetUserSubscribeTokenRequest) String ¶
func (x *ResetUserSubscribeTokenRequest) String() string
func (*ResetUserSubscribeTokenRequest) Validate ¶
func (m *ResetUserSubscribeTokenRequest) Validate() error
Validate checks the field values on ResetUserSubscribeTokenRequest 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 (*ResetUserSubscribeTokenRequest) ValidateAll ¶
func (m *ResetUserSubscribeTokenRequest) ValidateAll() error
ValidateAll checks the field values on ResetUserSubscribeTokenRequest 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 ResetUserSubscribeTokenRequestMultiError, or nil if none found.
type ResetUserSubscribeTokenRequestMultiError ¶
type ResetUserSubscribeTokenRequestMultiError []error
ResetUserSubscribeTokenRequestMultiError is an error wrapping multiple validation errors returned by ResetUserSubscribeTokenRequest.ValidateAll() if the designated constraints aren't met.
func (ResetUserSubscribeTokenRequestMultiError) AllErrors ¶
func (m ResetUserSubscribeTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetUserSubscribeTokenRequestMultiError) Error ¶
func (m ResetUserSubscribeTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetUserSubscribeTokenRequestValidationError ¶
type ResetUserSubscribeTokenRequestValidationError struct {
// contains filtered or unexported fields
}
ResetUserSubscribeTokenRequestValidationError is the validation error returned by ResetUserSubscribeTokenRequest.Validate if the designated constraints aren't met.
func (ResetUserSubscribeTokenRequestValidationError) Cause ¶
func (e ResetUserSubscribeTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetUserSubscribeTokenRequestValidationError) Error ¶
func (e ResetUserSubscribeTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetUserSubscribeTokenRequestValidationError) ErrorName ¶
func (e ResetUserSubscribeTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetUserSubscribeTokenRequestValidationError) Field ¶
func (e ResetUserSubscribeTokenRequestValidationError) Field() string
Field function returns field value.
func (ResetUserSubscribeTokenRequestValidationError) Key ¶
func (e ResetUserSubscribeTokenRequestValidationError) Key() bool
Key function returns key value.
func (ResetUserSubscribeTokenRequestValidationError) Reason ¶
func (e ResetUserSubscribeTokenRequestValidationError) Reason() string
Reason function returns reason value.
type Subscribe ¶
type Subscribe 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"`
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
UnitPrice int64 `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
UnitTime string `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`
Discount []*SubscribeDiscount `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`
Replacement int64 `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`
Inventory int32 `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`
Traffic int64 `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`
SpeedLimit int32 `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
DeviceLimit int32 `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
Quota int32 `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`
Nodes []int64 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
NodeTags []string `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
NodeGroupId int64 `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
TrafficLimit []*TrafficLimit `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`
Show bool `protobuf:"varint,19,opt,name=show,proto3" json:"show,omitempty"`
Sell bool `protobuf:"varint,20,opt,name=sell,proto3" json:"sell,omitempty"`
Sort int32 `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`
DeductionRatio int32 `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`
AllowDeduction bool `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3" json:"allow_deduction,omitempty"`
ResetCycle int32 `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`
RenewalReset bool `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3" json:"renewal_reset,omitempty"`
ShowOriginalPrice bool `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"`
CreatedAt int64 `protobuf:"varint,27,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,28,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
Subscribe 订阅套餐信息
func (*Subscribe) Descriptor
deprecated
func (*Subscribe) GetAllowDeduction ¶
func (*Subscribe) GetCreatedAt ¶
func (*Subscribe) GetDeductionRatio ¶
func (*Subscribe) GetDescription ¶
func (*Subscribe) GetDeviceLimit ¶
func (*Subscribe) GetDiscount ¶
func (x *Subscribe) GetDiscount() []*SubscribeDiscount
func (*Subscribe) GetInventory ¶
func (*Subscribe) GetLanguage ¶
func (*Subscribe) GetNodeGroupId ¶
func (*Subscribe) GetNodeGroupIds ¶
func (*Subscribe) GetNodeTags ¶
func (*Subscribe) GetRenewalReset ¶
func (*Subscribe) GetReplacement ¶
func (*Subscribe) GetResetCycle ¶
func (*Subscribe) GetShowOriginalPrice ¶
func (*Subscribe) GetSpeedLimit ¶
func (*Subscribe) GetTraffic ¶
func (*Subscribe) GetTrafficLimit ¶
func (x *Subscribe) GetTrafficLimit() []*TrafficLimit
func (*Subscribe) GetUnitPrice ¶
func (*Subscribe) GetUnitTime ¶
func (*Subscribe) GetUpdatedAt ¶
func (*Subscribe) ProtoMessage ¶
func (*Subscribe) ProtoMessage()
func (*Subscribe) ProtoReflect ¶
func (x *Subscribe) ProtoReflect() protoreflect.Message
func (*Subscribe) Validate ¶
Validate checks the field values on Subscribe 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 (*Subscribe) ValidateAll ¶
ValidateAll checks the field values on Subscribe 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 SubscribeMultiError, or nil if none found.
type SubscribeDiscount ¶
type SubscribeDiscount struct {
Quantity int64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
Discount float64 `protobuf:"fixed64,2,opt,name=discount,proto3" json:"discount,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeDiscount) Descriptor
deprecated
func (*SubscribeDiscount) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeDiscount.ProtoReflect.Descriptor instead.
func (*SubscribeDiscount) GetDiscount ¶
func (x *SubscribeDiscount) GetDiscount() float64
func (*SubscribeDiscount) GetQuantity ¶
func (x *SubscribeDiscount) GetQuantity() int64
func (*SubscribeDiscount) ProtoMessage ¶
func (*SubscribeDiscount) ProtoMessage()
func (*SubscribeDiscount) ProtoReflect ¶
func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
func (*SubscribeDiscount) Reset ¶
func (x *SubscribeDiscount) Reset()
func (*SubscribeDiscount) String ¶
func (x *SubscribeDiscount) String() string
func (*SubscribeDiscount) Validate ¶
func (m *SubscribeDiscount) Validate() error
Validate checks the field values on SubscribeDiscount 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 (*SubscribeDiscount) ValidateAll ¶
func (m *SubscribeDiscount) ValidateAll() error
ValidateAll checks the field values on SubscribeDiscount 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 SubscribeDiscountMultiError, or nil if none found.
type SubscribeDiscountMultiError ¶
type SubscribeDiscountMultiError []error
SubscribeDiscountMultiError is an error wrapping multiple validation errors returned by SubscribeDiscount.ValidateAll() if the designated constraints aren't met.
func (SubscribeDiscountMultiError) AllErrors ¶
func (m SubscribeDiscountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeDiscountMultiError) Error ¶
func (m SubscribeDiscountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeDiscountValidationError ¶
type SubscribeDiscountValidationError struct {
// contains filtered or unexported fields
}
SubscribeDiscountValidationError is the validation error returned by SubscribeDiscount.Validate if the designated constraints aren't met.
func (SubscribeDiscountValidationError) Cause ¶
func (e SubscribeDiscountValidationError) Cause() error
Cause function returns cause value.
func (SubscribeDiscountValidationError) Error ¶
func (e SubscribeDiscountValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeDiscountValidationError) ErrorName ¶
func (e SubscribeDiscountValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeDiscountValidationError) Field ¶
func (e SubscribeDiscountValidationError) Field() string
Field function returns field value.
func (SubscribeDiscountValidationError) Key ¶
func (e SubscribeDiscountValidationError) Key() bool
Key function returns key value.
func (SubscribeDiscountValidationError) Reason ¶
func (e SubscribeDiscountValidationError) Reason() string
Reason function returns reason value.
type SubscribeMultiError ¶
type SubscribeMultiError []error
SubscribeMultiError is an error wrapping multiple validation errors returned by Subscribe.ValidateAll() if the designated constraints aren't met.
func (SubscribeMultiError) AllErrors ¶
func (m SubscribeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeMultiError) Error ¶
func (m SubscribeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeValidationError ¶
type SubscribeValidationError struct {
// contains filtered or unexported fields
}
SubscribeValidationError is the validation error returned by Subscribe.Validate if the designated constraints aren't met.
func (SubscribeValidationError) Cause ¶
func (e SubscribeValidationError) Cause() error
Cause function returns cause value.
func (SubscribeValidationError) Error ¶
func (e SubscribeValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeValidationError) ErrorName ¶
func (e SubscribeValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeValidationError) Field ¶
func (e SubscribeValidationError) Field() string
Field function returns field value.
func (SubscribeValidationError) Key ¶
func (e SubscribeValidationError) Key() bool
Key function returns key value.
func (SubscribeValidationError) Reason ¶
func (e SubscribeValidationError) Reason() string
Reason function returns reason value.
type TrafficLimit ¶
type TrafficLimit struct {
StatType string `protobuf:"bytes,1,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`
StatValue int64 `protobuf:"varint,2,opt,name=stat_value,json=statValue,proto3" json:"stat_value,omitempty"`
TrafficUsage int64 `protobuf:"varint,3,opt,name=traffic_usage,json=trafficUsage,proto3" json:"traffic_usage,omitempty"`
SpeedLimit int32 `protobuf:"varint,4,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
// contains filtered or unexported fields
}
func (*TrafficLimit) Descriptor
deprecated
func (*TrafficLimit) Descriptor() ([]byte, []int)
Deprecated: Use TrafficLimit.ProtoReflect.Descriptor instead.
func (*TrafficLimit) GetSpeedLimit ¶
func (x *TrafficLimit) GetSpeedLimit() int32
func (*TrafficLimit) GetStatType ¶
func (x *TrafficLimit) GetStatType() string
func (*TrafficLimit) GetStatValue ¶
func (x *TrafficLimit) GetStatValue() int64
func (*TrafficLimit) GetTrafficUsage ¶
func (x *TrafficLimit) GetTrafficUsage() int64
func (*TrafficLimit) ProtoMessage ¶
func (*TrafficLimit) ProtoMessage()
func (*TrafficLimit) ProtoReflect ¶
func (x *TrafficLimit) ProtoReflect() protoreflect.Message
func (*TrafficLimit) Reset ¶
func (x *TrafficLimit) Reset()
func (*TrafficLimit) String ¶
func (x *TrafficLimit) String() string
func (*TrafficLimit) Validate ¶
func (m *TrafficLimit) Validate() error
Validate checks the field values on TrafficLimit 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 (*TrafficLimit) ValidateAll ¶
func (m *TrafficLimit) ValidateAll() error
ValidateAll checks the field values on TrafficLimit 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 TrafficLimitMultiError, or nil if none found.
type TrafficLimitMultiError ¶
type TrafficLimitMultiError []error
TrafficLimitMultiError is an error wrapping multiple validation errors returned by TrafficLimit.ValidateAll() if the designated constraints aren't met.
func (TrafficLimitMultiError) AllErrors ¶
func (m TrafficLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TrafficLimitMultiError) Error ¶
func (m TrafficLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TrafficLimitValidationError ¶
type TrafficLimitValidationError struct {
// contains filtered or unexported fields
}
TrafficLimitValidationError is the validation error returned by TrafficLimit.Validate if the designated constraints aren't met.
func (TrafficLimitValidationError) Cause ¶
func (e TrafficLimitValidationError) Cause() error
Cause function returns cause value.
func (TrafficLimitValidationError) Error ¶
func (e TrafficLimitValidationError) Error() string
Error satisfies the builtin error interface
func (TrafficLimitValidationError) ErrorName ¶
func (e TrafficLimitValidationError) ErrorName() string
ErrorName returns error name.
func (TrafficLimitValidationError) Field ¶
func (e TrafficLimitValidationError) Field() string
Field function returns field value.
func (TrafficLimitValidationError) Key ¶
func (e TrafficLimitValidationError) Key() bool
Key function returns key value.
func (TrafficLimitValidationError) Reason ¶
func (e TrafficLimitValidationError) Reason() string
Reason function returns reason value.
type UnbindDeviceRequest ¶
type UnbindDeviceRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 设备ID
// contains filtered or unexported fields
}
UnbindDeviceRequest 解绑设备请求
func (*UnbindDeviceRequest) Descriptor
deprecated
func (*UnbindDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbindDeviceRequest.ProtoReflect.Descriptor instead.
func (*UnbindDeviceRequest) GetId ¶
func (x *UnbindDeviceRequest) GetId() int64
func (*UnbindDeviceRequest) ProtoMessage ¶
func (*UnbindDeviceRequest) ProtoMessage()
func (*UnbindDeviceRequest) ProtoReflect ¶
func (x *UnbindDeviceRequest) ProtoReflect() protoreflect.Message
func (*UnbindDeviceRequest) Reset ¶
func (x *UnbindDeviceRequest) Reset()
func (*UnbindDeviceRequest) String ¶
func (x *UnbindDeviceRequest) String() string
func (*UnbindDeviceRequest) Validate ¶
func (m *UnbindDeviceRequest) Validate() error
Validate checks the field values on UnbindDeviceRequest 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 (*UnbindDeviceRequest) ValidateAll ¶
func (m *UnbindDeviceRequest) ValidateAll() error
ValidateAll checks the field values on UnbindDeviceRequest 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 UnbindDeviceRequestMultiError, or nil if none found.
type UnbindDeviceRequestMultiError ¶
type UnbindDeviceRequestMultiError []error
UnbindDeviceRequestMultiError is an error wrapping multiple validation errors returned by UnbindDeviceRequest.ValidateAll() if the designated constraints aren't met.
func (UnbindDeviceRequestMultiError) AllErrors ¶
func (m UnbindDeviceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnbindDeviceRequestMultiError) Error ¶
func (m UnbindDeviceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnbindDeviceRequestValidationError ¶
type UnbindDeviceRequestValidationError struct {
// contains filtered or unexported fields
}
UnbindDeviceRequestValidationError is the validation error returned by UnbindDeviceRequest.Validate if the designated constraints aren't met.
func (UnbindDeviceRequestValidationError) Cause ¶
func (e UnbindDeviceRequestValidationError) Cause() error
Cause function returns cause value.
func (UnbindDeviceRequestValidationError) Error ¶
func (e UnbindDeviceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UnbindDeviceRequestValidationError) ErrorName ¶
func (e UnbindDeviceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UnbindDeviceRequestValidationError) Field ¶
func (e UnbindDeviceRequestValidationError) Field() string
Field function returns field value.
func (UnbindDeviceRequestValidationError) Key ¶
func (e UnbindDeviceRequestValidationError) Key() bool
Key function returns key value.
func (UnbindDeviceRequestValidationError) Reason ¶
func (e UnbindDeviceRequestValidationError) Reason() string
Reason function returns reason value.
type UnbindOAuthRequest ¶
type UnbindOAuthRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // OAuth方法
// contains filtered or unexported fields
}
UnbindOAuthRequest 解绑OAuth请求
func (*UnbindOAuthRequest) Descriptor
deprecated
func (*UnbindOAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbindOAuthRequest.ProtoReflect.Descriptor instead.
func (*UnbindOAuthRequest) GetMethod ¶
func (x *UnbindOAuthRequest) GetMethod() string
func (*UnbindOAuthRequest) ProtoMessage ¶
func (*UnbindOAuthRequest) ProtoMessage()
func (*UnbindOAuthRequest) ProtoReflect ¶
func (x *UnbindOAuthRequest) ProtoReflect() protoreflect.Message
func (*UnbindOAuthRequest) Reset ¶
func (x *UnbindOAuthRequest) Reset()
func (*UnbindOAuthRequest) String ¶
func (x *UnbindOAuthRequest) String() string
func (*UnbindOAuthRequest) Validate ¶
func (m *UnbindOAuthRequest) Validate() error
Validate checks the field values on UnbindOAuthRequest 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 (*UnbindOAuthRequest) ValidateAll ¶
func (m *UnbindOAuthRequest) ValidateAll() error
ValidateAll checks the field values on UnbindOAuthRequest 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 UnbindOAuthRequestMultiError, or nil if none found.
type UnbindOAuthRequestMultiError ¶
type UnbindOAuthRequestMultiError []error
UnbindOAuthRequestMultiError is an error wrapping multiple validation errors returned by UnbindOAuthRequest.ValidateAll() if the designated constraints aren't met.
func (UnbindOAuthRequestMultiError) AllErrors ¶
func (m UnbindOAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnbindOAuthRequestMultiError) Error ¶
func (m UnbindOAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnbindOAuthRequestValidationError ¶
type UnbindOAuthRequestValidationError struct {
// contains filtered or unexported fields
}
UnbindOAuthRequestValidationError is the validation error returned by UnbindOAuthRequest.Validate if the designated constraints aren't met.
func (UnbindOAuthRequestValidationError) Cause ¶
func (e UnbindOAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (UnbindOAuthRequestValidationError) Error ¶
func (e UnbindOAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UnbindOAuthRequestValidationError) ErrorName ¶
func (e UnbindOAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UnbindOAuthRequestValidationError) Field ¶
func (e UnbindOAuthRequestValidationError) Field() string
Field function returns field value.
func (UnbindOAuthRequestValidationError) Key ¶
func (e UnbindOAuthRequestValidationError) Key() bool
Key function returns key value.
func (UnbindOAuthRequestValidationError) Reason ¶
func (e UnbindOAuthRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPublicUserServer ¶
type UnimplementedPublicUserServer struct{}
UnimplementedPublicUserServer 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 (UnimplementedPublicUserServer) BindOAuth ¶
func (UnimplementedPublicUserServer) BindOAuth(context.Context, *BindOAuthRequest) (*BindOAuthReply, error)
func (UnimplementedPublicUserServer) BindOAuthCallback ¶
func (UnimplementedPublicUserServer) BindOAuthCallback(context.Context, *BindOAuthCallbackRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) BindTelegram ¶
func (UnimplementedPublicUserServer) BindTelegram(context.Context, *emptypb.Empty) (*BindTelegramReply, error)
func (UnimplementedPublicUserServer) CommissionWithdraw ¶
func (UnimplementedPublicUserServer) CommissionWithdraw(context.Context, *CommissionWithdrawRequest) (*WithdrawalLog, error)
func (UnimplementedPublicUserServer) DeleteCurrentUserAccount ¶
func (UnimplementedPublicUserServer) DeviceWSConnect ¶
func (UnimplementedPublicUserServer) GetDeviceList ¶
func (UnimplementedPublicUserServer) GetDeviceList(context.Context, *emptypb.Empty) (*GetDeviceListReply, error)
func (UnimplementedPublicUserServer) GetDeviceOnlineStatistics ¶
func (UnimplementedPublicUserServer) GetDeviceOnlineStatistics(context.Context, *emptypb.Empty) (*GetDeviceOnlineStatisticsReply, error)
func (UnimplementedPublicUserServer) GetLoginLog ¶
func (UnimplementedPublicUserServer) GetLoginLog(context.Context, *GetLoginLogRequest) (*GetLoginLogReply, error)
func (UnimplementedPublicUserServer) GetOAuthMethods ¶
func (UnimplementedPublicUserServer) GetOAuthMethods(context.Context, *emptypb.Empty) (*GetOAuthMethodsReply, error)
func (UnimplementedPublicUserServer) GetSubscribeLog ¶
func (UnimplementedPublicUserServer) GetSubscribeLog(context.Context, *GetSubscribeLogRequest) (*GetSubscribeLogReply, error)
func (UnimplementedPublicUserServer) GetUserTrafficStats ¶
func (UnimplementedPublicUserServer) GetUserTrafficStats(context.Context, *GetUserTrafficStatsRequest) (*GetUserTrafficStatsReply, error)
func (UnimplementedPublicUserServer) PreUnsubscribe ¶
func (UnimplementedPublicUserServer) PreUnsubscribe(context.Context, *PreUnsubscribeRequest) (*PreUnsubscribeReply, error)
func (UnimplementedPublicUserServer) QueryUserAffiliate ¶
func (UnimplementedPublicUserServer) QueryUserAffiliate(context.Context, *emptypb.Empty) (*QueryUserAffiliateCountReply, error)
func (UnimplementedPublicUserServer) QueryUserAffiliateList ¶
func (UnimplementedPublicUserServer) QueryUserAffiliateList(context.Context, *QueryUserAffiliateListRequest) (*QueryUserAffiliateListReply, error)
func (UnimplementedPublicUserServer) QueryUserBalanceLog ¶
func (UnimplementedPublicUserServer) QueryUserBalanceLog(context.Context, *emptypb.Empty) (*QueryUserBalanceLogReply, error)
func (UnimplementedPublicUserServer) QueryUserCommissionLog ¶
func (UnimplementedPublicUserServer) QueryUserCommissionLog(context.Context, *QueryUserCommissionLogRequest) (*QueryUserCommissionLogReply, error)
func (UnimplementedPublicUserServer) QueryUserInfo ¶
func (UnimplementedPublicUserServer) QueryUserSubscribe ¶
func (UnimplementedPublicUserServer) QueryUserSubscribe(context.Context, *emptypb.Empty) (*QueryUserSubscribeReply, error)
func (UnimplementedPublicUserServer) QueryWithdrawalLog ¶
func (UnimplementedPublicUserServer) QueryWithdrawalLog(context.Context, *QueryWithdrawalLogRequest) (*QueryWithdrawalLogReply, error)
func (UnimplementedPublicUserServer) ResetUserSubscribeToken ¶
func (UnimplementedPublicUserServer) ResetUserSubscribeToken(context.Context, *ResetUserSubscribeTokenRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UnbindDevice ¶
func (UnimplementedPublicUserServer) UnbindDevice(context.Context, *UnbindDeviceRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UnbindOAuth ¶
func (UnimplementedPublicUserServer) UnbindOAuth(context.Context, *UnbindOAuthRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UnbindTelegram ¶
func (UnimplementedPublicUserServer) Unsubscribe ¶
func (UnimplementedPublicUserServer) Unsubscribe(context.Context, *UnsubscribeRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateBindEmail ¶
func (UnimplementedPublicUserServer) UpdateBindEmail(context.Context, *UpdateBindEmailRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateBindMobile ¶
func (UnimplementedPublicUserServer) UpdateBindMobile(context.Context, *UpdateBindMobileRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateUserNotify ¶
func (UnimplementedPublicUserServer) UpdateUserNotify(context.Context, *UpdateUserNotifyRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateUserPassword ¶
func (UnimplementedPublicUserServer) UpdateUserPassword(context.Context, *UpdateUserPasswordRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateUserRules ¶
func (UnimplementedPublicUserServer) UpdateUserRules(context.Context, *UpdateUserRulesRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) UpdateUserSubscribeNote ¶
func (UnimplementedPublicUserServer) UpdateUserSubscribeNote(context.Context, *UpdateUserSubscribeNoteRequest) (*emptypb.Empty, error)
func (UnimplementedPublicUserServer) VerifyEmail ¶
func (UnimplementedPublicUserServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*emptypb.Empty, error)
type UnsafePublicUserServer ¶
type UnsafePublicUserServer interface {
// contains filtered or unexported methods
}
UnsafePublicUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicUserServer will result in compilation errors.
type UnsubscribeRequest ¶
type UnsubscribeRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
UnsubscribeRequest 退订请求
func (*UnsubscribeRequest) Descriptor
deprecated
func (*UnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*UnsubscribeRequest) GetId ¶
func (x *UnsubscribeRequest) GetId() int64
func (*UnsubscribeRequest) ProtoMessage ¶
func (*UnsubscribeRequest) ProtoMessage()
func (*UnsubscribeRequest) ProtoReflect ¶
func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*UnsubscribeRequest) Reset ¶
func (x *UnsubscribeRequest) Reset()
func (*UnsubscribeRequest) String ¶
func (x *UnsubscribeRequest) String() string
func (*UnsubscribeRequest) Validate ¶
func (m *UnsubscribeRequest) Validate() error
Validate checks the field values on UnsubscribeRequest 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 (*UnsubscribeRequest) ValidateAll ¶
func (m *UnsubscribeRequest) ValidateAll() error
ValidateAll checks the field values on UnsubscribeRequest 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 UnsubscribeRequestMultiError, or nil if none found.
type UnsubscribeRequestMultiError ¶
type UnsubscribeRequestMultiError []error
UnsubscribeRequestMultiError is an error wrapping multiple validation errors returned by UnsubscribeRequest.ValidateAll() if the designated constraints aren't met.
func (UnsubscribeRequestMultiError) AllErrors ¶
func (m UnsubscribeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnsubscribeRequestMultiError) Error ¶
func (m UnsubscribeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnsubscribeRequestValidationError ¶
type UnsubscribeRequestValidationError struct {
// contains filtered or unexported fields
}
UnsubscribeRequestValidationError is the validation error returned by UnsubscribeRequest.Validate if the designated constraints aren't met.
func (UnsubscribeRequestValidationError) Cause ¶
func (e UnsubscribeRequestValidationError) Cause() error
Cause function returns cause value.
func (UnsubscribeRequestValidationError) Error ¶
func (e UnsubscribeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UnsubscribeRequestValidationError) ErrorName ¶
func (e UnsubscribeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UnsubscribeRequestValidationError) Field ¶
func (e UnsubscribeRequestValidationError) Field() string
Field function returns field value.
func (UnsubscribeRequestValidationError) Key ¶
func (e UnsubscribeRequestValidationError) Key() bool
Key function returns key value.
func (UnsubscribeRequestValidationError) Reason ¶
func (e UnsubscribeRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateBindEmailRequest ¶
type UpdateBindEmailRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // 邮箱地址
// contains filtered or unexported fields
}
UpdateBindEmailRequest 更新绑定邮箱请求
func (*UpdateBindEmailRequest) Descriptor
deprecated
func (*UpdateBindEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBindEmailRequest.ProtoReflect.Descriptor instead.
func (*UpdateBindEmailRequest) GetEmail ¶
func (x *UpdateBindEmailRequest) GetEmail() string
func (*UpdateBindEmailRequest) ProtoMessage ¶
func (*UpdateBindEmailRequest) ProtoMessage()
func (*UpdateBindEmailRequest) ProtoReflect ¶
func (x *UpdateBindEmailRequest) ProtoReflect() protoreflect.Message
func (*UpdateBindEmailRequest) Reset ¶
func (x *UpdateBindEmailRequest) Reset()
func (*UpdateBindEmailRequest) String ¶
func (x *UpdateBindEmailRequest) String() string
func (*UpdateBindEmailRequest) Validate ¶
func (m *UpdateBindEmailRequest) Validate() error
Validate checks the field values on UpdateBindEmailRequest 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 (*UpdateBindEmailRequest) ValidateAll ¶
func (m *UpdateBindEmailRequest) ValidateAll() error
ValidateAll checks the field values on UpdateBindEmailRequest 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 UpdateBindEmailRequestMultiError, or nil if none found.
type UpdateBindEmailRequestMultiError ¶
type UpdateBindEmailRequestMultiError []error
UpdateBindEmailRequestMultiError is an error wrapping multiple validation errors returned by UpdateBindEmailRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateBindEmailRequestMultiError) AllErrors ¶
func (m UpdateBindEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBindEmailRequestMultiError) Error ¶
func (m UpdateBindEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBindEmailRequestValidationError ¶
type UpdateBindEmailRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateBindEmailRequestValidationError is the validation error returned by UpdateBindEmailRequest.Validate if the designated constraints aren't met.
func (UpdateBindEmailRequestValidationError) Cause ¶
func (e UpdateBindEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateBindEmailRequestValidationError) Error ¶
func (e UpdateBindEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBindEmailRequestValidationError) ErrorName ¶
func (e UpdateBindEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBindEmailRequestValidationError) Field ¶
func (e UpdateBindEmailRequestValidationError) Field() string
Field function returns field value.
func (UpdateBindEmailRequestValidationError) Key ¶
func (e UpdateBindEmailRequestValidationError) Key() bool
Key function returns key value.
func (UpdateBindEmailRequestValidationError) Reason ¶
func (e UpdateBindEmailRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateBindMobileRequest ¶
type UpdateBindMobileRequest struct {
AreaCode string `protobuf:"bytes,1,opt,name=area_code,json=areaCode,proto3" json:"area_code,omitempty"` // 区号
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` // 手机号
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // 验证码
// contains filtered or unexported fields
}
UpdateBindMobileRequest 更新绑定手机请求
func (*UpdateBindMobileRequest) Descriptor
deprecated
func (*UpdateBindMobileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBindMobileRequest.ProtoReflect.Descriptor instead.
func (*UpdateBindMobileRequest) GetAreaCode ¶
func (x *UpdateBindMobileRequest) GetAreaCode() string
func (*UpdateBindMobileRequest) GetCode ¶
func (x *UpdateBindMobileRequest) GetCode() string
func (*UpdateBindMobileRequest) GetMobile ¶
func (x *UpdateBindMobileRequest) GetMobile() string
func (*UpdateBindMobileRequest) ProtoMessage ¶
func (*UpdateBindMobileRequest) ProtoMessage()
func (*UpdateBindMobileRequest) ProtoReflect ¶
func (x *UpdateBindMobileRequest) ProtoReflect() protoreflect.Message
func (*UpdateBindMobileRequest) Reset ¶
func (x *UpdateBindMobileRequest) Reset()
func (*UpdateBindMobileRequest) String ¶
func (x *UpdateBindMobileRequest) String() string
func (*UpdateBindMobileRequest) Validate ¶
func (m *UpdateBindMobileRequest) Validate() error
Validate checks the field values on UpdateBindMobileRequest 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 (*UpdateBindMobileRequest) ValidateAll ¶
func (m *UpdateBindMobileRequest) ValidateAll() error
ValidateAll checks the field values on UpdateBindMobileRequest 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 UpdateBindMobileRequestMultiError, or nil if none found.
type UpdateBindMobileRequestMultiError ¶
type UpdateBindMobileRequestMultiError []error
UpdateBindMobileRequestMultiError is an error wrapping multiple validation errors returned by UpdateBindMobileRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateBindMobileRequestMultiError) AllErrors ¶
func (m UpdateBindMobileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateBindMobileRequestMultiError) Error ¶
func (m UpdateBindMobileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateBindMobileRequestValidationError ¶
type UpdateBindMobileRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateBindMobileRequestValidationError is the validation error returned by UpdateBindMobileRequest.Validate if the designated constraints aren't met.
func (UpdateBindMobileRequestValidationError) Cause ¶
func (e UpdateBindMobileRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateBindMobileRequestValidationError) Error ¶
func (e UpdateBindMobileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateBindMobileRequestValidationError) ErrorName ¶
func (e UpdateBindMobileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateBindMobileRequestValidationError) Field ¶
func (e UpdateBindMobileRequestValidationError) Field() string
Field function returns field value.
func (UpdateBindMobileRequestValidationError) Key ¶
func (e UpdateBindMobileRequestValidationError) Key() bool
Key function returns key value.
func (UpdateBindMobileRequestValidationError) Reason ¶
func (e UpdateBindMobileRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserNotifyRequest ¶
type UpdateUserNotifyRequest struct {
EnableLoginNotify *bool `protobuf:"varint,1,opt,name=enable_login_notify,json=enableLoginNotify,proto3,oneof" json:"enable_login_notify,omitempty"`
EnableBalanceNotify *bool `` /* 127-byte string literal not displayed */
EnableSubscribeNotify *bool `` /* 133-byte string literal not displayed */
EnableTradeNotify *bool `protobuf:"varint,4,opt,name=enable_trade_notify,json=enableTradeNotify,proto3,oneof" json:"enable_trade_notify,omitempty"`
// contains filtered or unexported fields
}
UpdateUserNotifyRequest 更新通知设置请求
func (*UpdateUserNotifyRequest) Descriptor
deprecated
func (*UpdateUserNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserNotifyRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserNotifyRequest) GetEnableBalanceNotify ¶
func (x *UpdateUserNotifyRequest) GetEnableBalanceNotify() bool
func (*UpdateUserNotifyRequest) GetEnableLoginNotify ¶
func (x *UpdateUserNotifyRequest) GetEnableLoginNotify() bool
func (*UpdateUserNotifyRequest) GetEnableSubscribeNotify ¶
func (x *UpdateUserNotifyRequest) GetEnableSubscribeNotify() bool
func (*UpdateUserNotifyRequest) GetEnableTradeNotify ¶
func (x *UpdateUserNotifyRequest) GetEnableTradeNotify() bool
func (*UpdateUserNotifyRequest) ProtoMessage ¶
func (*UpdateUserNotifyRequest) ProtoMessage()
func (*UpdateUserNotifyRequest) ProtoReflect ¶
func (x *UpdateUserNotifyRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserNotifyRequest) Reset ¶
func (x *UpdateUserNotifyRequest) Reset()
func (*UpdateUserNotifyRequest) String ¶
func (x *UpdateUserNotifyRequest) String() string
func (*UpdateUserNotifyRequest) Validate ¶
func (m *UpdateUserNotifyRequest) Validate() error
Validate checks the field values on UpdateUserNotifyRequest 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 (*UpdateUserNotifyRequest) ValidateAll ¶
func (m *UpdateUserNotifyRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserNotifyRequest 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 UpdateUserNotifyRequestMultiError, or nil if none found.
type UpdateUserNotifyRequestMultiError ¶
type UpdateUserNotifyRequestMultiError []error
UpdateUserNotifyRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserNotifyRequestMultiError) AllErrors ¶
func (m UpdateUserNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserNotifyRequestMultiError) Error ¶
func (m UpdateUserNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserNotifyRequestValidationError ¶
type UpdateUserNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserNotifyRequestValidationError is the validation error returned by UpdateUserNotifyRequest.Validate if the designated constraints aren't met.
func (UpdateUserNotifyRequestValidationError) Cause ¶
func (e UpdateUserNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserNotifyRequestValidationError) Error ¶
func (e UpdateUserNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserNotifyRequestValidationError) ErrorName ¶
func (e UpdateUserNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserNotifyRequestValidationError) Field ¶
func (e UpdateUserNotifyRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserNotifyRequestValidationError) Key ¶
func (e UpdateUserNotifyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserNotifyRequestValidationError) Reason ¶
func (e UpdateUserNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserPasswordRequest ¶
type UpdateUserPasswordRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
UpdateUserPasswordRequest 更新密码请求
func (*UpdateUserPasswordRequest) Descriptor
deprecated
func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserPasswordRequest) GetPassword ¶
func (x *UpdateUserPasswordRequest) GetPassword() string
func (*UpdateUserPasswordRequest) ProtoMessage ¶
func (*UpdateUserPasswordRequest) ProtoMessage()
func (*UpdateUserPasswordRequest) ProtoReflect ¶
func (x *UpdateUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserPasswordRequest) Reset ¶
func (x *UpdateUserPasswordRequest) Reset()
func (*UpdateUserPasswordRequest) String ¶
func (x *UpdateUserPasswordRequest) String() string
func (*UpdateUserPasswordRequest) Validate ¶
func (m *UpdateUserPasswordRequest) Validate() error
Validate checks the field values on UpdateUserPasswordRequest 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 (*UpdateUserPasswordRequest) ValidateAll ¶
func (m *UpdateUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserPasswordRequest 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 UpdateUserPasswordRequestMultiError, or nil if none found.
type UpdateUserPasswordRequestMultiError ¶
type UpdateUserPasswordRequestMultiError []error
UpdateUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserPasswordRequestMultiError) AllErrors ¶
func (m UpdateUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserPasswordRequestMultiError) Error ¶
func (m UpdateUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserPasswordRequestValidationError ¶
type UpdateUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserPasswordRequestValidationError is the validation error returned by UpdateUserPasswordRequest.Validate if the designated constraints aren't met.
func (UpdateUserPasswordRequestValidationError) Cause ¶
func (e UpdateUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserPasswordRequestValidationError) Error ¶
func (e UpdateUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserPasswordRequestValidationError) ErrorName ¶
func (e UpdateUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserPasswordRequestValidationError) Field ¶
func (e UpdateUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserPasswordRequestValidationError) Key ¶
func (e UpdateUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserPasswordRequestValidationError) Reason ¶
func (e UpdateUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRulesRequest ¶
type UpdateUserRulesRequest struct {
Rules []string `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserRulesRequest) Descriptor
deprecated
func (*UpdateUserRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRulesRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRulesRequest) GetRules ¶
func (x *UpdateUserRulesRequest) GetRules() []string
func (*UpdateUserRulesRequest) ProtoMessage ¶
func (*UpdateUserRulesRequest) ProtoMessage()
func (*UpdateUserRulesRequest) ProtoReflect ¶
func (x *UpdateUserRulesRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRulesRequest) Reset ¶
func (x *UpdateUserRulesRequest) Reset()
func (*UpdateUserRulesRequest) String ¶
func (x *UpdateUserRulesRequest) String() string
func (*UpdateUserRulesRequest) Validate ¶
func (m *UpdateUserRulesRequest) Validate() error
Validate checks the field values on UpdateUserRulesRequest 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 (*UpdateUserRulesRequest) ValidateAll ¶
func (m *UpdateUserRulesRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRulesRequest 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 UpdateUserRulesRequestMultiError, or nil if none found.
type UpdateUserRulesRequestMultiError ¶
type UpdateUserRulesRequestMultiError []error
UpdateUserRulesRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRulesRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRulesRequestMultiError) AllErrors ¶
func (m UpdateUserRulesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRulesRequestMultiError) Error ¶
func (m UpdateUserRulesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRulesRequestValidationError ¶
type UpdateUserRulesRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRulesRequestValidationError is the validation error returned by UpdateUserRulesRequest.Validate if the designated constraints aren't met.
func (UpdateUserRulesRequestValidationError) Cause ¶
func (e UpdateUserRulesRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRulesRequestValidationError) Error ¶
func (e UpdateUserRulesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRulesRequestValidationError) ErrorName ¶
func (e UpdateUserRulesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRulesRequestValidationError) Field ¶
func (e UpdateUserRulesRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRulesRequestValidationError) Key ¶
func (e UpdateUserRulesRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRulesRequestValidationError) Reason ¶
func (e UpdateUserRulesRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserSubscribeNoteRequest ¶
type UpdateUserSubscribeNoteRequest struct {
UserSubscribeId int64 `protobuf:"varint,1,opt,name=user_subscribe_id,json=userSubscribeId,proto3" json:"user_subscribe_id,omitempty"`
Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserSubscribeNoteRequest) Descriptor
deprecated
func (*UpdateUserSubscribeNoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSubscribeNoteRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserSubscribeNoteRequest) GetNote ¶
func (x *UpdateUserSubscribeNoteRequest) GetNote() string
func (*UpdateUserSubscribeNoteRequest) GetUserSubscribeId ¶
func (x *UpdateUserSubscribeNoteRequest) GetUserSubscribeId() int64
func (*UpdateUserSubscribeNoteRequest) ProtoMessage ¶
func (*UpdateUserSubscribeNoteRequest) ProtoMessage()
func (*UpdateUserSubscribeNoteRequest) ProtoReflect ¶
func (x *UpdateUserSubscribeNoteRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserSubscribeNoteRequest) Reset ¶
func (x *UpdateUserSubscribeNoteRequest) Reset()
func (*UpdateUserSubscribeNoteRequest) String ¶
func (x *UpdateUserSubscribeNoteRequest) String() string
func (*UpdateUserSubscribeNoteRequest) Validate ¶
func (m *UpdateUserSubscribeNoteRequest) Validate() error
Validate checks the field values on UpdateUserSubscribeNoteRequest 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 (*UpdateUserSubscribeNoteRequest) ValidateAll ¶
func (m *UpdateUserSubscribeNoteRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserSubscribeNoteRequest 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 UpdateUserSubscribeNoteRequestMultiError, or nil if none found.
type UpdateUserSubscribeNoteRequestMultiError ¶
type UpdateUserSubscribeNoteRequestMultiError []error
UpdateUserSubscribeNoteRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserSubscribeNoteRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserSubscribeNoteRequestMultiError) AllErrors ¶
func (m UpdateUserSubscribeNoteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserSubscribeNoteRequestMultiError) Error ¶
func (m UpdateUserSubscribeNoteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserSubscribeNoteRequestValidationError ¶
type UpdateUserSubscribeNoteRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserSubscribeNoteRequestValidationError is the validation error returned by UpdateUserSubscribeNoteRequest.Validate if the designated constraints aren't met.
func (UpdateUserSubscribeNoteRequestValidationError) Cause ¶
func (e UpdateUserSubscribeNoteRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserSubscribeNoteRequestValidationError) Error ¶
func (e UpdateUserSubscribeNoteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserSubscribeNoteRequestValidationError) ErrorName ¶
func (e UpdateUserSubscribeNoteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserSubscribeNoteRequestValidationError) Field ¶
func (e UpdateUserSubscribeNoteRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserSubscribeNoteRequestValidationError) Key ¶
func (e UpdateUserSubscribeNoteRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserSubscribeNoteRequestValidationError) Reason ¶
func (e UpdateUserSubscribeNoteRequestValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
Commission int64 `protobuf:"varint,4,opt,name=commission,proto3" json:"commission,omitempty"`
ReferralPercentage int32 `protobuf:"varint,5,opt,name=referral_percentage,json=referralPercentage,proto3" json:"referral_percentage,omitempty"`
OnlyFirstPurchase bool `protobuf:"varint,6,opt,name=only_first_purchase,json=onlyFirstPurchase,proto3" json:"only_first_purchase,omitempty"`
GiftAmount int64 `protobuf:"varint,7,opt,name=gift_amount,json=giftAmount,proto3" json:"gift_amount,omitempty"`
Telegram int64 `protobuf:"varint,8,opt,name=telegram,proto3" json:"telegram,omitempty"`
ReferCode string `protobuf:"bytes,9,opt,name=refer_code,json=referCode,proto3" json:"refer_code,omitempty"`
RefererId int64 `protobuf:"varint,10,opt,name=referer_id,json=refererId,proto3" json:"referer_id,omitempty"`
Enable bool `protobuf:"varint,11,opt,name=enable,proto3" json:"enable,omitempty"`
IsAdmin bool `protobuf:"varint,12,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
EnableBalanceNotify bool `protobuf:"varint,13,opt,name=enable_balance_notify,json=enableBalanceNotify,proto3" json:"enable_balance_notify,omitempty"`
EnableLoginNotify bool `protobuf:"varint,14,opt,name=enable_login_notify,json=enableLoginNotify,proto3" json:"enable_login_notify,omitempty"`
EnableSubscribeNotify bool `` /* 128-byte string literal not displayed */
EnableTradeNotify bool `protobuf:"varint,16,opt,name=enable_trade_notify,json=enableTradeNotify,proto3" json:"enable_trade_notify,omitempty"`
AuthMethods []*UserAuthMethod `protobuf:"bytes,17,rep,name=auth_methods,json=authMethods,proto3" json:"auth_methods,omitempty"`
UserDevices []*UserDevice `protobuf:"bytes,18,rep,name=user_devices,json=userDevices,proto3" json:"user_devices,omitempty"`
Rules []string `protobuf:"bytes,19,rep,name=rules,proto3" json:"rules,omitempty"`
CreatedAt int64 `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
DeletedAt int64 `protobuf:"varint,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
IsDel bool `protobuf:"varint,23,opt,name=is_del,json=isDel,proto3" json:"is_del,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetAuthMethods ¶
func (x *User) GetAuthMethods() []*UserAuthMethod
func (*User) GetBalance ¶
func (*User) GetCommission ¶
func (*User) GetCreatedAt ¶
func (*User) GetDeletedAt ¶
func (*User) GetEnableBalanceNotify ¶
func (*User) GetEnableLoginNotify ¶
func (*User) GetEnableSubscribeNotify ¶
func (*User) GetEnableTradeNotify ¶
func (*User) GetGiftAmount ¶
func (*User) GetIsAdmin ¶
func (*User) GetOnlyFirstPurchase ¶
func (*User) GetReferCode ¶
func (*User) GetRefererId ¶
func (*User) GetReferralPercentage ¶
func (*User) GetTelegram ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUserDevices ¶
func (x *User) GetUserDevices() []*UserDevice
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserAffiliate ¶
type UserAffiliate struct {
Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
RegisteredAt int64 `protobuf:"varint,3,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"`
Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
// contains filtered or unexported fields
}
UserAffiliate 用户推荐信息
func (*UserAffiliate) Descriptor
deprecated
func (*UserAffiliate) Descriptor() ([]byte, []int)
Deprecated: Use UserAffiliate.ProtoReflect.Descriptor instead.
func (*UserAffiliate) GetAvatar ¶
func (x *UserAffiliate) GetAvatar() string
func (*UserAffiliate) GetEnable ¶
func (x *UserAffiliate) GetEnable() bool
func (*UserAffiliate) GetIdentifier ¶
func (x *UserAffiliate) GetIdentifier() string
func (*UserAffiliate) GetRegisteredAt ¶
func (x *UserAffiliate) GetRegisteredAt() int64
func (*UserAffiliate) ProtoMessage ¶
func (*UserAffiliate) ProtoMessage()
func (*UserAffiliate) ProtoReflect ¶
func (x *UserAffiliate) ProtoReflect() protoreflect.Message
func (*UserAffiliate) Reset ¶
func (x *UserAffiliate) Reset()
func (*UserAffiliate) String ¶
func (x *UserAffiliate) String() string
func (*UserAffiliate) Validate ¶
func (m *UserAffiliate) Validate() error
Validate checks the field values on UserAffiliate 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 (*UserAffiliate) ValidateAll ¶
func (m *UserAffiliate) ValidateAll() error
ValidateAll checks the field values on UserAffiliate 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 UserAffiliateMultiError, or nil if none found.
type UserAffiliateMultiError ¶
type UserAffiliateMultiError []error
UserAffiliateMultiError is an error wrapping multiple validation errors returned by UserAffiliate.ValidateAll() if the designated constraints aren't met.
func (UserAffiliateMultiError) AllErrors ¶
func (m UserAffiliateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserAffiliateMultiError) Error ¶
func (m UserAffiliateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserAffiliateValidationError ¶
type UserAffiliateValidationError struct {
// contains filtered or unexported fields
}
UserAffiliateValidationError is the validation error returned by UserAffiliate.Validate if the designated constraints aren't met.
func (UserAffiliateValidationError) Cause ¶
func (e UserAffiliateValidationError) Cause() error
Cause function returns cause value.
func (UserAffiliateValidationError) Error ¶
func (e UserAffiliateValidationError) Error() string
Error satisfies the builtin error interface
func (UserAffiliateValidationError) ErrorName ¶
func (e UserAffiliateValidationError) ErrorName() string
ErrorName returns error name.
func (UserAffiliateValidationError) Field ¶
func (e UserAffiliateValidationError) Field() string
Field function returns field value.
func (UserAffiliateValidationError) Key ¶
func (e UserAffiliateValidationError) Key() bool
Key function returns key value.
func (UserAffiliateValidationError) Reason ¶
func (e UserAffiliateValidationError) Reason() string
Reason function returns reason value.
type UserAuthMethod ¶
type UserAuthMethod struct {
AuthType string `protobuf:"bytes,1,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
AuthIdentifier string `protobuf:"bytes,2,opt,name=auth_identifier,json=authIdentifier,proto3" json:"auth_identifier,omitempty"`
Verified bool `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"`
// contains filtered or unexported fields
}
UserAuthMethod 用户认证方法
func (*UserAuthMethod) Descriptor
deprecated
func (*UserAuthMethod) Descriptor() ([]byte, []int)
Deprecated: Use UserAuthMethod.ProtoReflect.Descriptor instead.
func (*UserAuthMethod) GetAuthIdentifier ¶
func (x *UserAuthMethod) GetAuthIdentifier() string
func (*UserAuthMethod) GetAuthType ¶
func (x *UserAuthMethod) GetAuthType() string
func (*UserAuthMethod) GetVerified ¶
func (x *UserAuthMethod) GetVerified() bool
func (*UserAuthMethod) ProtoMessage ¶
func (*UserAuthMethod) ProtoMessage()
func (*UserAuthMethod) ProtoReflect ¶
func (x *UserAuthMethod) ProtoReflect() protoreflect.Message
func (*UserAuthMethod) Reset ¶
func (x *UserAuthMethod) Reset()
func (*UserAuthMethod) String ¶
func (x *UserAuthMethod) String() string
func (*UserAuthMethod) Validate ¶
func (m *UserAuthMethod) Validate() error
Validate checks the field values on UserAuthMethod 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 (*UserAuthMethod) ValidateAll ¶
func (m *UserAuthMethod) ValidateAll() error
ValidateAll checks the field values on UserAuthMethod 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 UserAuthMethodMultiError, or nil if none found.
type UserAuthMethodMultiError ¶
type UserAuthMethodMultiError []error
UserAuthMethodMultiError is an error wrapping multiple validation errors returned by UserAuthMethod.ValidateAll() if the designated constraints aren't met.
func (UserAuthMethodMultiError) AllErrors ¶
func (m UserAuthMethodMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserAuthMethodMultiError) Error ¶
func (m UserAuthMethodMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserAuthMethodValidationError ¶
type UserAuthMethodValidationError struct {
// contains filtered or unexported fields
}
UserAuthMethodValidationError is the validation error returned by UserAuthMethod.Validate if the designated constraints aren't met.
func (UserAuthMethodValidationError) Cause ¶
func (e UserAuthMethodValidationError) Cause() error
Cause function returns cause value.
func (UserAuthMethodValidationError) Error ¶
func (e UserAuthMethodValidationError) Error() string
Error satisfies the builtin error interface
func (UserAuthMethodValidationError) ErrorName ¶
func (e UserAuthMethodValidationError) ErrorName() string
ErrorName returns error name.
func (UserAuthMethodValidationError) Field ¶
func (e UserAuthMethodValidationError) Field() string
Field function returns field value.
func (UserAuthMethodValidationError) Key ¶
func (e UserAuthMethodValidationError) Key() bool
Key function returns key value.
func (UserAuthMethodValidationError) Reason ¶
func (e UserAuthMethodValidationError) Reason() string
Reason function returns reason value.
type UserDevice ¶
type UserDevice struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 设备ID
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // IP地址
Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"` // 设备标识符
UserAgent string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // 用户代理
Online bool `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"` // 在线状态
Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` // 启用状态
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间
// contains filtered or unexported fields
}
UserDevice 用户设备信息
func (*UserDevice) Descriptor
deprecated
func (*UserDevice) Descriptor() ([]byte, []int)
Deprecated: Use UserDevice.ProtoReflect.Descriptor instead.
func (*UserDevice) GetCreatedAt ¶
func (x *UserDevice) GetCreatedAt() int64
func (*UserDevice) GetEnabled ¶
func (x *UserDevice) GetEnabled() bool
func (*UserDevice) GetId ¶
func (x *UserDevice) GetId() int64
func (*UserDevice) GetIdentifier ¶
func (x *UserDevice) GetIdentifier() string
func (*UserDevice) GetIp ¶
func (x *UserDevice) GetIp() string
func (*UserDevice) GetOnline ¶
func (x *UserDevice) GetOnline() bool
func (*UserDevice) GetUpdatedAt ¶
func (x *UserDevice) GetUpdatedAt() int64
func (*UserDevice) GetUserAgent ¶
func (x *UserDevice) GetUserAgent() string
func (*UserDevice) ProtoMessage ¶
func (*UserDevice) ProtoMessage()
func (*UserDevice) ProtoReflect ¶
func (x *UserDevice) ProtoReflect() protoreflect.Message
func (*UserDevice) Reset ¶
func (x *UserDevice) Reset()
func (*UserDevice) String ¶
func (x *UserDevice) String() string
func (*UserDevice) Validate ¶
func (m *UserDevice) Validate() error
Validate checks the field values on UserDevice 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 (*UserDevice) ValidateAll ¶
func (m *UserDevice) ValidateAll() error
ValidateAll checks the field values on UserDevice 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 UserDeviceMultiError, or nil if none found.
type UserDeviceMultiError ¶
type UserDeviceMultiError []error
UserDeviceMultiError is an error wrapping multiple validation errors returned by UserDevice.ValidateAll() if the designated constraints aren't met.
func (UserDeviceMultiError) AllErrors ¶
func (m UserDeviceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserDeviceMultiError) Error ¶
func (m UserDeviceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserDeviceValidationError ¶
type UserDeviceValidationError struct {
// contains filtered or unexported fields
}
UserDeviceValidationError is the validation error returned by UserDevice.Validate if the designated constraints aren't met.
func (UserDeviceValidationError) Cause ¶
func (e UserDeviceValidationError) Cause() error
Cause function returns cause value.
func (UserDeviceValidationError) Error ¶
func (e UserDeviceValidationError) Error() string
Error satisfies the builtin error interface
func (UserDeviceValidationError) ErrorName ¶
func (e UserDeviceValidationError) ErrorName() string
ErrorName returns error name.
func (UserDeviceValidationError) Field ¶
func (e UserDeviceValidationError) Field() string
Field function returns field value.
func (UserDeviceValidationError) Key ¶
func (e UserDeviceValidationError) Key() bool
Key function returns key value.
func (UserDeviceValidationError) Reason ¶
func (e UserDeviceValidationError) Reason() string
Reason function returns reason value.
type UserLoginLog ¶
type UserLoginLog struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
LoginIp string `protobuf:"bytes,3,opt,name=login_ip,json=loginIp,proto3" json:"login_ip,omitempty"`
UserAgent string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
Success bool `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
UserLoginLog 用户登录日志
func (*UserLoginLog) Descriptor
deprecated
func (*UserLoginLog) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginLog.ProtoReflect.Descriptor instead.
func (*UserLoginLog) GetId ¶
func (x *UserLoginLog) GetId() int64
func (*UserLoginLog) GetLoginIp ¶
func (x *UserLoginLog) GetLoginIp() string
func (*UserLoginLog) GetSuccess ¶
func (x *UserLoginLog) GetSuccess() bool
func (*UserLoginLog) GetTimestamp ¶
func (x *UserLoginLog) GetTimestamp() int64
func (*UserLoginLog) GetUserAgent ¶
func (x *UserLoginLog) GetUserAgent() string
func (*UserLoginLog) GetUserId ¶
func (x *UserLoginLog) GetUserId() int64
func (*UserLoginLog) ProtoMessage ¶
func (*UserLoginLog) ProtoMessage()
func (*UserLoginLog) ProtoReflect ¶
func (x *UserLoginLog) ProtoReflect() protoreflect.Message
func (*UserLoginLog) Reset ¶
func (x *UserLoginLog) Reset()
func (*UserLoginLog) String ¶
func (x *UserLoginLog) String() string
func (*UserLoginLog) Validate ¶
func (m *UserLoginLog) Validate() error
Validate checks the field values on UserLoginLog 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 (*UserLoginLog) ValidateAll ¶
func (m *UserLoginLog) ValidateAll() error
ValidateAll checks the field values on UserLoginLog 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 UserLoginLogMultiError, or nil if none found.
type UserLoginLogMultiError ¶
type UserLoginLogMultiError []error
UserLoginLogMultiError is an error wrapping multiple validation errors returned by UserLoginLog.ValidateAll() if the designated constraints aren't met.
func (UserLoginLogMultiError) AllErrors ¶
func (m UserLoginLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLoginLogMultiError) Error ¶
func (m UserLoginLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLoginLogValidationError ¶
type UserLoginLogValidationError struct {
// contains filtered or unexported fields
}
UserLoginLogValidationError is the validation error returned by UserLoginLog.Validate if the designated constraints aren't met.
func (UserLoginLogValidationError) Cause ¶
func (e UserLoginLogValidationError) Cause() error
Cause function returns cause value.
func (UserLoginLogValidationError) Error ¶
func (e UserLoginLogValidationError) Error() string
Error satisfies the builtin error interface
func (UserLoginLogValidationError) ErrorName ¶
func (e UserLoginLogValidationError) ErrorName() string
ErrorName returns error name.
func (UserLoginLogValidationError) Field ¶
func (e UserLoginLogValidationError) Field() string
Field function returns field value.
func (UserLoginLogValidationError) Key ¶
func (e UserLoginLogValidationError) Key() bool
Key function returns key value.
func (UserLoginLogValidationError) Reason ¶
func (e UserLoginLogValidationError) Reason() string
Reason function returns reason value.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSubscribe ¶
type UserSubscribe struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
OrderId int64 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
SubscribeId int64 `protobuf:"varint,4,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
Subscribe *Subscribe `protobuf:"bytes,5,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
StartTime int64 `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
ExpireTime int64 `protobuf:"varint,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
FinishedAt int64 `protobuf:"varint,8,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
ResetTime int64 `protobuf:"varint,9,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"`
Traffic int64 `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`
Download int64 `protobuf:"varint,11,opt,name=download,proto3" json:"download,omitempty"`
Upload int64 `protobuf:"varint,12,opt,name=upload,proto3" json:"upload,omitempty"`
Token string `protobuf:"bytes,13,opt,name=token,proto3" json:"token,omitempty"`
Status int32 `protobuf:"varint,14,opt,name=status,proto3" json:"status,omitempty"`
Short string `protobuf:"bytes,15,opt,name=short,proto3" json:"short,omitempty"`
NodeGroupId int64 `protobuf:"varint,16,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
GroupLocked bool `protobuf:"varint,17,opt,name=group_locked,json=groupLocked,proto3" json:"group_locked,omitempty"`
CreatedAt int64 `protobuf:"varint,18,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,19,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
UserSubscribe 用户订阅信息
func (*UserSubscribe) Descriptor
deprecated
func (*UserSubscribe) Descriptor() ([]byte, []int)
Deprecated: Use UserSubscribe.ProtoReflect.Descriptor instead.
func (*UserSubscribe) GetCreatedAt ¶
func (x *UserSubscribe) GetCreatedAt() int64
func (*UserSubscribe) GetDownload ¶
func (x *UserSubscribe) GetDownload() int64
func (*UserSubscribe) GetExpireTime ¶
func (x *UserSubscribe) GetExpireTime() int64
func (*UserSubscribe) GetFinishedAt ¶
func (x *UserSubscribe) GetFinishedAt() int64
func (*UserSubscribe) GetGroupLocked ¶
func (x *UserSubscribe) GetGroupLocked() bool
func (*UserSubscribe) GetId ¶
func (x *UserSubscribe) GetId() int64
func (*UserSubscribe) GetNodeGroupId ¶
func (x *UserSubscribe) GetNodeGroupId() int64
func (*UserSubscribe) GetOrderId ¶
func (x *UserSubscribe) GetOrderId() int64
func (*UserSubscribe) GetResetTime ¶
func (x *UserSubscribe) GetResetTime() int64
func (*UserSubscribe) GetShort ¶
func (x *UserSubscribe) GetShort() string
func (*UserSubscribe) GetStartTime ¶
func (x *UserSubscribe) GetStartTime() int64
func (*UserSubscribe) GetStatus ¶
func (x *UserSubscribe) GetStatus() int32
func (*UserSubscribe) GetSubscribe ¶
func (x *UserSubscribe) GetSubscribe() *Subscribe
func (*UserSubscribe) GetSubscribeId ¶
func (x *UserSubscribe) GetSubscribeId() int64
func (*UserSubscribe) GetToken ¶
func (x *UserSubscribe) GetToken() string
func (*UserSubscribe) GetTraffic ¶
func (x *UserSubscribe) GetTraffic() int64
func (*UserSubscribe) GetUpdatedAt ¶
func (x *UserSubscribe) GetUpdatedAt() int64
func (*UserSubscribe) GetUpload ¶
func (x *UserSubscribe) GetUpload() int64
func (*UserSubscribe) GetUserId ¶
func (x *UserSubscribe) GetUserId() int64
func (*UserSubscribe) ProtoMessage ¶
func (*UserSubscribe) ProtoMessage()
func (*UserSubscribe) ProtoReflect ¶
func (x *UserSubscribe) ProtoReflect() protoreflect.Message
func (*UserSubscribe) Reset ¶
func (x *UserSubscribe) Reset()
func (*UserSubscribe) String ¶
func (x *UserSubscribe) String() string
func (*UserSubscribe) Validate ¶
func (m *UserSubscribe) Validate() error
Validate checks the field values on UserSubscribe 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 (*UserSubscribe) ValidateAll ¶
func (m *UserSubscribe) ValidateAll() error
ValidateAll checks the field values on UserSubscribe 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 UserSubscribeMultiError, or nil if none found.
type UserSubscribeLog ¶
type UserSubscribeLog struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
UserSubscribeId int64 `protobuf:"varint,3,opt,name=user_subscribe_id,json=userSubscribeId,proto3" json:"user_subscribe_id,omitempty"`
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
UserSubscribeLog 用户订阅日志
func (*UserSubscribeLog) Descriptor
deprecated
func (*UserSubscribeLog) Descriptor() ([]byte, []int)
Deprecated: Use UserSubscribeLog.ProtoReflect.Descriptor instead.
func (*UserSubscribeLog) GetId ¶
func (x *UserSubscribeLog) GetId() int64
func (*UserSubscribeLog) GetIp ¶
func (x *UserSubscribeLog) GetIp() string
func (*UserSubscribeLog) GetTimestamp ¶
func (x *UserSubscribeLog) GetTimestamp() int64
func (*UserSubscribeLog) GetToken ¶
func (x *UserSubscribeLog) GetToken() string
func (*UserSubscribeLog) GetUserAgent ¶
func (x *UserSubscribeLog) GetUserAgent() string
func (*UserSubscribeLog) GetUserId ¶
func (x *UserSubscribeLog) GetUserId() int64
func (*UserSubscribeLog) GetUserSubscribeId ¶
func (x *UserSubscribeLog) GetUserSubscribeId() int64
func (*UserSubscribeLog) ProtoMessage ¶
func (*UserSubscribeLog) ProtoMessage()
func (*UserSubscribeLog) ProtoReflect ¶
func (x *UserSubscribeLog) ProtoReflect() protoreflect.Message
func (*UserSubscribeLog) Reset ¶
func (x *UserSubscribeLog) Reset()
func (*UserSubscribeLog) String ¶
func (x *UserSubscribeLog) String() string
func (*UserSubscribeLog) Validate ¶
func (m *UserSubscribeLog) Validate() error
Validate checks the field values on UserSubscribeLog 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 (*UserSubscribeLog) ValidateAll ¶
func (m *UserSubscribeLog) ValidateAll() error
ValidateAll checks the field values on UserSubscribeLog 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 UserSubscribeLogMultiError, or nil if none found.
type UserSubscribeLogMultiError ¶
type UserSubscribeLogMultiError []error
UserSubscribeLogMultiError is an error wrapping multiple validation errors returned by UserSubscribeLog.ValidateAll() if the designated constraints aren't met.
func (UserSubscribeLogMultiError) AllErrors ¶
func (m UserSubscribeLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSubscribeLogMultiError) Error ¶
func (m UserSubscribeLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSubscribeLogValidationError ¶
type UserSubscribeLogValidationError struct {
// contains filtered or unexported fields
}
UserSubscribeLogValidationError is the validation error returned by UserSubscribeLog.Validate if the designated constraints aren't met.
func (UserSubscribeLogValidationError) Cause ¶
func (e UserSubscribeLogValidationError) Cause() error
Cause function returns cause value.
func (UserSubscribeLogValidationError) Error ¶
func (e UserSubscribeLogValidationError) Error() string
Error satisfies the builtin error interface
func (UserSubscribeLogValidationError) ErrorName ¶
func (e UserSubscribeLogValidationError) ErrorName() string
ErrorName returns error name.
func (UserSubscribeLogValidationError) Field ¶
func (e UserSubscribeLogValidationError) Field() string
Field function returns field value.
func (UserSubscribeLogValidationError) Key ¶
func (e UserSubscribeLogValidationError) Key() bool
Key function returns key value.
func (UserSubscribeLogValidationError) Reason ¶
func (e UserSubscribeLogValidationError) Reason() string
Reason function returns reason value.
type UserSubscribeMultiError ¶
type UserSubscribeMultiError []error
UserSubscribeMultiError is an error wrapping multiple validation errors returned by UserSubscribe.ValidateAll() if the designated constraints aren't met.
func (UserSubscribeMultiError) AllErrors ¶
func (m UserSubscribeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSubscribeMultiError) Error ¶
func (m UserSubscribeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSubscribeValidationError ¶
type UserSubscribeValidationError struct {
// contains filtered or unexported fields
}
UserSubscribeValidationError is the validation error returned by UserSubscribe.Validate if the designated constraints aren't met.
func (UserSubscribeValidationError) Cause ¶
func (e UserSubscribeValidationError) Cause() error
Cause function returns cause value.
func (UserSubscribeValidationError) Error ¶
func (e UserSubscribeValidationError) Error() string
Error satisfies the builtin error interface
func (UserSubscribeValidationError) ErrorName ¶
func (e UserSubscribeValidationError) ErrorName() string
ErrorName returns error name.
func (UserSubscribeValidationError) Field ¶
func (e UserSubscribeValidationError) Field() string
Field function returns field value.
func (UserSubscribeValidationError) Key ¶
func (e UserSubscribeValidationError) Key() bool
Key function returns key value.
func (UserSubscribeValidationError) Reason ¶
func (e UserSubscribeValidationError) Reason() string
Reason function returns reason value.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type VerifyEmailRequest ¶
type VerifyEmailRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // 邮箱地址
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // 验证码
// contains filtered or unexported fields
}
VerifyEmailRequest 验证邮箱请求
func (*VerifyEmailRequest) Descriptor
deprecated
func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.
func (*VerifyEmailRequest) GetCode ¶
func (x *VerifyEmailRequest) GetCode() string
func (*VerifyEmailRequest) GetEmail ¶
func (x *VerifyEmailRequest) GetEmail() string
func (*VerifyEmailRequest) ProtoMessage ¶
func (*VerifyEmailRequest) ProtoMessage()
func (*VerifyEmailRequest) ProtoReflect ¶
func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
func (*VerifyEmailRequest) Reset ¶
func (x *VerifyEmailRequest) Reset()
func (*VerifyEmailRequest) String ¶
func (x *VerifyEmailRequest) String() string
func (*VerifyEmailRequest) Validate ¶
func (m *VerifyEmailRequest) Validate() error
Validate checks the field values on VerifyEmailRequest 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 (*VerifyEmailRequest) ValidateAll ¶
func (m *VerifyEmailRequest) ValidateAll() error
ValidateAll checks the field values on VerifyEmailRequest 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 VerifyEmailRequestMultiError, or nil if none found.
type VerifyEmailRequestMultiError ¶
type VerifyEmailRequestMultiError []error
VerifyEmailRequestMultiError is an error wrapping multiple validation errors returned by VerifyEmailRequest.ValidateAll() if the designated constraints aren't met.
func (VerifyEmailRequestMultiError) AllErrors ¶
func (m VerifyEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerifyEmailRequestMultiError) Error ¶
func (m VerifyEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerifyEmailRequestValidationError ¶
type VerifyEmailRequestValidationError struct {
// contains filtered or unexported fields
}
VerifyEmailRequestValidationError is the validation error returned by VerifyEmailRequest.Validate if the designated constraints aren't met.
func (VerifyEmailRequestValidationError) Cause ¶
func (e VerifyEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (VerifyEmailRequestValidationError) Error ¶
func (e VerifyEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyEmailRequestValidationError) ErrorName ¶
func (e VerifyEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyEmailRequestValidationError) Field ¶
func (e VerifyEmailRequestValidationError) Field() string
Field function returns field value.
func (VerifyEmailRequestValidationError) Key ¶
func (e VerifyEmailRequestValidationError) Key() bool
Key function returns key value.
func (VerifyEmailRequestValidationError) Reason ¶
func (e VerifyEmailRequestValidationError) Reason() string
Reason function returns reason value.
type WeeklyStat ¶
type WeeklyStat struct {
Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` // 星期几 (1-7)
DayName string `protobuf:"bytes,2,opt,name=day_name,json=dayName,proto3" json:"day_name,omitempty"` // 星期名称
Hours float64 `protobuf:"fixed64,3,opt,name=hours,proto3" json:"hours,omitempty"` // 小时数
// contains filtered or unexported fields
}
WeeklyStat 每周统计
func (*WeeklyStat) Descriptor
deprecated
func (*WeeklyStat) Descriptor() ([]byte, []int)
Deprecated: Use WeeklyStat.ProtoReflect.Descriptor instead.
func (*WeeklyStat) GetDay ¶
func (x *WeeklyStat) GetDay() int32
func (*WeeklyStat) GetDayName ¶
func (x *WeeklyStat) GetDayName() string
func (*WeeklyStat) GetHours ¶
func (x *WeeklyStat) GetHours() float64
func (*WeeklyStat) ProtoMessage ¶
func (*WeeklyStat) ProtoMessage()
func (*WeeklyStat) ProtoReflect ¶
func (x *WeeklyStat) ProtoReflect() protoreflect.Message
func (*WeeklyStat) Reset ¶
func (x *WeeklyStat) Reset()
func (*WeeklyStat) String ¶
func (x *WeeklyStat) String() string
func (*WeeklyStat) Validate ¶
func (m *WeeklyStat) Validate() error
Validate checks the field values on WeeklyStat 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 (*WeeklyStat) ValidateAll ¶
func (m *WeeklyStat) ValidateAll() error
ValidateAll checks the field values on WeeklyStat 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 WeeklyStatMultiError, or nil if none found.
type WeeklyStatMultiError ¶
type WeeklyStatMultiError []error
WeeklyStatMultiError is an error wrapping multiple validation errors returned by WeeklyStat.ValidateAll() if the designated constraints aren't met.
func (WeeklyStatMultiError) AllErrors ¶
func (m WeeklyStatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WeeklyStatMultiError) Error ¶
func (m WeeklyStatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WeeklyStatValidationError ¶
type WeeklyStatValidationError struct {
// contains filtered or unexported fields
}
WeeklyStatValidationError is the validation error returned by WeeklyStat.Validate if the designated constraints aren't met.
func (WeeklyStatValidationError) Cause ¶
func (e WeeklyStatValidationError) Cause() error
Cause function returns cause value.
func (WeeklyStatValidationError) Error ¶
func (e WeeklyStatValidationError) Error() string
Error satisfies the builtin error interface
func (WeeklyStatValidationError) ErrorName ¶
func (e WeeklyStatValidationError) ErrorName() string
ErrorName returns error name.
func (WeeklyStatValidationError) Field ¶
func (e WeeklyStatValidationError) Field() string
Field function returns field value.
func (WeeklyStatValidationError) Key ¶
func (e WeeklyStatValidationError) Key() bool
Key function returns key value.
func (WeeklyStatValidationError) Reason ¶
func (e WeeklyStatValidationError) Reason() string
Reason function returns reason value.
type WithdrawalLog ¶
type WithdrawalLog struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*WithdrawalLog) Descriptor
deprecated
func (*WithdrawalLog) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawalLog.ProtoReflect.Descriptor instead.
func (*WithdrawalLog) GetAmount ¶
func (x *WithdrawalLog) GetAmount() int64
func (*WithdrawalLog) GetContent ¶
func (x *WithdrawalLog) GetContent() string
func (*WithdrawalLog) GetCreatedAt ¶
func (x *WithdrawalLog) GetCreatedAt() int64
func (*WithdrawalLog) GetId ¶
func (x *WithdrawalLog) GetId() int64
func (*WithdrawalLog) GetReason ¶
func (x *WithdrawalLog) GetReason() string
func (*WithdrawalLog) GetStatus ¶
func (x *WithdrawalLog) GetStatus() int32
func (*WithdrawalLog) GetUpdatedAt ¶
func (x *WithdrawalLog) GetUpdatedAt() int64
func (*WithdrawalLog) GetUserId ¶
func (x *WithdrawalLog) GetUserId() int64
func (*WithdrawalLog) ProtoMessage ¶
func (*WithdrawalLog) ProtoMessage()
func (*WithdrawalLog) ProtoReflect ¶
func (x *WithdrawalLog) ProtoReflect() protoreflect.Message
func (*WithdrawalLog) Reset ¶
func (x *WithdrawalLog) Reset()
func (*WithdrawalLog) String ¶
func (x *WithdrawalLog) String() string
func (*WithdrawalLog) Validate ¶
func (m *WithdrawalLog) Validate() error
Validate checks the field values on WithdrawalLog 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 (*WithdrawalLog) ValidateAll ¶
func (m *WithdrawalLog) ValidateAll() error
ValidateAll checks the field values on WithdrawalLog 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 WithdrawalLogMultiError, or nil if none found.
type WithdrawalLogMultiError ¶
type WithdrawalLogMultiError []error
WithdrawalLogMultiError is an error wrapping multiple validation errors returned by WithdrawalLog.ValidateAll() if the designated constraints aren't met.
func (WithdrawalLogMultiError) AllErrors ¶
func (m WithdrawalLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WithdrawalLogMultiError) Error ¶
func (m WithdrawalLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WithdrawalLogValidationError ¶
type WithdrawalLogValidationError struct {
// contains filtered or unexported fields
}
WithdrawalLogValidationError is the validation error returned by WithdrawalLog.Validate if the designated constraints aren't met.
func (WithdrawalLogValidationError) Cause ¶
func (e WithdrawalLogValidationError) Cause() error
Cause function returns cause value.
func (WithdrawalLogValidationError) Error ¶
func (e WithdrawalLogValidationError) Error() string
Error satisfies the builtin error interface
func (WithdrawalLogValidationError) ErrorName ¶
func (e WithdrawalLogValidationError) ErrorName() string
ErrorName returns error name.
func (WithdrawalLogValidationError) Field ¶
func (e WithdrawalLogValidationError) Field() string
Field function returns field value.
func (WithdrawalLogValidationError) Key ¶
func (e WithdrawalLogValidationError) Key() bool
Key function returns key value.
func (WithdrawalLogValidationError) Reason ¶
func (e WithdrawalLogValidationError) Reason() string
Reason function returns reason value.