rank

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_rank_rank_proto protoreflect.FileDescriptor

Functions

func NewRankEndpoints

func NewRankEndpoints() []*api.Endpoint

func RegisterRankHandler

func RegisterRankHandler(s server.Server, hdlr RankHandler, opts ...server.HandlerOption) error

Types

type LiveDiamondDayRankRequest

type LiveDiamondDayRankRequest struct {
	AnchorId int64  `protobuf:"varint,1,opt,name=AnchorId,proto3" json:"AnchorId"` // 主播id
	NextKey  int64  `protobuf:"varint,2,opt,name=NextKey,proto3" json:"NextKey"`   // 偏移量
	Country  string `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country"`    // 主播所在国家
	// contains filtered or unexported fields
}

func (*LiveDiamondDayRankRequest) Descriptor deprecated

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

Deprecated: Use LiveDiamondDayRankRequest.ProtoReflect.Descriptor instead.

func (*LiveDiamondDayRankRequest) GetAnchorId

func (x *LiveDiamondDayRankRequest) GetAnchorId() int64

func (*LiveDiamondDayRankRequest) GetCountry

func (x *LiveDiamondDayRankRequest) GetCountry() string

func (*LiveDiamondDayRankRequest) GetNextKey

func (x *LiveDiamondDayRankRequest) GetNextKey() int64

func (*LiveDiamondDayRankRequest) ProtoMessage

func (*LiveDiamondDayRankRequest) ProtoMessage()

func (*LiveDiamondDayRankRequest) ProtoReflect

func (*LiveDiamondDayRankRequest) Reset

func (x *LiveDiamondDayRankRequest) Reset()

func (*LiveDiamondDayRankRequest) String

func (x *LiveDiamondDayRankRequest) String() string

func (*LiveDiamondDayRankRequest) Validate

func (m *LiveDiamondDayRankRequest) Validate() error

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

func (m *LiveDiamondDayRankRequest) ValidateAll() error

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

type LiveDiamondDayRankRequestMultiError

type LiveDiamondDayRankRequestMultiError []error

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

func (LiveDiamondDayRankRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondDayRankRequestMultiError) Error

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

type LiveDiamondDayRankRequestValidationError

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

LiveDiamondDayRankRequestValidationError is the validation error returned by LiveDiamondDayRankRequest.Validate if the designated constraints aren't met.

func (LiveDiamondDayRankRequestValidationError) Cause

Cause function returns cause value.

func (LiveDiamondDayRankRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondDayRankRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondDayRankRequestValidationError) Field

Field function returns field value.

func (LiveDiamondDayRankRequestValidationError) Key

Key function returns key value.

func (LiveDiamondDayRankRequestValidationError) Reason

Reason function returns reason value.

type LiveDiamondDayRankResponse

type LiveDiamondDayRankResponse struct {
	List         []*LiveDiamondRankItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	TotalDiamond int64                  `protobuf:"varint,2,opt,name=TotalDiamond,proto3" json:"TotalDiamond"`      // 总榜钻石多
	NextKey      int64                  `protobuf:"varint,3,opt,name=next_key,json=nextKey,proto3" json:"next_key"` // 偏移量
	// contains filtered or unexported fields
}

func (*LiveDiamondDayRankResponse) Descriptor deprecated

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

Deprecated: Use LiveDiamondDayRankResponse.ProtoReflect.Descriptor instead.

func (*LiveDiamondDayRankResponse) GetList

func (*LiveDiamondDayRankResponse) GetNextKey

func (x *LiveDiamondDayRankResponse) GetNextKey() int64

func (*LiveDiamondDayRankResponse) GetTotalDiamond

func (x *LiveDiamondDayRankResponse) GetTotalDiamond() int64

func (*LiveDiamondDayRankResponse) ProtoMessage

func (*LiveDiamondDayRankResponse) ProtoMessage()

func (*LiveDiamondDayRankResponse) ProtoReflect

func (*LiveDiamondDayRankResponse) Reset

