v1

package
v1.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationPublicUserBindOAuth = "/api.public.user.v1.PublicUser/BindOAuth"
View Source
const OperationPublicUserBindOAuthCallback = "/api.public.user.v1.PublicUser/BindOAuthCallback"
View Source
const OperationPublicUserBindTelegram = "/api.public.user.v1.PublicUser/BindTelegram"
View Source
const OperationPublicUserCommissionWithdraw = "/api.public.user.v1.PublicUser/CommissionWithdraw"
View Source
const OperationPublicUserDeleteCurrentUserAccount = "/api.public.user.v1.PublicUser/DeleteCurrentUserAccount"
View Source
const OperationPublicUserDeviceWSConnect = "/api.public.user.v1.PublicUser/DeviceWSConnect"
View Source
const OperationPublicUserGetDeviceList = "/api.public.user.v1.PublicUser/GetDeviceList"
View Source
const OperationPublicUserGetDeviceOnlineStatistics = "/api.public.user.v1.PublicUser/GetDeviceOnlineStatistics"
View Source
const OperationPublicUserGetLoginLog = "/api.public.user.v1.PublicUser/GetLoginLog"
View Source
const OperationPublicUserGetOAuthMethods = "/api.public.user.v1.PublicUser/GetOAuthMethods"
View Source
const OperationPublicUserGetSubscribeLog = "/api.public.user.v1.PublicUser/GetSubscribeLog"
View Source
const OperationPublicUserGetUserTrafficStats = "/api.public.user.v1.PublicUser/GetUserTrafficStats"
View Source
const OperationPublicUserPreUnsubscribe = "/api.public.user.v1.PublicUser/PreUnsubscribe"
View Source
const OperationPublicUserQueryUserAffiliate = "/api.public.user.v1.PublicUser/QueryUserAffiliate"
View Source
const OperationPublicUserQueryUserAffiliateList = "/api.public.user.v1.PublicUser/QueryUserAffiliateList"
View Source
const OperationPublicUserQueryUserBalanceLog = "/api.public.user.v1.PublicUser/QueryUserBalanceLog"
View Source
const OperationPublicUserQueryUserCommissionLog = "/api.public.user.v1.PublicUser/QueryUserCommissionLog"
View Source
const OperationPublicUserQueryUserInfo = "/api.public.user.v1.PublicUser/QueryUserInfo"
View Source
const OperationPublicUserQueryUserSubscribe = "/api.public.user.v1.PublicUser/QueryUserSubscribe"
View Source
const OperationPublicUserQueryWithdrawalLog = "/api.public.user.v1.PublicUser/QueryWithdrawalLog"
View Source
const OperationPublicUserResetUserSubscribeToken = "/api.public.user.v1.PublicUser/ResetUserSubscribeToken"
View Source
const OperationPublicUserUnbindDevice = "/api.public.user.v1.PublicUser/UnbindDevice"
View Source
const OperationPublicUserUnbindOAuth = "/api.public.user.v1.PublicUser/UnbindOAuth"
View Source
const OperationPublicUserUnbindTelegram = "/api.public.user.v1.PublicUser/UnbindTelegram"
View Source
const OperationPublicUserUnsubscribe = "/api.public.user.v1.PublicUser/Unsubscribe"
View Source
const OperationPublicUserUpdateBindEmail = "/api.public.user.v1.PublicUser/UpdateBindEmail"
View Source
const OperationPublicUserUpdateBindMobile = "/api.public.user.v1.PublicUser/UpdateBindMobile"
View Source
const OperationPublicUserUpdateUserNotify = "/api.public.user.v1.PublicUser/UpdateUserNotify"
View Source
const OperationPublicUserUpdateUserPassword = "/api.public.user.v1.PublicUser/UpdateUserPassword"
View Source
const OperationPublicUserUpdateUserRules = "/api.public.user.v1.PublicUser/UpdateUserRules"
View Source
const OperationPublicUserUpdateUserSubscribeNote = "/api.public.user.v1.PublicUser/UpdateUserSubscribeNote"
View Source
const OperationPublicUserVerifyEmail = "/api.public.user.v1.PublicUser/VerifyEmail"

