v1

package
v1.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AdminConsole_QueryRevenueStatistics_FullMethodName = "/api.admin.v1.AdminConsole/QueryRevenueStatistics"
	AdminConsole_QueryUserStatistics_FullMethodName    = "/api.admin.v1.AdminConsole/QueryUserStatistics"
	AdminConsole_QueryTicketWaitReply_FullMethodName   = "/api.admin.v1.AdminConsole/QueryTicketWaitReply"
	AdminConsole_QueryServerTotalData_FullMethodName   = "/api.admin.v1.AdminConsole/QueryServerTotalData"
)
View Source
const OperationAdminConsoleQueryRevenueStatistics = "/api.admin.v1.AdminConsole/QueryRevenueStatistics"
View Source
const OperationAdminConsoleQueryServerTotalData = "/api.admin.v1.AdminConsole/QueryServerTotalData"
View Source
const OperationAdminConsoleQueryTicketWaitReply = "/api.admin.v1.AdminConsole/QueryTicketWaitReply"
View Source
const OperationAdminConsoleQueryUserStatistics = "/api.admin.v1.AdminConsole/QueryUserStatistics"

Variables

View Source
var AdminConsole_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.v1.AdminConsole",
	HandlerType: (*AdminConsoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryRevenueStatistics",
			Handler:    _AdminConsole_QueryRevenueStatistics_Handler,
		},
		{
			MethodName: "QueryUserStatistics",
			Handler:    _AdminConsole_QueryUserStatistics_Handler,
		},
		{
			MethodName: "QueryTicketWaitReply",
			Handler:    _AdminConsole_QueryTicketWaitReply_Handler,
		},
		{
			MethodName: "QueryServerTotalData",
			Handler:    _AdminConsole_QueryServerTotalData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin/console/v1/console.proto",
}

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

View Source
var File_admin_console_v1_console_proto protoreflect.FileDescriptor

Functions

func RegisterAdminConsoleHTTPServer

func RegisterAdminConsoleHTTPServer(s *http.Server, srv AdminConsoleHTTPServer)

func RegisterAdminConsoleServer

func RegisterAdminConsoleServer(s grpc.ServiceRegistrar, srv AdminConsoleServer)

Types

type AdminConsoleClient

type AdminConsoleClient interface {
	// Query revenue statistics
	QueryRevenueStatistics(ctx context.Context, in *QueryRevenueStatisticsRequest, opts ...grpc.CallOption) (*QueryRevenueStatisticsReply, error)
	// Query user statistics
	QueryUserStatistics(ctx context.Context, in *QueryUserStatisticsRequest, opts ...grpc.CallOption) (*QueryUserStatisticsReply, error)
	// Query ticket wait reply
	QueryTicketWaitReply(ctx context.Context, in *QueryTicketWaitReplyRequest, opts ...grpc.CallOption) (*QueryTicketWaitReplyReply, error)
	// Query server total data
	QueryServerTotalData(ctx context.Context, in *QueryServerTotalDataRequest, opts ...grpc.CallOption) (*QueryServerTotalDataReply, error)
}

AdminConsoleClient is the client API for AdminConsole 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.

type AdminConsoleHTTPClient

type AdminConsoleHTTPClient interface {
	// QueryRevenueStatistics Query revenue statistics
	QueryRevenueStatistics(ctx context.Context, req *QueryRevenueStatisticsRequest, opts ...http.CallOption) (rsp *QueryRevenueStatisticsReply, err error)
	// QueryServerTotalData Query server total data
	QueryServerTotalData(ctx context.Context, req *QueryServerTotalDataRequest, opts ...http.CallOption) (rsp *QueryServerTotalDataReply, err error)
	// QueryTicketWaitReply Query ticket wait reply
	QueryTicketWaitReply(ctx context.Context, req *QueryTicketWaitReplyRequest, opts ...http.CallOption) (rsp *QueryTicketWaitReplyReply, err error)
	// QueryUserStatistics Query user statistics
	QueryUserStatistics(ctx context.Context, req *QueryUserStatisticsRequest, opts ...http.CallOption) (rsp *QueryUserStatisticsReply, err error)
}

func NewAdminConsoleHTTPClient

func NewAdminConsoleHTTPClient(client *http.Client) AdminConsoleHTTPClient

type AdminConsoleHTTPClientImpl

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

func (*AdminConsoleHTTPClientImpl) QueryRevenueStatistics

QueryRevenueStatistics Query revenue statistics

func (*AdminConsoleHTTPClientImpl) QueryServerTotalData

QueryServerTotalData Query server total data

func (*AdminConsoleHTTPClientImpl) QueryTicketWaitReply

QueryTicketWaitReply Query ticket wait reply

func (*AdminConsoleHTTPClientImpl) QueryUserStatistics

QueryUserStatistics Query user statistics

type AdminConsoleHTTPServer

type AdminConsoleHTTPServer interface {
	// QueryRevenueStatistics Query revenue statistics
	QueryRevenueStatistics(context.Context, *QueryRevenueStatisticsRequest) (*QueryRevenueStatisticsReply, error)
	// QueryServerTotalData Query server total data
	QueryServerTotalData(context.Context, *QueryServerTotalDataRequest) (*QueryServerTotalDataReply, error)
	// QueryTicketWaitReply Query ticket wait reply
	QueryTicketWaitReply(context.Context, *QueryTicketWaitReplyRequest) (*QueryTicketWaitReplyReply, error)
	// QueryUserStatistics Query user statistics
	QueryUserStatistics(context.Context, *QueryUserStatisticsRequest) (*QueryUserStatisticsReply, error)
}