func (x *LiveDiamondDayRankResponse) Reset()

func (*LiveDiamondDayRankResponse) String

func (x *LiveDiamondDayRankResponse) String() string

func (*LiveDiamondDayRankResponse) Validate

func (m *LiveDiamondDayRankResponse) Validate() error

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

func (m *LiveDiamondDayRankResponse) ValidateAll() error

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

type LiveDiamondDayRankResponseMultiError

type LiveDiamondDayRankResponseMultiError []error

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

func (LiveDiamondDayRankResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondDayRankResponseMultiError) Error

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

type LiveDiamondDayRankResponseValidationError

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

LiveDiamondDayRankResponseValidationError is the validation error returned by LiveDiamondDayRankResponse.Validate if the designated constraints aren't met.

func (LiveDiamondDayRankResponseValidationError) Cause

Cause function returns cause value.

func (LiveDiamondDayRankResponseValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondDayRankResponseValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondDayRankResponseValidationError) Field

Field function returns field value.

func (LiveDiamondDayRankResponseValidationError) Key

Key function returns key value.

func (LiveDiamondDayRankResponseValidationError) Reason

Reason function returns reason value.

type LiveDiamondMonthRankRequest

type LiveDiamondMonthRankRequest struct {
	AnchorId int64  `protobuf:"varint,1,opt,name=AnchorId,proto3" json:"AnchorId"` // 主播id
	NextKey  int64  `protobuf:"varint,2,opt,name=NextKey,proto3" json:"NextKey"`   // 偏移量
	Country  string `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country"`    // 主播所在国家
	// contains filtered or unexported fields
}

func (*LiveDiamondMonthRankRequest) Descriptor deprecated

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

Deprecated: Use LiveDiamondMonthRankRequest.ProtoReflect.Descriptor instead.

func (*LiveDiamondMonthRankRequest) GetAnchorId

func (x *LiveDiamondMonthRankRequest) GetAnchorId() int64

func (*LiveDiamondMonthRankRequest) GetCountry

func (x *LiveDiamondMonthRankRequest) GetCountry() string

func (*LiveDiamondMonthRankRequest) GetNextKey

func (x *LiveDiamondMonthRankRequest) GetNextKey() int64

func (*LiveDiamondMonthRankRequest) ProtoMessage

func (*LiveDiamondMonthRankRequest) ProtoMessage()

func (*LiveDiamondMonthRankRequest) ProtoReflect

func (*LiveDiamondMonthRankRequest) Reset

func (x *LiveDiamondMonthRankRequest) Reset()

func (*LiveDiamondMonthRankRequest) String

func (x *LiveDiamondMonthRankRequest) String() string

func (*LiveDiamondMonthRankRequest) Validate

func (m *LiveDiamondMonthRankRequest) Validate() error

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

func (m *LiveDiamondMonthRankRequest) ValidateAll() error

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

type LiveDiamondMonthRankRequestMultiError

type LiveDiamondMonthRankRequestMultiError []error

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

func (LiveDiamondMonthRankRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondMonthRankRequestMultiError) Error

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

type LiveDiamondMonthRankRequestValidationError

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

LiveDiamondMonthRankRequestValidationError is the validation error returned by LiveDiamondMonthRankRequest.Validate if the designated constraints aren't met.

func (LiveDiamondMonthRankRequestValidationError) Cause

Cause function returns cause value.

func (LiveDiamondMonthRankRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondMonthRankRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondMonthRankRequestValidationError) Field

Field function returns field value.

func (LiveDiamondMonthRankRequestValidationError) Key

Key function returns key value.

func (LiveDiamondMonthRankRequestValidationError) Reason

Reason function returns reason value.

type LiveDiamondMonthRankResponse

type LiveDiamondMonthRankResponse struct {
	List         []*LiveDiamondRankItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	TotalDiamond int64                  `protobuf:"varint,2,opt,name=TotalDiamond,proto3" json:"TotalDiamond"`      // 总榜钻石多
	NextKey      int64                  `protobuf:"varint,3,opt,name=next_key,json=nextKey,proto3" json:"next_key"` // 偏移量
	// contains filtered or unexported fields
}