Variables

View Source
var File_public_user_v1_user_proto protoreflect.FileDescriptor
View Source
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

Error satisfies the builtin error interface

func (BalanceLogValidationError) ErrorName

func (e BalanceLogValidationError) ErrorName() string

ErrorName returns error name.

func (BalanceLogValidationError) Field

Field function returns field value.

func (BalanceLogValidationError) Key

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

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

Cause function returns cause value.

func (BindOAuthCallbackRequestValidationError) Error

Error satisfies the builtin error interface

func (BindOAuthCallbackRequestValidationError) ErrorName

ErrorName returns error name.

func (BindOAuthCallbackRequestValidationError) Field

Field function returns field value.

func (BindOAuthCallbackRequestValidationError) Key

Key function returns key value.

func (BindOAuthCallbackRequestValidationError) Reason

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

Cause function returns cause value.

func (BindOAuthReplyValidationError) Error

Error satisfies the builtin error interface

func (BindOAuthReplyValidationError) ErrorName

func (e BindOAuthReplyValidationError) ErrorName() string

ErrorName returns error name.

func (BindOAuthReplyValidationError) Field

Field function returns field value.

func (BindOAuthReplyValidationError) Key

Key function returns key value.

func (BindOAuthReplyValidationError) Reason

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

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

Cause function returns cause value.

func (BindOAuthRequestValidationError) Error

Error satisfies the builtin error interface

func (BindOAuthRequestValidationError) ErrorName

ErrorName returns error name.

func (BindOAuthRequestValidationError) Field

Field function returns field value.

func (BindOAuthRequestValidationError) Key

Key function returns key value.

func (BindOAuthRequestValidationError) Reason

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

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

Cause function returns cause value.

func (BindTelegramReplyValidationError) Error

Error satisfies the builtin error interface

func (BindTelegramReplyValidationError) ErrorName

ErrorName returns error name.

func (BindTelegramReplyValidationError) Field

Field function returns field value.

func (BindTelegramReplyValidationError) Key

Key function returns key value.

func (BindTelegramReplyValidationError) Reason

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

Cause function returns cause value.

func (CommissionLogValidationError) Error

Error satisfies the builtin error interface

func (CommissionLogValidationError) ErrorName

func (e CommissionLogValidationError) ErrorName() string

ErrorName returns error name.

func (CommissionLogValidationError) Field

Field function returns field value.

func (CommissionLogValidationError) Key

Key function returns key value.