type AdminConsoleServer

type AdminConsoleServer interface {
	// Query revenue statistics
	QueryRevenueStatistics(context.Context, *QueryRevenueStatisticsRequest) (*QueryRevenueStatisticsReply, error)
	// Query user statistics
	QueryUserStatistics(context.Context, *QueryUserStatisticsRequest) (*QueryUserStatisticsReply, error)
	// Query ticket wait reply
	QueryTicketWaitReply(context.Context, *QueryTicketWaitReplyRequest) (*QueryTicketWaitReplyReply, error)
	// Query server total data
	QueryServerTotalData(context.Context, *QueryServerTotalDataRequest) (*QueryServerTotalDataReply, error)
	// contains filtered or unexported methods
}

AdminConsoleServer is the server API for AdminConsole service. All implementations must embed UnimplementedAdminConsoleServer for forward compatibility.

type OrdersStatistics

type OrdersStatistics struct {
	AmountTotal        int64                       `protobuf:"varint,1,opt,name=amount_total,json=amountTotal,proto3" json:"amount_total,omitempty"`
	NewOrderAmount     int64                       `protobuf:"varint,2,opt,name=new_order_amount,json=newOrderAmount,proto3" json:"new_order_amount,omitempty"`
	RenewalOrderAmount int64                       `protobuf:"varint,3,opt,name=renewal_order_amount,json=renewalOrderAmount,proto3" json:"renewal_order_amount,omitempty"`
	List               []*OrdersStatisticsWithDate `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersStatistics) Descriptor deprecated

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

Deprecated: Use OrdersStatistics.ProtoReflect.Descriptor instead.

func (*OrdersStatistics) GetAmountTotal

func (x *OrdersStatistics) GetAmountTotal() int64

func (*OrdersStatistics) GetList

func (*OrdersStatistics) GetNewOrderAmount

func (x *OrdersStatistics) GetNewOrderAmount() int64

func (*OrdersStatistics) GetRenewalOrderAmount

func (x *OrdersStatistics) GetRenewalOrderAmount() int64

func (*OrdersStatistics) ProtoMessage

func (*OrdersStatistics) ProtoMessage()

func (*OrdersStatistics) ProtoReflect

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

func (*OrdersStatistics) Reset

func (x *OrdersStatistics) Reset()

func (*OrdersStatistics) String

func (x *OrdersStatistics) String() string

func (*OrdersStatistics) Validate

func (m *OrdersStatistics) Validate() error

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

func (m *OrdersStatistics) ValidateAll() error

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

type OrdersStatisticsMultiError

type OrdersStatisticsMultiError []error

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

func (OrdersStatisticsMultiError) AllErrors

func (m OrdersStatisticsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrdersStatisticsMultiError) Error

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

type OrdersStatisticsValidationError

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

OrdersStatisticsValidationError is the validation error returned by OrdersStatistics.Validate if the designated constraints aren't met.

func (OrdersStatisticsValidationError) Cause

Cause function returns cause value.

func (OrdersStatisticsValidationError) Error

Error satisfies the builtin error interface

func (OrdersStatisticsValidationError) ErrorName

ErrorName returns error name.

func (OrdersStatisticsValidationError) Field

Field function returns field value.

func (OrdersStatisticsValidationError) Key

Key function returns key value.

func (OrdersStatisticsValidationError) Reason

Reason function returns reason value.

type OrdersStatisticsWithDate

type OrdersStatisticsWithDate struct {
	Date               string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	AmountTotal        int64  `protobuf:"varint,2,opt,name=amount_total,json=amountTotal,proto3" json:"amount_total,omitempty"`
	NewOrderAmount     int64  `protobuf:"varint,3,opt,name=new_order_amount,json=newOrderAmount,proto3" json:"new_order_amount,omitempty"`
	RenewalOrderAmount int64  `protobuf:"varint,4,opt,name=renewal_order_amount,json=renewalOrderAmount,proto3" json:"renewal_order_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdersStatisticsWithDate) Descriptor deprecated

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

Deprecated: Use OrdersStatisticsWithDate.ProtoReflect.Descriptor instead.

func (*OrdersStatisticsWithDate) GetAmountTotal

func (x *OrdersStatisticsWithDate) GetAmountTotal() int64

func (*OrdersStatisticsWithDate) GetDate

func (x *OrdersStatisticsWithDate) GetDate() string

func (*OrdersStatisticsWithDate) GetNewOrderAmount

func (x *OrdersStatisticsWithDate) GetNewOrderAmount() int64

func (*OrdersStatisticsWithDate) GetRenewalOrderAmount

func (x *OrdersStatisticsWithDate) GetRenewalOrderAmount() int64

func (*OrdersStatisticsWithDate) ProtoMessage

func (*OrdersStatisticsWithDate) ProtoMessage()

func (*OrdersStatisticsWithDate) ProtoReflect

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

func (*OrdersStatisticsWithDate) Reset

func (x *OrdersStatisticsWithDate) Reset()

func (*OrdersStatisticsWithDate) String

func (x *OrdersStatisticsWithDate) String() string

func (*OrdersStatisticsWithDate) Validate

func (m *OrdersStatisticsWithDate) Validate() error

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

func (m *OrdersStatisticsWithDate) ValidateAll() error

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

type OrdersStatisticsWithDateMultiError

type OrdersStatisticsWithDateMultiError []error

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

func (OrdersStatisticsWithDateMultiError) AllErrors

func (m OrdersStatisticsWithDateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrdersStatisticsWithDateMultiError) Error

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

type OrdersStatisticsWithDateValidationError

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

OrdersStatisticsWithDateValidationError is the validation error returned by OrdersStatisticsWithDate.Validate if the designated constraints aren't met.

func (OrdersStatisticsWithDateValidationError) Cause

Cause function returns cause value.

func (OrdersStatisticsWithDateValidationError) Error

Error satisfies the builtin error interface

func (OrdersStatisticsWithDateValidationError) ErrorName

ErrorName returns error name.

func (OrdersStatisticsWithDateValidationError) Field

Field function returns field value.

func (OrdersStatisticsWithDateValidationError) Key

Key function returns key value.

func (OrdersStatisticsWithDateValidationError) Reason

Reason function returns reason value.

type QueryRevenueStatisticsData

type QueryRevenueStatisticsData struct {
	Today   *OrdersStatistics `protobuf:"bytes,1,opt,name=today,proto3" json:"today,omitempty"`
	Monthly *OrdersStatistics `protobuf:"bytes,2,opt,name=monthly,proto3" json:"monthly,omitempty"`
	All     *OrdersStatistics `protobuf:"bytes,3,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRevenueStatisticsData) Descriptor deprecated

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

Deprecated: Use QueryRevenueStatisticsData.ProtoReflect.Descriptor instead.

func (*QueryRevenueStatisticsData) GetAll

func (*QueryRevenueStatisticsData) GetMonthly

func (*QueryRevenueStatisticsData) GetToday

func (*QueryRevenueStatisticsData) ProtoMessage

func (*QueryRevenueStatisticsData) ProtoMessage()

func (*QueryRevenueStatisticsData) ProtoReflect

func (*QueryRevenueStatisticsData) Reset

func (x *QueryRevenueStatisticsData) Reset()

func (*QueryRevenueStatisticsData) String

func (x *QueryRevenueStatisticsData) String() string

func (*QueryRevenueStatisticsData) Validate

func (m *QueryRevenueStatisticsData) Validate() error

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

func (m *QueryRevenueStatisticsData) ValidateAll() error

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

type QueryRevenueStatisticsDataMultiError

type QueryRevenueStatisticsDataMultiError []error

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

func (QueryRevenueStatisticsDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryRevenueStatisticsDataMultiError) Error

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

type QueryRevenueStatisticsDataValidationError

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

QueryRevenueStatisticsDataValidationError is the validation error returned by QueryRevenueStatisticsData.Validate if the designated constraints aren't met.

func (QueryRevenueStatisticsDataValidationError) Cause

Cause function returns cause value.

func (QueryRevenueStatisticsDataValidationError) Error

Error satisfies the builtin error interface

func (QueryRevenueStatisticsDataValidationError) ErrorName

ErrorName returns error name.

func (QueryRevenueStatisticsDataValidationError) Field

Field function returns field value.

func (QueryRevenueStatisticsDataValidationError) Key

Key function returns key value.

func (QueryRevenueStatisticsDataValidationError) Reason

Reason function returns reason value.

type QueryRevenueStatisticsReply

type QueryRevenueStatisticsReply struct {
	Code    int32                       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryRevenueStatisticsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

func (*QueryRevenueStatisticsReply) Descriptor deprecated

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

Deprecated: Use QueryRevenueStatisticsReply.ProtoReflect.Descriptor instead.

func (*QueryRevenueStatisticsReply) GetCode

func (x *QueryRevenueStatisticsReply) GetCode() int32

func (*QueryRevenueStatisticsReply) GetData

func (*QueryRevenueStatisticsReply) GetMessage

func (x *QueryRevenueStatisticsReply) GetMessage() string

func (*QueryRevenueStatisticsReply) ProtoMessage

func (*QueryRevenueStatisticsReply) ProtoMessage()

func (*QueryRevenueStatisticsReply) ProtoReflect

func (*QueryRevenueStatisticsReply) Reset

func (x *QueryRevenueStatisticsReply) Reset()

func (*QueryRevenueStatisticsReply) String

func (x *QueryRevenueStatisticsReply) String() string

func (*QueryRevenueStatisticsReply) Validate

func (m *QueryRevenueStatisticsReply) Validate() error

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

func (m *QueryRevenueStatisticsReply) ValidateAll() error

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

type QueryRevenueStatisticsReplyMultiError

type QueryRevenueStatisticsReplyMultiError []error

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

func (QueryRevenueStatisticsReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryRevenueStatisticsReplyMultiError) Error

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

type QueryRevenueStatisticsReplyValidationError

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

QueryRevenueStatisticsReplyValidationError is the validation error returned by QueryRevenueStatisticsReply.Validate if the designated constraints aren't met.

func (QueryRevenueStatisticsReplyValidationError) Cause

Cause function returns cause value.

func (QueryRevenueStatisticsReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryRevenueStatisticsReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryRevenueStatisticsReplyValidationError) Field

Field function returns field value.

func (QueryRevenueStatisticsReplyValidationError) Key

Key function returns key value.

func (QueryRevenueStatisticsReplyValidationError) Reason

Reason function returns reason value.

type QueryRevenueStatisticsRequest

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

func (*QueryRevenueStatisticsRequest) Descriptor deprecated

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

Deprecated: Use QueryRevenueStatisticsRequest.ProtoReflect.Descriptor instead.

func (*QueryRevenueStatisticsRequest) ProtoMessage

func (*QueryRevenueStatisticsRequest) ProtoMessage()

func (*QueryRevenueStatisticsRequest) ProtoReflect

func (*QueryRevenueStatisticsRequest) Reset

func (x *QueryRevenueStatisticsRequest) Reset()

func (*QueryRevenueStatisticsRequest) String

func (*QueryRevenueStatisticsRequest) Validate

func (m *QueryRevenueStatisticsRequest) Validate() error

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

func (m *QueryRevenueStatisticsRequest) ValidateAll() error

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

type QueryRevenueStatisticsRequestMultiError

type QueryRevenueStatisticsRequestMultiError []error

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

func (QueryRevenueStatisticsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryRevenueStatisticsRequestMultiError) Error

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

type QueryRevenueStatisticsRequestValidationError

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

QueryRevenueStatisticsRequestValidationError is the validation error returned by QueryRevenueStatisticsRequest.Validate if the designated constraints aren't met.

func (QueryRevenueStatisticsRequestValidationError) Cause

Cause function returns cause value.

func (QueryRevenueStatisticsRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRevenueStatisticsRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryRevenueStatisticsRequestValidationError) Field

Field function returns field value.

func (QueryRevenueStatisticsRequestValidationError) Key

Key function returns key value.

func (QueryRevenueStatisticsRequestValidationError) Reason

Reason function returns reason value.

type QueryServerTotalDataData

type QueryServerTotalDataData struct {
	OnlineUsers                   int64                `protobuf:"varint,1,opt,name=online_users,json=onlineUsers,proto3" json:"online_users,omitempty"`
	OnlineServers                 int64                `protobuf:"varint,2,opt,name=online_servers,json=onlineServers,proto3" json:"online_servers,omitempty"`
	OfflineServers                int64                `protobuf:"varint,3,opt,name=offline_servers,json=offlineServers,proto3" json:"offline_servers,omitempty"`
	TodayUpload                   int64                `protobuf:"varint,4,opt,name=today_upload,json=todayUpload,proto3" json:"today_upload,omitempty"`
	TodayDownload                 int64                `protobuf:"varint,5,opt,name=today_download,json=todayDownload,proto3" json:"today_download,omitempty"`
	MonthlyUpload                 int64                `protobuf:"varint,6,opt,name=monthly_upload,json=monthlyUpload,proto3" json:"monthly_upload,omitempty"`
	MonthlyDownload               int64                `protobuf:"varint,7,opt,name=monthly_download,json=monthlyDownload,proto3" json:"monthly_download,omitempty"`
	UpdatedAt                     int64                `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	ServerTrafficRankingToday     []*ServerTrafficData `` /* 140-byte string literal not displayed */
	ServerTrafficRankingYesterday []*ServerTrafficData `` /* 153-byte string literal not displayed */
	UserTrafficRankingToday       []*UserTrafficData   `` /* 135-byte string literal not displayed */
	UserTrafficRankingYesterday   []*UserTrafficData   `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryServerTotalDataData) Descriptor deprecated

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

Deprecated: Use QueryServerTotalDataData.ProtoReflect.Descriptor instead.

func (*QueryServerTotalDataData) GetMonthlyDownload

func (x *QueryServerTotalDataData) GetMonthlyDownload() int64

func (*QueryServerTotalDataData) GetMonthlyUpload

func (x *QueryServerTotalDataData) GetMonthlyUpload() int64

func (*QueryServerTotalDataData) GetOfflineServers

func (x *QueryServerTotalDataData) GetOfflineServers() int64

func (*QueryServerTotalDataData) GetOnlineServers

func (x *QueryServerTotalDataData) GetOnlineServers() int64

func (*QueryServerTotalDataData) GetOnlineUsers

func (x *QueryServerTotalDataData) GetOnlineUsers() int64

func (*QueryServerTotalDataData) GetServerTrafficRankingToday

func (x *QueryServerTotalDataData) GetServerTrafficRankingToday() []*ServerTrafficData

func (*QueryServerTotalDataData) GetServerTrafficRankingYesterday

func (x *QueryServerTotalDataData) GetServerTrafficRankingYesterday() []*ServerTrafficData

func (*QueryServerTotalDataData) GetTodayDownload

func (x *QueryServerTotalDataData) GetTodayDownload() int64

func (*QueryServerTotalDataData) GetTodayUpload

func (x *QueryServerTotalDataData) GetTodayUpload() int64

func (*QueryServerTotalDataData) GetUpdatedAt

func (x *QueryServerTotalDataData) GetUpdatedAt() int64

func (*QueryServerTotalDataData) GetUserTrafficRankingToday

func (x *QueryServerTotalDataData) GetUserTrafficRankingToday() []*UserTrafficData

func (*QueryServerTotalDataData) GetUserTrafficRankingYesterday

func (x *QueryServerTotalDataData) GetUserTrafficRankingYesterday() []*UserTrafficData

func (*QueryServerTotalDataData) ProtoMessage

func (*QueryServerTotalDataData) ProtoMessage()

func (*QueryServerTotalDataData) ProtoReflect

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

func (*QueryServerTotalDataData) Reset

func (x *QueryServerTotalDataData) Reset()

func (*QueryServerTotalDataData) String

func (x *QueryServerTotalDataData) String() string

func (*QueryServerTotalDataData) Validate

func (m *QueryServerTotalDataData) Validate() error

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

func (m *QueryServerTotalDataData) ValidateAll() error

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

type QueryServerTotalDataDataMultiError

type QueryServerTotalDataDataMultiError []error

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

func (QueryServerTotalDataDataMultiError) AllErrors

func (m QueryServerTotalDataDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryServerTotalDataDataMultiError) Error

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

type QueryServerTotalDataDataValidationError

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

QueryServerTotalDataDataValidationError is the validation error returned by QueryServerTotalDataData.Validate if the designated constraints aren't met.

func (QueryServerTotalDataDataValidationError) Cause

Cause function returns cause value.

func (QueryServerTotalDataDataValidationError) Error

Error satisfies the builtin error interface

func (QueryServerTotalDataDataValidationError) ErrorName

ErrorName returns error name.

func (QueryServerTotalDataDataValidationError) Field

Field function returns field value.

func (QueryServerTotalDataDataValidationError) Key

Key function returns key value.

func (QueryServerTotalDataDataValidationError) Reason

Reason function returns reason value.

type QueryServerTotalDataReply

type QueryServerTotalDataReply struct {
	Code    int32                     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryServerTotalDataData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

func (*QueryServerTotalDataReply) Descriptor deprecated

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

Deprecated: Use QueryServerTotalDataReply.ProtoReflect.Descriptor instead.

func (*QueryServerTotalDataReply) GetCode

func (x *QueryServerTotalDataReply) GetCode() int32

func (*QueryServerTotalDataReply) GetData

func (*QueryServerTotalDataReply) GetMessage

func (x *QueryServerTotalDataReply) GetMessage() string

func (*QueryServerTotalDataReply) ProtoMessage

func (*QueryServerTotalDataReply) ProtoMessage()

func (*QueryServerTotalDataReply) ProtoReflect

func (*QueryServerTotalDataReply) Reset

func (x *QueryServerTotalDataReply) Reset()

func (*QueryServerTotalDataReply) String

func (x *QueryServerTotalDataReply) String() string

func (*QueryServerTotalDataReply) Validate

func (m *QueryServerTotalDataReply) Validate() error

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

func (m *QueryServerTotalDataReply) ValidateAll() error

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

type QueryServerTotalDataReplyMultiError

type QueryServerTotalDataReplyMultiError []error

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

func (QueryServerTotalDataReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryServerTotalDataReplyMultiError) Error

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

type QueryServerTotalDataReplyValidationError

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

QueryServerTotalDataReplyValidationError is the validation error returned by QueryServerTotalDataReply.Validate if the designated constraints aren't met.

func (QueryServerTotalDataReplyValidationError) Cause

Cause function returns cause value.

func (QueryServerTotalDataReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryServerTotalDataReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryServerTotalDataReplyValidationError) Field

Field function returns field value.

func (QueryServerTotalDataReplyValidationError) Key

Key function returns key value.

func (QueryServerTotalDataReplyValidationError) Reason

Reason function returns reason value.

type QueryServerTotalDataRequest

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

func (*QueryServerTotalDataRequest) Descriptor deprecated

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

Deprecated: Use QueryServerTotalDataRequest.ProtoReflect.Descriptor instead.

func (*QueryServerTotalDataRequest) ProtoMessage

func (*QueryServerTotalDataRequest) ProtoMessage()

func (*QueryServerTotalDataRequest) ProtoReflect

func (*QueryServerTotalDataRequest) Reset

func (x *QueryServerTotalDataRequest) Reset()

func (*QueryServerTotalDataRequest) String

func (x *QueryServerTotalDataRequest) String() string

func (*QueryServerTotalDataRequest) Validate

func (m *QueryServerTotalDataRequest) Validate() error

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

func (m *QueryServerTotalDataRequest) ValidateAll() error

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

type QueryServerTotalDataRequestMultiError

type QueryServerTotalDataRequestMultiError []error

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

func (QueryServerTotalDataRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryServerTotalDataRequestMultiError) Error

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

type QueryServerTotalDataRequestValidationError

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

QueryServerTotalDataRequestValidationError is the validation error returned by QueryServerTotalDataRequest.Validate if the designated constraints aren't met.

func (QueryServerTotalDataRequestValidationError) Cause

Cause function returns cause value.

func (QueryServerTotalDataRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryServerTotalDataRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryServerTotalDataRequestValidationError) Field

Field function returns field value.

func (QueryServerTotalDataRequestValidationError) Key

Key function returns key value.

func (QueryServerTotalDataRequestValidationError) Reason

Reason function returns reason value.

type QueryTicketWaitReplyData

type QueryTicketWaitReplyData struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryTicketWaitReplyData) Descriptor deprecated

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

Deprecated: Use QueryTicketWaitReplyData.ProtoReflect.Descriptor instead.

func (*QueryTicketWaitReplyData) GetCount

func (x *QueryTicketWaitReplyData) GetCount() int64

func (*QueryTicketWaitReplyData) ProtoMessage

func (*QueryTicketWaitReplyData) ProtoMessage()

func (*QueryTicketWaitReplyData) ProtoReflect

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

func (*QueryTicketWaitReplyData) Reset

func (x *QueryTicketWaitReplyData) Reset()

func (*QueryTicketWaitReplyData) String

func (x *QueryTicketWaitReplyData) String() string

func (*QueryTicketWaitReplyData) Validate

func (m *QueryTicketWaitReplyData) Validate() error

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

func (m *QueryTicketWaitReplyData) ValidateAll() error

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

type QueryTicketWaitReplyDataMultiError

type QueryTicketWaitReplyDataMultiError []error

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

func (QueryTicketWaitReplyDataMultiError) AllErrors

func (m QueryTicketWaitReplyDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryTicketWaitReplyDataMultiError) Error

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

type QueryTicketWaitReplyDataValidationError

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

QueryTicketWaitReplyDataValidationError is the validation error returned by QueryTicketWaitReplyData.Validate if the designated constraints aren't met.

func (QueryTicketWaitReplyDataValidationError) Cause

Cause function returns cause value.

func (QueryTicketWaitReplyDataValidationError) Error

Error satisfies the builtin error interface

func (QueryTicketWaitReplyDataValidationError) ErrorName

ErrorName returns error name.

func (QueryTicketWaitReplyDataValidationError) Field

Field function returns field value.

func (QueryTicketWaitReplyDataValidationError) Key

Key function returns key value.

func (QueryTicketWaitReplyDataValidationError) Reason

Reason function returns reason value.

type QueryTicketWaitReplyReply

type QueryTicketWaitReplyReply struct {
	Code    int32                     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryTicketWaitReplyData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

func (*QueryTicketWaitReplyReply) Descriptor deprecated

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

Deprecated: Use QueryTicketWaitReplyReply.ProtoReflect.Descriptor instead.

func (*QueryTicketWaitReplyReply) GetCode

func (x *QueryTicketWaitReplyReply) GetCode() int32

func (*QueryTicketWaitReplyReply) GetData

func (*QueryTicketWaitReplyReply) GetMessage

func (x *QueryTicketWaitReplyReply) GetMessage() string

func (*QueryTicketWaitReplyReply) ProtoMessage

func (*QueryTicketWaitReplyReply) ProtoMessage()

func (*QueryTicketWaitReplyReply) ProtoReflect

func (*QueryTicketWaitReplyReply) Reset

func (x *QueryTicketWaitReplyReply) Reset()

func (*QueryTicketWaitReplyReply) String

func (x *QueryTicketWaitReplyReply) String() string

func (*QueryTicketWaitReplyReply) Validate

func (m *QueryTicketWaitReplyReply) Validate() error

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

func (m *QueryTicketWaitReplyReply) ValidateAll() error

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

type QueryTicketWaitReplyReplyMultiError

type QueryTicketWaitReplyReplyMultiError []error

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

func (QueryTicketWaitReplyReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryTicketWaitReplyReplyMultiError) Error

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

type QueryTicketWaitReplyReplyValidationError

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

QueryTicketWaitReplyReplyValidationError is the validation error returned by QueryTicketWaitReplyReply.Validate if the designated constraints aren't met.

func (QueryTicketWaitReplyReplyValidationError) Cause

Cause function returns cause value.

func (QueryTicketWaitReplyReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryTicketWaitReplyReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryTicketWaitReplyReplyValidationError) Field

Field function returns field value.

func (QueryTicketWaitReplyReplyValidationError) Key

Key function returns key value.

func (QueryTicketWaitReplyReplyValidationError) Reason

Reason function returns reason value.

type QueryTicketWaitReplyRequest

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

func (*QueryTicketWaitReplyRequest) Descriptor deprecated

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

Deprecated: Use QueryTicketWaitReplyRequest.ProtoReflect.Descriptor instead.

func (*QueryTicketWaitReplyRequest) ProtoMessage

func (*QueryTicketWaitReplyRequest) ProtoMessage()

func (*QueryTicketWaitReplyRequest) ProtoReflect

func (*QueryTicketWaitReplyRequest) Reset

func (x *QueryTicketWaitReplyRequest) Reset()

func (*QueryTicketWaitReplyRequest) String

func (x *QueryTicketWaitReplyRequest) String() string

func (*QueryTicketWaitReplyRequest) Validate

func (m *QueryTicketWaitReplyRequest) Validate() error

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

func (m *QueryTicketWaitReplyRequest) ValidateAll() error

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

type QueryTicketWaitReplyRequestMultiError

type QueryTicketWaitReplyRequestMultiError []error

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

func (QueryTicketWaitReplyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryTicketWaitReplyRequestMultiError) Error

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

type QueryTicketWaitReplyRequestValidationError

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

QueryTicketWaitReplyRequestValidationError is the validation error returned by QueryTicketWaitReplyRequest.Validate if the designated constraints aren't met.

func (QueryTicketWaitReplyRequestValidationError) Cause

Cause function returns cause value.

func (QueryTicketWaitReplyRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryTicketWaitReplyRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryTicketWaitReplyRequestValidationError) Field

Field function returns field value.

func (QueryTicketWaitReplyRequestValidationError) Key

Key function returns key value.

func (QueryTicketWaitReplyRequestValidationError) Reason

Reason function returns reason value.

type QueryUserStatisticsData

type QueryUserStatisticsData struct {
	Today   *UserStatistics `protobuf:"bytes,1,opt,name=today,proto3" json:"today,omitempty"`
	Monthly *UserStatistics `protobuf:"bytes,2,opt,name=monthly,proto3" json:"monthly,omitempty"`
	All     *UserStatistics `protobuf:"bytes,3,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryUserStatisticsData) Descriptor deprecated

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

Deprecated: Use QueryUserStatisticsData.ProtoReflect.Descriptor instead.

func (*QueryUserStatisticsData) GetAll

func (*QueryUserStatisticsData) GetMonthly

func (x *QueryUserStatisticsData) GetMonthly() *UserStatistics

func (*QueryUserStatisticsData) GetToday

func (x *QueryUserStatisticsData) GetToday() *UserStatistics

func (*QueryUserStatisticsData) ProtoMessage

func (*QueryUserStatisticsData) ProtoMessage()

func (*QueryUserStatisticsData) ProtoReflect

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

func (*QueryUserStatisticsData) Reset

func (x *QueryUserStatisticsData) Reset()

func (*QueryUserStatisticsData) String

func (x *QueryUserStatisticsData) String() string

func (*QueryUserStatisticsData) Validate

func (m *QueryUserStatisticsData) Validate() error

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

func (m *QueryUserStatisticsData) ValidateAll() error

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

type QueryUserStatisticsDataMultiError

type QueryUserStatisticsDataMultiError []error

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

func (QueryUserStatisticsDataMultiError) AllErrors

func (m QueryUserStatisticsDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryUserStatisticsDataMultiError) Error

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

type QueryUserStatisticsDataValidationError

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

QueryUserStatisticsDataValidationError is the validation error returned by QueryUserStatisticsData.Validate if the designated constraints aren't met.

func (QueryUserStatisticsDataValidationError) Cause

Cause function returns cause value.

func (QueryUserStatisticsDataValidationError) Error

Error satisfies the builtin error interface

func (QueryUserStatisticsDataValidationError) ErrorName

ErrorName returns error name.

func (QueryUserStatisticsDataValidationError) Field

Field function returns field value.

func (QueryUserStatisticsDataValidationError) Key

Key function returns key value.

func (QueryUserStatisticsDataValidationError) Reason

Reason function returns reason value.

type QueryUserStatisticsReply

type QueryUserStatisticsReply struct {
	Code    int32                    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *QueryUserStatisticsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

func (*QueryUserStatisticsReply) Descriptor deprecated

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

Deprecated: Use QueryUserStatisticsReply.ProtoReflect.Descriptor instead.

func (*QueryUserStatisticsReply) GetCode

func (x *QueryUserStatisticsReply) GetCode() int32

func (*QueryUserStatisticsReply) GetData

func (*QueryUserStatisticsReply) GetMessage

func (x *QueryUserStatisticsReply) GetMessage() string

func (*QueryUserStatisticsReply) ProtoMessage

func (*QueryUserStatisticsReply) ProtoMessage()

func (*QueryUserStatisticsReply) ProtoReflect

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

func (*QueryUserStatisticsReply) Reset

func (x *QueryUserStatisticsReply) Reset()

func (*QueryUserStatisticsReply) String

func (x *QueryUserStatisticsReply) String() string

func (*QueryUserStatisticsReply) Validate

func (m *QueryUserStatisticsReply) Validate() error

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

func (m *QueryUserStatisticsReply) ValidateAll() error

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

type QueryUserStatisticsReplyMultiError

type QueryUserStatisticsReplyMultiError []error

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

func (QueryUserStatisticsReplyMultiError) AllErrors

func (m QueryUserStatisticsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryUserStatisticsReplyMultiError) Error

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

type QueryUserStatisticsReplyValidationError

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

QueryUserStatisticsReplyValidationError is the validation error returned by QueryUserStatisticsReply.Validate if the designated constraints aren't met.

func (QueryUserStatisticsReplyValidationError) Cause

Cause function returns cause value.

func (QueryUserStatisticsReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserStatisticsReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserStatisticsReplyValidationError) Field

Field function returns field value.

func (QueryUserStatisticsReplyValidationError) Key

Key function returns key value.

func (QueryUserStatisticsReplyValidationError) Reason

Reason function returns reason value.

type QueryUserStatisticsRequest

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

func (*QueryUserStatisticsRequest) Descriptor deprecated

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

Deprecated: Use QueryUserStatisticsRequest.ProtoReflect.Descriptor instead.

func (*QueryUserStatisticsRequest) ProtoMessage

func (*QueryUserStatisticsRequest) ProtoMessage()

func (*QueryUserStatisticsRequest) ProtoReflect

func (*QueryUserStatisticsRequest) Reset

func (x *QueryUserStatisticsRequest) Reset()

func (*QueryUserStatisticsRequest) String

func (x *QueryUserStatisticsRequest) String() string

func (*QueryUserStatisticsRequest) Validate

func (m *QueryUserStatisticsRequest) Validate() error

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

func (m *QueryUserStatisticsRequest) ValidateAll() error

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

type QueryUserStatisticsRequestMultiError

type QueryUserStatisticsRequestMultiError []error

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

func (QueryUserStatisticsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (QueryUserStatisticsRequestMultiError) Error

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

type QueryUserStatisticsRequestValidationError

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

QueryUserStatisticsRequestValidationError is the validation error returned by QueryUserStatisticsRequest.Validate if the designated constraints aren't met.

func (QueryUserStatisticsRequestValidationError) Cause

Cause function returns cause value.

func (QueryUserStatisticsRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryUserStatisticsRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryUserStatisticsRequestValidationError) Field

Field function returns field value.

func (QueryUserStatisticsRequestValidationError) Key

Key function returns key value.

func (QueryUserStatisticsRequestValidationError) Reason

Reason function returns reason value.

type ServerTrafficData

type ServerTrafficData struct {
	ServerId int64  `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Upload   int64  `protobuf:"varint,3,opt,name=upload,proto3" json:"upload,omitempty"`
	Download int64  `protobuf:"varint,4,opt,name=download,proto3" json:"download,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerTrafficData) Descriptor deprecated

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

Deprecated: Use ServerTrafficData.ProtoReflect.Descriptor instead.

func (*ServerTrafficData) GetDownload

func (x *ServerTrafficData) GetDownload() int64

func (*ServerTrafficData) GetName

func (x *ServerTrafficData) GetName() string

func (*ServerTrafficData) GetServerId

func (x *ServerTrafficData) GetServerId() int64

func (*ServerTrafficData) GetUpload

func (x *ServerTrafficData) GetUpload() int64

func (*ServerTrafficData) ProtoMessage

func (*ServerTrafficData) ProtoMessage()

func (*ServerTrafficData) ProtoReflect

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

func (*ServerTrafficData) Reset

func (x *ServerTrafficData) Reset()

func (*ServerTrafficData) String

func (x *ServerTrafficData) String() string

func (*ServerTrafficData) Validate

func (m *ServerTrafficData) Validate() error

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

func (m *ServerTrafficData) ValidateAll() error

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

type ServerTrafficDataMultiError

type ServerTrafficDataMultiError []error

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

func (ServerTrafficDataMultiError) AllErrors

func (m ServerTrafficDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServerTrafficDataMultiError) Error

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

type ServerTrafficDataValidationError

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

ServerTrafficDataValidationError is the validation error returned by ServerTrafficData.Validate if the designated constraints aren't met.

func (ServerTrafficDataValidationError) Cause

Cause function returns cause value.

func (ServerTrafficDataValidationError) Error

Error satisfies the builtin error interface

func (ServerTrafficDataValidationError) ErrorName

ErrorName returns error name.

func (ServerTrafficDataValidationError) Field

Field function returns field value.

func (ServerTrafficDataValidationError) Key

Key function returns key value.

func (ServerTrafficDataValidationError) Reason

Reason function returns reason value.

type UnimplementedAdminConsoleServer

type UnimplementedAdminConsoleServer struct{}

UnimplementedAdminConsoleServer 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 (UnimplementedAdminConsoleServer) QueryServerTotalData

func (UnimplementedAdminConsoleServer) QueryTicketWaitReply

func (UnimplementedAdminConsoleServer) QueryUserStatistics

type UnsafeAdminConsoleServer

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

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

type UserStatistics

type UserStatistics struct {
	Date              string            `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Register          int64             `protobuf:"varint,2,opt,name=register,proto3" json:"register,omitempty"`
	NewOrderUsers     int64             `protobuf:"varint,3,opt,name=new_order_users,json=newOrderUsers,proto3" json:"new_order_users,omitempty"`
	RenewalOrderUsers int64             `protobuf:"varint,4,opt,name=renewal_order_users,json=renewalOrderUsers,proto3" json:"renewal_order_users,omitempty"`
	List              []*UserStatistics `protobuf:"bytes,5,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*UserStatistics) Descriptor deprecated

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

Deprecated: Use UserStatistics.ProtoReflect.Descriptor instead.

func (*UserStatistics) GetDate

func (x *UserStatistics) GetDate() string

func (*UserStatistics) GetList

func (x *UserStatistics) GetList() []*UserStatistics

func (*UserStatistics) GetNewOrderUsers

func (x *UserStatistics) GetNewOrderUsers() int64

func (*UserStatistics) GetRegister

func (x *UserStatistics) GetRegister() int64

func (*UserStatistics) GetRenewalOrderUsers

func (x *UserStatistics) GetRenewalOrderUsers() int64

func (*UserStatistics) ProtoMessage

func (*UserStatistics) ProtoMessage()

func (*UserStatistics) ProtoReflect

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

func (*UserStatistics) Reset

func (x *UserStatistics) Reset()

func (*UserStatistics) String

func (x *UserStatistics) String() string

func (*UserStatistics) Validate

func (m *UserStatistics) Validate() error

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

func (m *UserStatistics) ValidateAll() error

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

type UserStatisticsMultiError

type UserStatisticsMultiError []error

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

func (UserStatisticsMultiError) AllErrors

func (m UserStatisticsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserStatisticsMultiError) Error

func (m UserStatisticsMultiError) Error() string

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

type UserStatisticsValidationError

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

UserStatisticsValidationError is the validation error returned by UserStatistics.Validate if the designated constraints aren't met.

func (UserStatisticsValidationError) Cause

Cause function returns cause value.

func (UserStatisticsValidationError) Error

Error satisfies the builtin error interface

func (UserStatisticsValidationError) ErrorName

func (e UserStatisticsValidationError) ErrorName() string

ErrorName returns error name.

func (UserStatisticsValidationError) Field

Field function returns field value.

func (UserStatisticsValidationError) Key

Key function returns key value.

func (UserStatisticsValidationError) Reason

Reason function returns reason value.

type UserTrafficData

type UserTrafficData struct {
	Sid      int64 `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,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"`
	// contains filtered or unexported fields
}

func (*UserTrafficData) Descriptor deprecated

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

Deprecated: Use UserTrafficData.ProtoReflect.Descriptor instead.

func (*UserTrafficData) GetDownload

func (x *UserTrafficData) GetDownload() int64

func (*UserTrafficData) GetSid

func (x *UserTrafficData) GetSid() int64

func (*UserTrafficData) GetUpload

func (x *UserTrafficData) GetUpload() int64

func (*UserTrafficData) ProtoMessage

func (*UserTrafficData) ProtoMessage()

func (*UserTrafficData) ProtoReflect

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

func (*UserTrafficData) Reset

func (x *UserTrafficData) Reset()

func (*UserTrafficData) String

func (x *UserTrafficData) String() string

func (*UserTrafficData) Validate

func (m *UserTrafficData) Validate() error

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

func (m *UserTrafficData) ValidateAll() error

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

type UserTrafficDataMultiError

type UserTrafficDataMultiError []error

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

func (UserTrafficDataMultiError) AllErrors

func (m UserTrafficDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserTrafficDataMultiError) Error

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

type UserTrafficDataValidationError

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

UserTrafficDataValidationError is the validation error returned by UserTrafficData.Validate if the designated constraints aren't met.

func (UserTrafficDataValidationError) Cause

Cause function returns cause value.

func (UserTrafficDataValidationError) Error

Error satisfies the builtin error interface

func (UserTrafficDataValidationError) ErrorName

func (e UserTrafficDataValidationError) ErrorName() string

ErrorName returns error name.

func (UserTrafficDataValidationError) Field

Field function returns field value.

func (UserTrafficDataValidationError) Key

Key function returns key value.

func (UserTrafficDataValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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