func (*LiveDiamondMonthRankResponse) Descriptor deprecated

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

Deprecated: Use LiveDiamondMonthRankResponse.ProtoReflect.Descriptor instead.

func (*LiveDiamondMonthRankResponse) GetList

func (*LiveDiamondMonthRankResponse) GetNextKey

func (x *LiveDiamondMonthRankResponse) GetNextKey() int64

func (*LiveDiamondMonthRankResponse) GetTotalDiamond

func (x *LiveDiamondMonthRankResponse) GetTotalDiamond() int64

func (*LiveDiamondMonthRankResponse) ProtoMessage

func (*LiveDiamondMonthRankResponse) ProtoMessage()

func (*LiveDiamondMonthRankResponse) ProtoReflect

func (*LiveDiamondMonthRankResponse) Reset

func (x *LiveDiamondMonthRankResponse) Reset()

func (*LiveDiamondMonthRankResponse) String

func (*LiveDiamondMonthRankResponse) Validate

func (m *LiveDiamondMonthRankResponse) Validate() error

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

func (m *LiveDiamondMonthRankResponse) ValidateAll() error

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

type LiveDiamondMonthRankResponseMultiError

type LiveDiamondMonthRankResponseMultiError []error

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

func (LiveDiamondMonthRankResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondMonthRankResponseMultiError) Error

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

type LiveDiamondMonthRankResponseValidationError

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

LiveDiamondMonthRankResponseValidationError is the validation error returned by LiveDiamondMonthRankResponse.Validate if the designated constraints aren't met.

func (LiveDiamondMonthRankResponseValidationError) Cause

Cause function returns cause value.

func (LiveDiamondMonthRankResponseValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondMonthRankResponseValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondMonthRankResponseValidationError) Field

Field function returns field value.

func (LiveDiamondMonthRankResponseValidationError) Key

Key function returns key value.

func (LiveDiamondMonthRankResponseValidationError) Reason

Reason function returns reason value.

type LiveDiamondRankItem

type LiveDiamondRankItem struct {
	UserId  int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"`   //用户
	Diamond int64 `protobuf:"varint,2,opt,name=Diamond,proto3" json:"Diamond"` // 钻石数
	// contains filtered or unexported fields
}

func (*LiveDiamondRankItem) Descriptor deprecated

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

Deprecated: Use LiveDiamondRankItem.ProtoReflect.Descriptor instead.

func (*LiveDiamondRankItem) GetDiamond

func (x *LiveDiamondRankItem) GetDiamond() int64

func (*LiveDiamondRankItem) GetUserId

func (x *LiveDiamondRankItem) GetUserId() int64

func (*LiveDiamondRankItem) ProtoMessage

func (*LiveDiamondRankItem) ProtoMessage()

func (*LiveDiamondRankItem) ProtoReflect

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

func (*LiveDiamondRankItem) Reset

func (x *LiveDiamondRankItem) Reset()

func (*LiveDiamondRankItem) String

func (x *LiveDiamondRankItem) String() string

func (*LiveDiamondRankItem) Validate

func (m *LiveDiamondRankItem) Validate() error

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

func (m *LiveDiamondRankItem) ValidateAll() error

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

type LiveDiamondRankItemMultiError

type LiveDiamondRankItemMultiError []error

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

func (LiveDiamondRankItemMultiError) AllErrors

func (m LiveDiamondRankItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveDiamondRankItemMultiError) Error

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

type LiveDiamondRankItemValidationError

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

LiveDiamondRankItemValidationError is the validation error returned by LiveDiamondRankItem.Validate if the designated constraints aren't met.

func (LiveDiamondRankItemValidationError) Cause

Cause function returns cause value.

func (LiveDiamondRankItemValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondRankItemValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondRankItemValidationError) Field

Field function returns field value.

func (LiveDiamondRankItemValidationError) Key

Key function returns key value.