func (CommissionLogValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (CommissionWithdrawRequestMultiError) Error

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

Cause function returns cause value.

func (CommissionWithdrawRequestValidationError) Error

Error satisfies the builtin error interface

func (CommissionWithdrawRequestValidationError) ErrorName

ErrorName returns error name.

func (CommissionWithdrawRequestValidationError) Field

Field function returns field value.

func (CommissionWithdrawRequestValidationError) Key

Key function returns key value.

func (CommissionWithdrawRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ConnectionRecordsValidationError) Error

Error satisfies the builtin error interface

func (ConnectionRecordsValidationError) ErrorName

ErrorName returns error name.

func (ConnectionRecordsValidationError) Field

Field function returns field value.

func (ConnectionRecordsValidationError) Key

Key function returns key value.

func (ConnectionRecordsValidationError) Reason

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

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

Cause function returns cause value.

func (DailyTrafficStatsValidationError) Error

Error satisfies the builtin error interface

func (DailyTrafficStatsValidationError) ErrorName

ErrorName returns error name.

func (DailyTrafficStatsValidationError) Field

Field function returns field value.

func (DailyTrafficStatsValidationError) Key

Key function returns key value.

func (DailyTrafficStatsValidationError) Reason

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

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

Cause function returns cause value.

func (GetDeviceListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDeviceListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDeviceListReplyValidationError) Field

Field function returns field value.

func (GetDeviceListReplyValidationError) Key

Key function returns key value.

func (GetDeviceListReplyValidationError) Reason

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

func (x *GetDeviceOnlineStatisticsReply) Reset()

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

AllErrors returns a list of validation violation errors.

func (GetDeviceOnlineStatisticsReplyMultiError) Error

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

Cause function returns cause value.

func (GetDeviceOnlineStatisticsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDeviceOnlineStatisticsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDeviceOnlineStatisticsReplyValidationError) Field

Field function returns field value.

func (GetDeviceOnlineStatisticsReplyValidationError) Key

Key function returns key value.

func (GetDeviceOnlineStatisticsReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetLoginLogReplyValidationError) Error

Error satisfies the builtin error interface

func (GetLoginLogReplyValidationError) ErrorName

ErrorName returns error name.

func (GetLoginLogReplyValidationError) Field

Field function returns field value.

func (GetLoginLogReplyValidationError) Key

Key function returns key value.

func (GetLoginLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetLoginLogRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLoginLogRequestValidationError) ErrorName

ErrorName returns error name.

func (GetLoginLogRequestValidationError) Field

Field function returns field value.

func (GetLoginLogRequestValidationError) Key

Key function returns key value.

func (GetLoginLogRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetOAuthMethodsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetOAuthMethodsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetOAuthMethodsReplyValidationError) Field

Field function returns field value.

func (GetOAuthMethodsReplyValidationError) Key

Key function returns key value.

func (GetOAuthMethodsReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubscribeLogReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeLogReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeLogReplyValidationError) Field

Field function returns field value.

func (GetSubscribeLogReplyValidationError) Key

Key function returns key value.

func (GetSubscribeLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubscribeLogRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeLogRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeLogRequestValidationError) Field

Field function returns field value.

func (GetSubscribeLogRequestValidationError) Key

Key function returns key value.

func (GetSubscribeLogRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserTrafficStatsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserTrafficStatsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserTrafficStatsReplyValidationError) Field

Field function returns field value.

func (GetUserTrafficStatsReplyValidationError) Key

Key function returns key value.

func (GetUserTrafficStatsReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (GetUserTrafficStatsRequestMultiError) Error

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

Cause function returns cause value.

func (GetUserTrafficStatsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserTrafficStatsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserTrafficStatsRequestValidationError) Field

Field function returns field value.

func (GetUserTrafficStatsRequestValidationError) Key

Key function returns key value.

func (GetUserTrafficStatsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PreUnsubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (PreUnsubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (PreUnsubscribeReplyValidationError) Field

Field function returns field value.

func (PreUnsubscribeReplyValidationError) Key

Key function returns key value.

func (PreUnsubscribeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PreUnsubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (PreUnsubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (PreUnsubscribeRequestValidationError) Field

Field function returns field value.

func (PreUnsubscribeRequestValidationError) Key

Key function returns key value.

func (PreUnsubscribeRequestValidationError) Reason

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

BindOAuth BindOAuth 绑定OAuth

func (*PublicUserHTTPClientImpl) BindOAuthCallback

BindOAuthCallback BindOAuthCallback OAuth回调

func (*PublicUserHTTPClientImpl) BindTelegram

BindTelegram BindTelegram 绑定Telegram

func (*PublicUserHTTPClientImpl) CommissionWithdraw

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

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

GetLoginLog GetLoginLog 获取登录日志

func (*PublicUserHTTPClientImpl) GetOAuthMethods

GetOAuthMethods GetOAuthMethods 获取OAuth方法

func (*PublicUserHTTPClientImpl) GetSubscribeLog

GetSubscribeLog GetSubscribeLog 获取订阅日志

func (*PublicUserHTTPClientImpl) GetUserTrafficStats

GetUserTrafficStats GetUserTrafficStats 获取用户流量统计

func (*PublicUserHTTPClientImpl) PreUnsubscribe

PreUnsubscribe PreUnsubscribe 预退订

func (*PublicUserHTTPClientImpl) QueryUserAffiliate

QueryUserAffiliate QueryUserAffiliate 查询用户推荐数量

func (*PublicUserHTTPClientImpl) QueryUserAffiliateList

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

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

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

UnbindDevice UnbindDevice 解绑设备

func (*PublicUserHTTPClientImpl) UnbindOAuth

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

Unsubscribe Unsubscribe 退订

func (*PublicUserHTTPClientImpl) UpdateBindEmail

UpdateBindEmail UpdateBindEmail 更新绑定邮箱

func (*PublicUserHTTPClientImpl) UpdateBindMobile

UpdateBindMobile UpdateBindMobile 更新绑定手机

func (*PublicUserHTTPClientImpl) UpdateUserNotify

UpdateUserNotify UpdateUserNotify 更新通知设置

func (*PublicUserHTTPClientImpl) UpdateUserPassword

UpdateUserPassword UpdateUserPassword 更新密码

func (*PublicUserHTTPClientImpl) UpdateUserRules

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

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

func (x *QueryUserAffiliateCountReply) Reset()

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

AllErrors returns a list of validation violation errors.

func (QueryUserAffiliateCountReplyMultiError) Error

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

Cause function returns cause value.

func (QueryUserAffiliateCountReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserAffiliateCountReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserAffiliateCountReplyValidationError) Field

Field function returns field value.

func (QueryUserAffiliateCountReplyValidationError) Key

Key function returns key value.

func (QueryUserAffiliateCountReplyValidationError) Reason

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 (*QueryUserAffiliateListReply) GetTotal

func (x *QueryUserAffiliateListReply) GetTotal() int32

func (*QueryUserAffiliateListReply) ProtoMessage

func (*QueryUserAffiliateListReply) ProtoMessage()

func (*QueryUserAffiliateListReply) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (QueryUserAffiliateListReplyMultiError) Error

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

Cause function returns cause value.

func (QueryUserAffiliateListReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserAffiliateListReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserAffiliateListReplyValidationError) Field

Field function returns field value.

func (QueryUserAffiliateListReplyValidationError) Key

Key function returns key value.

func (QueryUserAffiliateListReplyValidationError) Reason

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

func (x *QueryUserAffiliateListRequest) Reset()

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

AllErrors returns a list of validation violation errors.

func (QueryUserAffiliateListRequestMultiError) Error

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

Cause function returns cause value.

func (QueryUserAffiliateListRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryUserAffiliateListRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryUserAffiliateListRequestValidationError) Field

Field function returns field value.

func (QueryUserAffiliateListRequestValidationError) Key

Key function returns key value.

func (QueryUserAffiliateListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (QueryUserBalanceLogReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserBalanceLogReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserBalanceLogReplyValidationError) Field

Field function returns field value.

func (QueryUserBalanceLogReplyValidationError) Key

Key function returns key value.

func (QueryUserBalanceLogReplyValidationError) Reason

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 (*QueryUserCommissionLogReply) GetTotal

func (x *QueryUserCommissionLogReply) GetTotal() int32

func (*QueryUserCommissionLogReply) ProtoMessage

func (*QueryUserCommissionLogReply) ProtoMessage()

func (*QueryUserCommissionLogReply) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (QueryUserCommissionLogReplyMultiError) Error

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

Cause function returns cause value.

func (QueryUserCommissionLogReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserCommissionLogReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserCommissionLogReplyValidationError) Field

Field function returns field value.

func (QueryUserCommissionLogReplyValidationError) Key

Key function returns key value.

func (QueryUserCommissionLogReplyValidationError) Reason

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

func (x *QueryUserCommissionLogRequest) Reset()

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

AllErrors returns a list of validation violation errors.

func (QueryUserCommissionLogRequestMultiError) Error

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

Cause function returns cause value.

func (QueryUserCommissionLogRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryUserCommissionLogRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryUserCommissionLogRequestValidationError) Field

Field function returns field value.

func (QueryUserCommissionLogRequestValidationError) Key

Key function returns key value.

func (QueryUserCommissionLogRequestValidationError) Reason

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

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

Cause function returns cause value.

func (QueryUserSubscribeReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserSubscribeReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserSubscribeReplyValidationError) Field

Field function returns field value.

func (QueryUserSubscribeReplyValidationError) Key

Key function returns key value.

func (QueryUserSubscribeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (QueryWithdrawalLogReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryWithdrawalLogReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryWithdrawalLogReplyValidationError) Field

Field function returns field value.

func (QueryWithdrawalLogReplyValidationError) Key

Key function returns key value.

func (QueryWithdrawalLogReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (QueryWithdrawalLogRequestMultiError) Error

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

Cause function returns cause value.

func (QueryWithdrawalLogRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryWithdrawalLogRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryWithdrawalLogRequestValidationError) Field

Field function returns field value.

func (QueryWithdrawalLogRequestValidationError) Key

Key function returns key value.

func (QueryWithdrawalLogRequestValidationError) Reason

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

func (x *ResetUserSubscribeTokenRequest) Reset()

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

AllErrors returns a list of validation violation errors.

func (ResetUserSubscribeTokenRequestMultiError) Error

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

Cause function returns cause value.

func (ResetUserSubscribeTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetUserSubscribeTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetUserSubscribeTokenRequestValidationError) Field

Field function returns field value.

func (ResetUserSubscribeTokenRequestValidationError) Key

Key function returns key value.

func (ResetUserSubscribeTokenRequestValidationError) Reason

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

Deprecated: Use Subscribe.ProtoReflect.Descriptor instead.

func (*Subscribe) GetAllowDeduction

func (x *Subscribe) GetAllowDeduction() bool

func (*Subscribe) GetCreatedAt

func (x *Subscribe) GetCreatedAt() int64

func (*Subscribe) GetDeductionRatio

func (x *Subscribe) GetDeductionRatio() int32

func (*Subscribe) GetDescription

func (x *Subscribe) GetDescription() string

func (*Subscribe) GetDeviceLimit

func (x *Subscribe) GetDeviceLimit() int32

func (*Subscribe) GetDiscount

func (x *Subscribe) GetDiscount() []*SubscribeDiscount

func (*Subscribe) GetId

func (x *Subscribe) GetId() int64

func (*Subscribe) GetInventory

func (x *Subscribe) GetInventory() int32

func (*Subscribe) GetLanguage

func (x *Subscribe) GetLanguage() string

func (*Subscribe) GetName

func (x *Subscribe) GetName() string

func (*Subscribe) GetNodeGroupId

func (x *Subscribe) GetNodeGroupId() int64

func (*Subscribe) GetNodeGroupIds

func (x *Subscribe) GetNodeGroupIds() []int64

func (*Subscribe) GetNodeTags

func (x *Subscribe) GetNodeTags() []string

func (*Subscribe) GetNodes

func (x *Subscribe) GetNodes() []int64

func (*Subscribe) GetQuota

func (x *Subscribe) GetQuota() int32

func (*Subscribe) GetRenewalReset

func (x *Subscribe) GetRenewalReset() bool

func (*Subscribe) GetReplacement

func (x *Subscribe) GetReplacement() int64

func (*Subscribe) GetResetCycle

func (x *Subscribe) GetResetCycle() int32

func (*Subscribe) GetSell

func (x *Subscribe) GetSell() bool

func (*Subscribe) GetShow

func (x *Subscribe) GetShow() bool

func (*Subscribe) GetShowOriginalPrice

func (x *Subscribe) GetShowOriginalPrice() bool

func (*Subscribe) GetSort

func (x *Subscribe) GetSort() int32

func (*Subscribe) GetSpeedLimit

func (x *Subscribe) GetSpeedLimit() int32

func (*Subscribe) GetTraffic

func (x *Subscribe) GetTraffic() int64

func (*Subscribe) GetTrafficLimit

func (x *Subscribe) GetTrafficLimit() []*TrafficLimit

func (*Subscribe) GetUnitPrice

func (x *Subscribe) GetUnitPrice() int64

func (*Subscribe) GetUnitTime

func (x *Subscribe) GetUnitTime() string

func (*Subscribe) GetUpdatedAt

func (x *Subscribe) GetUpdatedAt() int64

func (*Subscribe) ProtoMessage

func (*Subscribe) ProtoMessage()

func (*Subscribe) ProtoReflect

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

func (*Subscribe) Reset

func (x *Subscribe) Reset()

func (*Subscribe) String

func (x *Subscribe) String() string

func (*Subscribe) Validate

func (m *Subscribe) Validate() error

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

func (m *Subscribe) ValidateAll() error

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

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

Cause function returns cause value.

func (SubscribeDiscountValidationError) Error

Error satisfies the builtin error interface

func (SubscribeDiscountValidationError) ErrorName

ErrorName returns error name.

func (SubscribeDiscountValidationError) Field

Field function returns field value.

func (SubscribeDiscountValidationError) Key

Key function returns key value.

func (SubscribeDiscountValidationError) Reason

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

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

Cause function returns cause value.

func (TrafficLimitValidationError) Error

Error satisfies the builtin error interface

func (TrafficLimitValidationError) ErrorName

func (e TrafficLimitValidationError) ErrorName() string

ErrorName returns error name.

func (TrafficLimitValidationError) Field

Field function returns field value.

func (TrafficLimitValidationError) Key

Key function returns key value.

func (TrafficLimitValidationError) Reason

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

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

Cause function returns cause value.

func (UnbindDeviceRequestValidationError) Error

Error satisfies the builtin error interface

func (UnbindDeviceRequestValidationError) ErrorName

ErrorName returns error name.

func (UnbindDeviceRequestValidationError) Field

Field function returns field value.

func (UnbindDeviceRequestValidationError) Key

Key function returns key value.

func (UnbindDeviceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UnbindOAuthRequestValidationError) Error

Error satisfies the builtin error interface

func (UnbindOAuthRequestValidationError) ErrorName

ErrorName returns error name.

func (UnbindOAuthRequestValidationError) Field

Field function returns field value.

func (UnbindOAuthRequestValidationError) Key

Key function returns key value.

func (UnbindOAuthRequestValidationError) Reason

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

func (UnimplementedPublicUserServer) BindTelegram

func (UnimplementedPublicUserServer) CommissionWithdraw

func (UnimplementedPublicUserServer) DeleteCurrentUserAccount

func (UnimplementedPublicUserServer) DeleteCurrentUserAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)

func (UnimplementedPublicUserServer) DeviceWSConnect

func (UnimplementedPublicUserServer) GetDeviceList

func (UnimplementedPublicUserServer) GetDeviceOnlineStatistics

func (UnimplementedPublicUserServer) GetLoginLog

func (UnimplementedPublicUserServer) GetOAuthMethods

func (UnimplementedPublicUserServer) GetSubscribeLog

func (UnimplementedPublicUserServer) GetUserTrafficStats

func (UnimplementedPublicUserServer) PreUnsubscribe

func (UnimplementedPublicUserServer) QueryUserAffiliate

func (UnimplementedPublicUserServer) QueryUserBalanceLog

func (UnimplementedPublicUserServer) QueryUserInfo

func (UnimplementedPublicUserServer) QueryUserSubscribe

func (UnimplementedPublicUserServer) QueryWithdrawalLog

func (UnimplementedPublicUserServer) ResetUserSubscribeToken

func (UnimplementedPublicUserServer) UnbindDevice

func (UnimplementedPublicUserServer) UnbindOAuth

func (UnimplementedPublicUserServer) UnbindTelegram

func (UnimplementedPublicUserServer) Unsubscribe

func (UnimplementedPublicUserServer) UpdateBindEmail

func (UnimplementedPublicUserServer) UpdateBindMobile

func (UnimplementedPublicUserServer) UpdateUserNotify

func (UnimplementedPublicUserServer) UpdateUserPassword

func (UnimplementedPublicUserServer) UpdateUserRules

func (UnimplementedPublicUserServer) UpdateUserSubscribeNote

func (UnimplementedPublicUserServer) VerifyEmail

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

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

Cause function returns cause value.

func (UnsubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (UnsubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (UnsubscribeRequestValidationError) Field

Field function returns field value.

func (UnsubscribeRequestValidationError) Key

Key function returns key value.

func (UnsubscribeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateBindEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateBindEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateBindEmailRequestValidationError) Field

Field function returns field value.

func (UpdateBindEmailRequestValidationError) Key

Key function returns key value.

func (UpdateBindEmailRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateBindMobileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateBindMobileRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateBindMobileRequestValidationError) Field

Field function returns field value.

func (UpdateBindMobileRequestValidationError) Key

Key function returns key value.

func (UpdateBindMobileRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserNotifyRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserNotifyRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserNotifyRequestValidationError) Field

Field function returns field value.

func (UpdateUserNotifyRequestValidationError) Key

Key function returns key value.

func (UpdateUserNotifyRequestValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (UpdateUserPasswordRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateUserPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserPasswordRequestValidationError) Field

Field function returns field value.

func (UpdateUserPasswordRequestValidationError) Key

Key function returns key value.

func (UpdateUserPasswordRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserRulesRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRulesRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRulesRequestValidationError) Field

Field function returns field value.

func (UpdateUserRulesRequestValidationError) Key

Key function returns key value.

func (UpdateUserRulesRequestValidationError) Reason

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 (*UpdateUserSubscribeNoteRequest) GetUserSubscribeId

func (x *UpdateUserSubscribeNoteRequest) GetUserSubscribeId() int64

func (*UpdateUserSubscribeNoteRequest) ProtoMessage

func (*UpdateUserSubscribeNoteRequest) ProtoMessage()

func (*UpdateUserSubscribeNoteRequest) ProtoReflect

func (*UpdateUserSubscribeNoteRequest) Reset

func (x *UpdateUserSubscribeNoteRequest) Reset()

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

AllErrors returns a list of validation violation errors.

func (UpdateUserSubscribeNoteRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateUserSubscribeNoteRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserSubscribeNoteRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserSubscribeNoteRequestValidationError) Field

Field function returns field value.

func (UpdateUserSubscribeNoteRequestValidationError) Key

Key function returns key value.

func (UpdateUserSubscribeNoteRequestValidationError) Reason

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAuthMethods

func (x *User) GetAuthMethods() []*UserAuthMethod

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetBalance

func (x *User) GetBalance() int64

func (*User) GetCommission

func (x *User) GetCommission() int64

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() int64

func (*User) GetEnable

func (x *User) GetEnable() bool

func (*User) GetEnableBalanceNotify

func (x *User) GetEnableBalanceNotify() bool

func (*User) GetEnableLoginNotify

func (x *User) GetEnableLoginNotify() bool

func (*User) GetEnableSubscribeNotify

func (x *User) GetEnableSubscribeNotify() bool

func (*User) GetEnableTradeNotify

func (x *User) GetEnableTradeNotify() bool

func (*User) GetGiftAmount

func (x *User) GetGiftAmount() int64

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetIsAdmin

func (x *User) GetIsAdmin() bool

func (*User) GetIsDel

func (x *User) GetIsDel() bool

func (*User) GetOnlyFirstPurchase

func (x *User) GetOnlyFirstPurchase() bool

func (*User) GetReferCode

func (x *User) GetReferCode() string

func (*User) GetRefererId

func (x *User) GetRefererId() int64

func (*User) GetReferralPercentage

func (x *User) GetReferralPercentage() int32

func (*User) GetRules

func (x *User) GetRules() []string

func (*User) GetTelegram

func (x *User) GetTelegram() int64

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

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

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type 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

Cause function returns cause value.

func (UserAffiliateValidationError) Error

Error satisfies the builtin error interface

func (UserAffiliateValidationError) ErrorName

func (e UserAffiliateValidationError) ErrorName() string

ErrorName returns error name.

func (UserAffiliateValidationError) Field

Field function returns field value.

func (UserAffiliateValidationError) Key

Key function returns key value.

func (UserAffiliateValidationError) Reason

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

Cause function returns cause value.

func (UserAuthMethodValidationError) Error

Error satisfies the builtin error interface

func (UserAuthMethodValidationError) ErrorName

func (e UserAuthMethodValidationError) ErrorName() string

ErrorName returns error name.

func (UserAuthMethodValidationError) Field

Field function returns field value.

func (UserAuthMethodValidationError) Key

Key function returns key value.

func (UserAuthMethodValidationError) Reason

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

Error satisfies the builtin error interface

func (UserDeviceValidationError) ErrorName

func (e UserDeviceValidationError) ErrorName() string

ErrorName returns error name.

func (UserDeviceValidationError) Field

Field function returns field value.

func (UserDeviceValidationError) Key

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

Cause function returns cause value.

func (UserLoginLogValidationError) Error

Error satisfies the builtin error interface

func (UserLoginLogValidationError) ErrorName

func (e UserLoginLogValidationError) ErrorName() string

ErrorName returns error name.

func (UserLoginLogValidationError) Field

Field function returns field value.

func (UserLoginLogValidationError) Key

Key function returns key value.

func (UserLoginLogValidationError) Reason

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

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

Cause function returns cause value.

func (UserSubscribeLogValidationError) Error

Error satisfies the builtin error interface

func (UserSubscribeLogValidationError) ErrorName

ErrorName returns error name.

func (UserSubscribeLogValidationError) Field

Field function returns field value.

func (UserSubscribeLogValidationError) Key

Key function returns key value.

func (UserSubscribeLogValidationError) Reason

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

Cause function returns cause value.

func (UserSubscribeValidationError) Error

Error satisfies the builtin error interface

func (UserSubscribeValidationError) ErrorName

func (e UserSubscribeValidationError) ErrorName() string

ErrorName returns error name.

func (UserSubscribeValidationError) Field

Field function returns field value.

func (UserSubscribeValidationError) Key

Key function returns key value.

func (UserSubscribeValidationError) Reason

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

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

Cause function returns cause value.

func (VerifyEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyEmailRequestValidationError) Field

Field function returns field value.

func (VerifyEmailRequestValidationError) Key

Key function returns key value.

func (VerifyEmailRequestValidationError) Reason

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

Error satisfies the builtin error interface

func (WeeklyStatValidationError) ErrorName

func (e WeeklyStatValidationError) ErrorName() string

ErrorName returns error name.

func (WeeklyStatValidationError) Field

Field function returns field value.

func (WeeklyStatValidationError) Key

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

Cause function returns cause value.

func (WithdrawalLogValidationError) Error

Error satisfies the builtin error interface

func (WithdrawalLogValidationError) ErrorName

func (e WithdrawalLogValidationError) ErrorName() string

ErrorName returns error name.

func (WithdrawalLogValidationError) Field

Field function returns field value.

func (WithdrawalLogValidationError) Key

Key function returns key value.

func (WithdrawalLogValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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