func (LiveDiamondRankItemValidationError) Reason

Reason function returns reason value.

type LiveDiamondSumTotalRequest

type LiveDiamondSumTotalRequest struct {
	AnchorId int64 `protobuf:"varint,1,opt,name=AnchorId,proto3" json:"AnchorId"` // 主播总榜单
	// contains filtered or unexported fields
}

func (*LiveDiamondSumTotalRequest) Descriptor deprecated

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

Deprecated: Use LiveDiamondSumTotalRequest.ProtoReflect.Descriptor instead.

func (*LiveDiamondSumTotalRequest) GetAnchorId

func (x *LiveDiamondSumTotalRequest) GetAnchorId() int64

func (*LiveDiamondSumTotalRequest) ProtoMessage

func (*LiveDiamondSumTotalRequest) ProtoMessage()

func (*LiveDiamondSumTotalRequest) ProtoReflect

func (*LiveDiamondSumTotalRequest) Reset

func (x *LiveDiamondSumTotalRequest) Reset()

func (*LiveDiamondSumTotalRequest) String

func (x *LiveDiamondSumTotalRequest) String() string

func (*LiveDiamondSumTotalRequest) Validate

func (m *LiveDiamondSumTotalRequest) Validate() error

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

func (m *LiveDiamondSumTotalRequest) ValidateAll() error

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

type LiveDiamondSumTotalRequestMultiError

type LiveDiamondSumTotalRequestMultiError []error

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

func (LiveDiamondSumTotalRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondSumTotalRequestMultiError) Error

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

type LiveDiamondSumTotalRequestValidationError

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

LiveDiamondSumTotalRequestValidationError is the validation error returned by LiveDiamondSumTotalRequest.Validate if the designated constraints aren't met.

func (LiveDiamondSumTotalRequestValidationError) Cause

Cause function returns cause value.

func (LiveDiamondSumTotalRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondSumTotalRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondSumTotalRequestValidationError) Field

Field function returns field value.

func (LiveDiamondSumTotalRequestValidationError) Key

Key function returns key value.

func (LiveDiamondSumTotalRequestValidationError) Reason

Reason function returns reason value.

type LiveDiamondTotalRankRequest

type LiveDiamondTotalRankRequest struct {
	AnchorId int64  `protobuf:"varint,1,opt,name=AnchorId,proto3" json:"AnchorId"` // 主播id
	NextKey  int64  `protobuf:"varint,2,opt,name=NextKey,proto3" json:"NextKey"`   // 偏移量
	Country  string `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country"`    // 主播所在国家
	// contains filtered or unexported fields
}

func (*LiveDiamondTotalRankRequest) Descriptor deprecated

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

Deprecated: Use LiveDiamondTotalRankRequest.ProtoReflect.Descriptor instead.

func (*LiveDiamondTotalRankRequest) GetAnchorId

func (x *LiveDiamondTotalRankRequest) GetAnchorId() int64

func (*LiveDiamondTotalRankRequest) GetCountry

func (x *LiveDiamondTotalRankRequest) GetCountry() string

func (*LiveDiamondTotalRankRequest) GetNextKey

func (x *LiveDiamondTotalRankRequest) GetNextKey() int64

func (*LiveDiamondTotalRankRequest) ProtoMessage

func (*LiveDiamondTotalRankRequest) ProtoMessage()

func (*LiveDiamondTotalRankRequest) ProtoReflect

func (*LiveDiamondTotalRankRequest) Reset

func (x *LiveDiamondTotalRankRequest) Reset()

func (*LiveDiamondTotalRankRequest) String

func (x *LiveDiamondTotalRankRequest) String() string

func (*LiveDiamondTotalRankRequest) Validate

func (m *LiveDiamondTotalRankRequest) Validate() error

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

func (m *LiveDiamondTotalRankRequest) ValidateAll() error

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

type LiveDiamondTotalRankRequestMultiError

type LiveDiamondTotalRankRequestMultiError []error

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

func (LiveDiamondTotalRankRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondTotalRankRequestMultiError) Error

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

type LiveDiamondTotalRankRequestValidationError

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

LiveDiamondTotalRankRequestValidationError is the validation error returned by LiveDiamondTotalRankRequest.Validate if the designated constraints aren't met.

func (LiveDiamondTotalRankRequestValidationError) Cause

Cause function returns cause value.

func (LiveDiamondTotalRankRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondTotalRankRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondTotalRankRequestValidationError) Field

Field function returns field value.

func (LiveDiamondTotalRankRequestValidationError) Key

Key function returns key value.

func (LiveDiamondTotalRankRequestValidationError) Reason

Reason function returns reason value.

type LiveDiamondTotalRankResponse

type LiveDiamondTotalRankResponse struct {
	List         []*LiveDiamondRankItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	TotalDiamond int64                  `protobuf:"varint,2,opt,name=TotalDiamond,proto3" json:"TotalDiamond"`      // 总榜钻石多
	NextKey      int64                  `protobuf:"varint,3,opt,name=next_key,json=nextKey,proto3" json:"next_key"` // 偏移量
	// contains filtered or unexported fields
}

func (*LiveDiamondTotalRankResponse) Descriptor deprecated

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

Deprecated: Use LiveDiamondTotalRankResponse.ProtoReflect.Descriptor instead.

func (*LiveDiamondTotalRankResponse) GetList

func (*LiveDiamondTotalRankResponse) GetNextKey

func (x *LiveDiamondTotalRankResponse) GetNextKey() int64

func (*LiveDiamondTotalRankResponse) GetTotalDiamond

func (x *LiveDiamondTotalRankResponse) GetTotalDiamond() int64

func (*LiveDiamondTotalRankResponse) ProtoMessage

func (*LiveDiamondTotalRankResponse) ProtoMessage()

func (*LiveDiamondTotalRankResponse) ProtoReflect

func (*LiveDiamondTotalRankResponse) Reset

func (x *LiveDiamondTotalRankResponse) Reset()

func (*LiveDiamondTotalRankResponse) String

func (*LiveDiamondTotalRankResponse) Validate

func (m *LiveDiamondTotalRankResponse) Validate() error

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

func (m *LiveDiamondTotalRankResponse) ValidateAll() error

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

type LiveDiamondTotalRankResponseMultiError

type LiveDiamondTotalRankResponseMultiError []error

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

func (LiveDiamondTotalRankResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveDiamondTotalRankResponseMultiError) Error

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

type LiveDiamondTotalRankResponseValidationError

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

LiveDiamondTotalRankResponseValidationError is the validation error returned by LiveDiamondTotalRankResponse.Validate if the designated constraints aren't met.

func (LiveDiamondTotalRankResponseValidationError) Cause

Cause function returns cause value.

func (LiveDiamondTotalRankResponseValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondTotalRankResponseValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondTotalRankResponseValidationError) Field

Field function returns field value.

func (LiveDiamondTotalRankResponseValidationError) Key

Key function returns key value.

func (LiveDiamondTotalRankResponseValidationError) Reason

Reason function returns reason value.

type RankService

type RankService interface {
	// 直播间砖石天榜
	LiveDiamondDayRank(ctx context.Context, in *LiveDiamondDayRankRequest, opts ...client.CallOption) (*LiveDiamondDayRankResponse, error)
	LiveDiamondMonthRank(ctx context.Context, in *LiveDiamondMonthRankRequest, opts ...client.CallOption) (*LiveDiamondMonthRankResponse, error)
	LiveDiamondTotalRank(ctx context.Context, in *LiveDiamondTotalRankRequest, opts ...client.CallOption) (*LiveDiamondTotalRankResponse, error)
	LiveDiamondSumTotal(ctx context.Context, in *LiveDiamondSumTotalRequest, opts ...client.CallOption) (*wrapperspb.Int64Value, error)
}

func NewRankService

func NewRankService(name string, c client.Client) RankService

Jump to

Keyboard shortcuts

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