giftDetail

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: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GiftSceneLive = "live"
	GiftSceneIm   = "im"
)

Variables

View Source
var File_proto_gift_detail_gift_detail_proto protoreflect.FileDescriptor

Functions

func GetFileTypeName

func GetFileTypeName(i int32) string

func NewGiftDetailEndpoints

func NewGiftDetailEndpoints() []*api.Endpoint

func RegisterGiftDetailHandler

func RegisterGiftDetailHandler(s server.Server, hdlr GiftDetailHandler, opts ...server.HandlerOption) error

Types

type CreateReq

type CreateReq struct {
	GiftDetail *GiftDetailItem `protobuf:"bytes,1,opt,name=gift_detail,json=giftDetail,proto3" json:"gift_detail"`
	// contains filtered or unexported fields
}

func (*CreateReq) Descriptor deprecated

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

Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.

func (*CreateReq) GetGiftDetail

func (x *CreateReq) GetGiftDetail() *GiftDetailItem

func (*CreateReq) ProtoMessage

func (*CreateReq) ProtoMessage()

func (*CreateReq) ProtoReflect

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

func (*CreateReq) Reset

func (x *CreateReq) Reset()

func (*CreateReq) String

func (x *CreateReq) String() string

func (*CreateReq) Validate

func (m *CreateReq) Validate() error

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

func (m *CreateReq) ValidateAll() error

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

type CreateReqMultiError

type CreateReqMultiError []error

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

func (CreateReqMultiError) AllErrors

func (m CreateReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateReqMultiError) Error

func (m CreateReqMultiError) Error() string

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

type CreateReqValidationError

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

CreateReqValidationError is the validation error returned by CreateReq.Validate if the designated constraints aren't met.

func (CreateReqValidationError) Cause

func (e CreateReqValidationError) Cause() error

Cause function returns cause value.

func (CreateReqValidationError) Error

func (e CreateReqValidationError) Error() string

Error satisfies the builtin error interface

func (CreateReqValidationError) ErrorName

func (e CreateReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateReqValidationError) Field

func (e CreateReqValidationError) Field() string

Field function returns field value.

func (CreateReqValidationError) Key

Key function returns key value.

func (CreateReqValidationError) Reason

func (e CreateReqValidationError) Reason() string

Reason function returns reason value.

type CreateRes

type CreateRes struct {
	GiftDetail *GiftDetailItem `protobuf:"bytes,1,opt,name=gift_detail,json=giftDetail,proto3" json:"gift_detail"`
	// contains filtered or unexported fields
}

func (*CreateRes) Descriptor deprecated

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

Deprecated: Use CreateRes.ProtoReflect.Descriptor instead.

func (*CreateRes) GetGiftDetail

func (x *CreateRes) GetGiftDetail() *GiftDetailItem

func (*CreateRes) ProtoMessage

func (*CreateRes) ProtoMessage()

func (*CreateRes) ProtoReflect

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

func (*CreateRes) Reset

func (x *CreateRes) Reset()

func (*CreateRes) String

func (x *CreateRes) String() string

func (*CreateRes) Validate

func (m *CreateRes) Validate() error

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

func (m *CreateRes) ValidateAll() error

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

type CreateResMultiError

type CreateResMultiError []error

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

func (CreateResMultiError) AllErrors

func (m CreateResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateResMultiError) Error

func (m CreateResMultiError) Error() string

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

type CreateResValidationError

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

CreateResValidationError is the validation error returned by CreateRes.Validate if the designated constraints aren't met.

func (CreateResValidationError) Cause

func (e CreateResValidationError) Cause() error

Cause function returns cause value.

func (CreateResValidationError) Error

func (e CreateResValidationError) Error() string

Error satisfies the builtin error interface

func (CreateResValidationError) ErrorName

func (e CreateResValidationError) ErrorName() string

ErrorName returns error name.

func (CreateResValidationError) Field

func (e CreateResValidationError) Field() string

Field function returns field value.

func (CreateResValidationError) Key

Key function returns key value.

func (CreateResValidationError) Reason

func (e CreateResValidationError) Reason() string

Reason function returns reason value.

type FinalLiveAudienceReq

type FinalLiveAudienceReq struct {
	LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"` // 直播ID
	// contains filtered or unexported fields
}

func (*FinalLiveAudienceReq) Descriptor deprecated

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

Deprecated: Use FinalLiveAudienceReq.ProtoReflect.Descriptor instead.

func (*FinalLiveAudienceReq) GetLiveId

func (x *FinalLiveAudienceReq) GetLiveId() int64

func (*FinalLiveAudienceReq) ProtoMessage

func (*FinalLiveAudienceReq) ProtoMessage()

func (*FinalLiveAudienceReq) ProtoReflect

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

func (*FinalLiveAudienceReq) Reset

func (x *FinalLiveAudienceReq) Reset()

func (*FinalLiveAudienceReq) String

func (x *FinalLiveAudienceReq) String() string

func (*FinalLiveAudienceReq) Validate

func (m *FinalLiveAudienceReq) Validate() error

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

func (m *FinalLiveAudienceReq) ValidateAll() error

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

type FinalLiveAudienceReqMultiError

type FinalLiveAudienceReqMultiError []error

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

func (FinalLiveAudienceReqMultiError) AllErrors

func (m FinalLiveAudienceReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FinalLiveAudienceReqMultiError) Error

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

type FinalLiveAudienceReqValidationError

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

FinalLiveAudienceReqValidationError is the validation error returned by FinalLiveAudienceReq.Validate if the designated constraints aren't met.

func (FinalLiveAudienceReqValidationError) Cause

Cause function returns cause value.

func (FinalLiveAudienceReqValidationError) Error

Error satisfies the builtin error interface

func (FinalLiveAudienceReqValidationError) ErrorName

ErrorName returns error name.

func (FinalLiveAudienceReqValidationError) Field

Field function returns field value.

func (FinalLiveAudienceReqValidationError) Key

Key function returns key value.

func (FinalLiveAudienceReqValidationError) Reason

Reason function returns reason value.

type FinalLiveAudienceRes

type FinalLiveAudienceRes struct {
	TotalAudience int64 `protobuf:"varint,1,opt,name=total_audience,json=totalAudience,proto3" json:"total_audience"` // 总送礼物人数
	// contains filtered or unexported fields
}

func (*FinalLiveAudienceRes) Descriptor deprecated

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

Deprecated: Use FinalLiveAudienceRes.ProtoReflect.Descriptor instead.

func (*FinalLiveAudienceRes) GetTotalAudience

func (x *FinalLiveAudienceRes) GetTotalAudience() int64

func (*FinalLiveAudienceRes) ProtoMessage

func (*FinalLiveAudienceRes) ProtoMessage()

func (*FinalLiveAudienceRes) ProtoReflect

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

func (*FinalLiveAudienceRes) Reset

func (x *FinalLiveAudienceRes) Reset()

func (*FinalLiveAudienceRes) String

func (x *FinalLiveAudienceRes) String() string

func (*FinalLiveAudienceRes) Validate

func (m *FinalLiveAudienceRes) Validate() error

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

func (m *FinalLiveAudienceRes) ValidateAll() error

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

type FinalLiveAudienceResMultiError

type FinalLiveAudienceResMultiError []error

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

func (FinalLiveAudienceResMultiError) AllErrors

func (m FinalLiveAudienceResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FinalLiveAudienceResMultiError) Error

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

type FinalLiveAudienceResValidationError

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

FinalLiveAudienceResValidationError is the validation error returned by FinalLiveAudienceRes.Validate if the designated constraints aren't met.

func (FinalLiveAudienceResValidationError) Cause

Cause function returns cause value.

func (FinalLiveAudienceResValidationError) Error

Error satisfies the builtin error interface

func (FinalLiveAudienceResValidationError) ErrorName

ErrorName returns error name.

func (FinalLiveAudienceResValidationError) Field

Field function returns field value.

func (FinalLiveAudienceResValidationError) Key

Key function returns key value.

func (FinalLiveAudienceResValidationError) Reason

Reason function returns reason value.

type GetByIdReq

type GetByIdReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 礼物ID
	// contains filtered or unexported fields
}

func (*GetByIdReq) Descriptor deprecated

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

Deprecated: Use GetByIdReq.ProtoReflect.Descriptor instead.

func (*GetByIdReq) GetId

func (x *GetByIdReq) GetId() int64

func (*GetByIdReq) ProtoMessage

func (*GetByIdReq) ProtoMessage()

func (*GetByIdReq) ProtoReflect

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

func (*GetByIdReq) Reset

func (x *GetByIdReq) Reset()

func (*GetByIdReq) String

func (x *GetByIdReq) String() string

func (*GetByIdReq) Validate

func (m *GetByIdReq) Validate() error

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

func (m *GetByIdReq) ValidateAll() error

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

type GetByIdReqMultiError

type GetByIdReqMultiError []error

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

func (GetByIdReqMultiError) AllErrors

func (m GetByIdReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByIdReqMultiError) Error

func (m GetByIdReqMultiError) Error() string

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

type GetByIdReqValidationError

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

GetByIdReqValidationError is the validation error returned by GetByIdReq.Validate if the designated constraints aren't met.

func (GetByIdReqValidationError) Cause

func (e GetByIdReqValidationError) Cause() error

Cause function returns cause value.

func (GetByIdReqValidationError) Error

Error satisfies the builtin error interface

func (GetByIdReqValidationError) ErrorName

func (e GetByIdReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetByIdReqValidationError) Field

Field function returns field value.

func (GetByIdReqValidationError) Key

Key function returns key value.

func (GetByIdReqValidationError) Reason

func (e GetByIdReqValidationError) Reason() string

Reason function returns reason value.

type GetByIdRes

type GetByIdRes struct {
	GiftDetail *GiftDetailItem `protobuf:"bytes,1,opt,name=gift_detail,json=giftDetail,proto3" json:"gift_detail"`
	// contains filtered or unexported fields
}

func (*GetByIdRes) Descriptor deprecated

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

Deprecated: Use GetByIdRes.ProtoReflect.Descriptor instead.

func (*GetByIdRes) GetGiftDetail

func (x *GetByIdRes) GetGiftDetail() *GiftDetailItem

func (*GetByIdRes) ProtoMessage

func (*GetByIdRes) ProtoMessage()

func (*GetByIdRes) ProtoReflect

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

func (*GetByIdRes) Reset

func (x *GetByIdRes) Reset()

func (*GetByIdRes) String

func (x *GetByIdRes) String() string

func (*GetByIdRes) Validate

func (m *GetByIdRes) Validate() error

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

func (m *GetByIdRes) ValidateAll() error

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

type GetByIdResMultiError

type GetByIdResMultiError []error

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

func (GetByIdResMultiError) AllErrors

func (m GetByIdResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByIdResMultiError) Error

func (m GetByIdResMultiError) Error() string

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

type GetByIdResValidationError

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

GetByIdResValidationError is the validation error returned by GetByIdRes.Validate if the designated constraints aren't met.

func (GetByIdResValidationError) Cause

func (e GetByIdResValidationError) Cause() error

Cause function returns cause value.

func (GetByIdResValidationError) Error

Error satisfies the builtin error interface

func (GetByIdResValidationError) ErrorName

func (e GetByIdResValidationError) ErrorName() string

ErrorName returns error name.

func (GetByIdResValidationError) Field

Field function returns field value.

func (GetByIdResValidationError) Key

Key function returns key value.

func (GetByIdResValidationError) Reason

func (e GetByIdResValidationError) Reason() string

Reason function returns reason value.

type GiftDetailItem

type GiftDetailItem struct {
	DetailId int64 `protobuf:"varint,1,opt,name=detail_id,json=detailId,proto3" json:"detail_id"` // 礼物记录ID(唯一)
	// 礼物相关信息
	GiftLevel   int32  `protobuf:"varint,2,opt,name=gift_level,json=giftLevel,proto3" json:"gift_level"`       // 礼物类型 1 普通礼物 2 高级礼物
	GiftId      int64  `protobuf:"varint,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`                // 礼物ID
	GiftName    string `protobuf:"bytes,4,opt,name=gift_name,json=giftName,proto3" json:"gift_name"`           // 礼物名称
	GiftMark    int32  `protobuf:"varint,5,opt,name=gift_mark,json=giftMark,proto3" json:"gift_mark"`          // 标记 默认0 表示没有标记
	GiftCountry string `protobuf:"bytes,13,opt,name=gift_country,json=giftCountry,proto3" json:"gift_country"` // 礼物国家
	// 礼物初始价值
	AmountBean    int64 `protobuf:"varint,6,opt,name=amount_bean,json=amountBean,proto3" json:"amount_bean"`          // bean原始价值
	AmountDiamond int64 `protobuf:"varint,8,opt,name=amount_diamond,json=amountDiamond,proto3" json:"amount_diamond"` // 钻石原始价值
	TotalExp      int64 `protobuf:"varint,19,opt,name=total_exp,json=totalExp,proto3" json:"total_exp"`               // 总经验值
	GiftCount     int64 `protobuf:"varint,18,opt,name=gift_count,json=giftCount,proto3" json:"gift_count"`            // 礼物数量
	// 收礼人信息
	ReceiverId       int64  `protobuf:"varint,9,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id"`                   // 收礼人ID
	ReceiverNickname string `protobuf:"bytes,10,opt,name=receiver_nickname,json=receiverNickname,proto3" json:"receiver_nickname"` // 收礼人昵称
	ReceiverCountry  string `protobuf:"bytes,22,opt,name=receiver_country,json=receiverCountry,proto3" json:"receiver_country"`    // 收礼人国家
	// 送礼人信息
	SenderId       int64  `protobuf:"varint,11,opt,name=sender_id,json=senderId,proto3" json:"sender_id"`                  // 送礼人ID
	SenderNickname string `protobuf:"bytes,12,opt,name=sender_nickname,json=senderNickname,proto3" json:"sender_nickname"` // 送礼人昵称
	SenderCountry  string `protobuf:"bytes,21,opt,name=sender_country,json=senderCountry,proto3" json:"sender_country"`    // 送礼人国家
	// 场景上下文
	Scene          string `protobuf:"bytes,14,opt,name=scene,proto3" json:"scene"`                                            // 礼物场景
	LiveId         int64  `protobuf:"varint,15,opt,name=live_id,json=liveId,proto3" json:"live_id"`                           // 直播ID
	LiveClassifyId int32  `protobuf:"varint,20,opt,name=live_classify_id,json=liveClassifyId,proto3" json:"live_classify_id"` // 直播分类ID
	GroupId        int64  `protobuf:"varint,16,opt,name=group_id,json=groupId,proto3" json:"group_id"`                        // 粉丝团ID
	SendAt         string `protobuf:"bytes,17,opt,name=send_at,json=sendAt,proto3" json:"send_at"`                            // 送礼物时间
	// 附加信息
	CreatedAt string `protobuf:"bytes,30,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
	// contains filtered or unexported fields
}

func (*GiftDetailItem) Descriptor deprecated

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

Deprecated: Use GiftDetailItem.ProtoReflect.Descriptor instead.

func (*GiftDetailItem) GetAmountBean

func (x *GiftDetailItem) GetAmountBean() int64

func (*GiftDetailItem) GetAmountDiamond

func (x *GiftDetailItem) GetAmountDiamond() int64

func (*GiftDetailItem) GetCreatedAt

func (x *GiftDetailItem) GetCreatedAt() string

func (*GiftDetailItem) GetDetailId

func (x *GiftDetailItem) GetDetailId() int64

func (*GiftDetailItem) GetGiftCount

func (x *GiftDetailItem) GetGiftCount() int64

func (*GiftDetailItem) GetGiftCountry

func (x *GiftDetailItem) GetGiftCountry() string

func (*GiftDetailItem) GetGiftId

func (x *GiftDetailItem) GetGiftId() int64

func (*GiftDetailItem) GetGiftLevel

func (x *GiftDetailItem) GetGiftLevel() int32

func (*GiftDetailItem) GetGiftMark

func (x *GiftDetailItem) GetGiftMark() int32

func (*GiftDetailItem) GetGiftName

func (x *GiftDetailItem) GetGiftName() string

func (*GiftDetailItem) GetGroupId

func (x *GiftDetailItem) GetGroupId() int64

func (*GiftDetailItem) GetLiveClassifyId

func (x *GiftDetailItem) GetLiveClassifyId() int32

func (*GiftDetailItem) GetLiveId

func (x *GiftDetailItem) GetLiveId() int64

func (*GiftDetailItem) GetReceiverCountry

func (x *GiftDetailItem) GetReceiverCountry() string

func (*GiftDetailItem) GetReceiverId

func (x *GiftDetailItem) GetReceiverId() int64

func (*GiftDetailItem) GetReceiverNickname

func (x *GiftDetailItem) GetReceiverNickname() string

func (*GiftDetailItem) GetScene

func (x *GiftDetailItem) GetScene() string

func (*GiftDetailItem) GetSendAt

func (x *GiftDetailItem) GetSendAt() string

func (*GiftDetailItem) GetSenderCountry

func (x *GiftDetailItem) GetSenderCountry() string

func (*GiftDetailItem) GetSenderId

func (x *GiftDetailItem) GetSenderId() int64

func (*GiftDetailItem) GetSenderNickname

func (x *GiftDetailItem) GetSenderNickname() string

func (*GiftDetailItem) GetTotalExp

func (x *GiftDetailItem) GetTotalExp() int64

func (*GiftDetailItem) ProtoMessage

func (*GiftDetailItem) ProtoMessage()

func (*GiftDetailItem) ProtoReflect

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

func (*GiftDetailItem) Reset

func (x *GiftDetailItem) Reset()

func (*GiftDetailItem) String

func (x *GiftDetailItem) String() string

func (*GiftDetailItem) Validate

func (m *GiftDetailItem) Validate() error

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

func (m *GiftDetailItem) ValidateAll() error

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

type GiftDetailItemMultiError

type GiftDetailItemMultiError []error

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

func (GiftDetailItemMultiError) AllErrors

func (m GiftDetailItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GiftDetailItemMultiError) Error

func (m GiftDetailItemMultiError) Error() string

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

type GiftDetailItemValidationError

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

GiftDetailItemValidationError is the validation error returned by GiftDetailItem.Validate if the designated constraints aren't met.

func (GiftDetailItemValidationError) Cause

Cause function returns cause value.

func (GiftDetailItemValidationError) Error

Error satisfies the builtin error interface

func (GiftDetailItemValidationError) ErrorName

func (e GiftDetailItemValidationError) ErrorName() string

ErrorName returns error name.

func (GiftDetailItemValidationError) Field

Field function returns field value.

func (GiftDetailItemValidationError) Key

Key function returns key value.

func (GiftDetailItemValidationError) Reason

Reason function returns reason value.

type GiftDetailService

type GiftDetailService interface {
	Create(ctx context.Context, in *CreateReq, opts ...client.CallOption) (*CreateRes, error)
	List(ctx context.Context, in *ListReq, opts ...client.CallOption) (*ListRes, error)
	GetById(ctx context.Context, in *GetByIdReq, opts ...client.CallOption) (*GetByIdRes, error)
	TrueTimeLiveDiamond(ctx context.Context, in *LiveDiamondReq, opts ...client.CallOption) (*LiveDiamondRes, error)
	HourlyLiveDiamondMulti(ctx context.Context, in *HourlyLiveDiamondMultiReq, opts ...client.CallOption) (*HourlyLiveDiamondMultiRes, error)
	TrueTimeLiveDiamondMulti(ctx context.Context, in *LiveDiamondMultiReq, opts ...client.CallOption) (*LiveDiamondMultiRes, error)
	TrueTimeLiveAudienceDiamondMulti(ctx context.Context, in *TrueTimeLiveAudienceDiamondMultiReq, opts ...client.CallOption) (*TrueTimeLiveAudienceDiamondMultiRes, error)
	FinalLiveDiamond(ctx context.Context, in *LiveDiamondReq, opts ...client.CallOption) (*LiveDiamondRes, error)
	FinalLiveDiamondMulti(ctx context.Context, in *LiveDiamondMultiReq, opts ...client.CallOption) (*LiveDiamondMultiRes, error)
	FinalLiveAudience(ctx context.Context, in *FinalLiveAudienceReq, opts ...client.CallOption) (*FinalLiveAudienceRes, error)
	LiveAudienceDiamondRank(ctx context.Context, in *LiveAudienceDiamondRankReq, opts ...client.CallOption) (*LiveAudienceDiamondRankRes, error)
	TotalDiamondIncome(ctx context.Context, in *TotalDiamondIncomeReq, opts ...client.CallOption) (*TotalDiamondIncomeRes, error)
	TotalDiamondExpend(ctx context.Context, in *TotalDiamondExpendReq, opts ...client.CallOption) (*TotalDiamondExpendRes, error)
	SendersAmountBeanTotal(ctx context.Context, in *SendersAmountBeanTotalReq, opts ...client.CallOption) (*SendersAmountBeanTotalRes, error)
	ReceiverAmountDiamondTotal(ctx context.Context, in *ReceiverAmountDiamondTotalReq, opts ...client.CallOption) (*ReceiverAmountDiamondTotalRes, error)
}

func NewGiftDetailService

func NewGiftDetailService(name string, c client.Client) GiftDetailService

type HourlyLiveDiamondMultiReq

type HourlyLiveDiamondMultiReq struct {
	Hour   string  `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour"`                           // 小时(以服务器时间为准) eg '2022-08-30-0' '2022-08-30-23'
	LiveId []int64 `protobuf:"varint,2,rep,packed,name=live_id,json=liveId,proto3" json:"live_id"` // 直播id
	// contains filtered or unexported fields
}

func (*HourlyLiveDiamondMultiReq) Descriptor deprecated

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

Deprecated: Use HourlyLiveDiamondMultiReq.ProtoReflect.Descriptor instead.

func (*HourlyLiveDiamondMultiReq) GetHour

func (x *HourlyLiveDiamondMultiReq) GetHour() string

func (*HourlyLiveDiamondMultiReq) GetLiveId

func (x *HourlyLiveDiamondMultiReq) GetLiveId() []int64

func (*HourlyLiveDiamondMultiReq) ProtoMessage

func (*HourlyLiveDiamondMultiReq) ProtoMessage()

func (*HourlyLiveDiamondMultiReq) ProtoReflect

func (*HourlyLiveDiamondMultiReq) Reset

func (x *HourlyLiveDiamondMultiReq) Reset()

func (*HourlyLiveDiamondMultiReq) String

func (x *HourlyLiveDiamondMultiReq) String() string

func (*HourlyLiveDiamondMultiReq) Validate

func (m *HourlyLiveDiamondMultiReq) Validate() error

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

func (m *HourlyLiveDiamondMultiReq) ValidateAll() error

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

type HourlyLiveDiamondMultiReqMultiError

type HourlyLiveDiamondMultiReqMultiError []error

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

func (HourlyLiveDiamondMultiReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (HourlyLiveDiamondMultiReqMultiError) Error

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

type HourlyLiveDiamondMultiReqValidationError

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

HourlyLiveDiamondMultiReqValidationError is the validation error returned by HourlyLiveDiamondMultiReq.Validate if the designated constraints aren't met.

func (HourlyLiveDiamondMultiReqValidationError) Cause

Cause function returns cause value.

func (HourlyLiveDiamondMultiReqValidationError) Error

Error satisfies the builtin error interface

func (HourlyLiveDiamondMultiReqValidationError) ErrorName

ErrorName returns error name.

func (HourlyLiveDiamondMultiReqValidationError) Field

Field function returns field value.

func (HourlyLiveDiamondMultiReqValidationError) Key

Key function returns key value.

func (HourlyLiveDiamondMultiReqValidationError) Reason

Reason function returns reason value.

type HourlyLiveDiamondMultiRes

type HourlyLiveDiamondMultiRes struct {
	DiamondMap map[int64]int64 `` // 直播ID -> 钻石统计
	/* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HourlyLiveDiamondMultiRes) Descriptor deprecated

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

Deprecated: Use HourlyLiveDiamondMultiRes.ProtoReflect.Descriptor instead.

func (*HourlyLiveDiamondMultiRes) GetDiamondMap

func (x *HourlyLiveDiamondMultiRes) GetDiamondMap() map[int64]int64

func (*HourlyLiveDiamondMultiRes) ProtoMessage

func (*HourlyLiveDiamondMultiRes) ProtoMessage()

func (*HourlyLiveDiamondMultiRes) ProtoReflect

func (*HourlyLiveDiamondMultiRes) Reset

func (x *HourlyLiveDiamondMultiRes) Reset()

func (*HourlyLiveDiamondMultiRes) String

func (x *HourlyLiveDiamondMultiRes) String() string

func (*HourlyLiveDiamondMultiRes) Validate

func (m *HourlyLiveDiamondMultiRes) Validate() error

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

func (m *HourlyLiveDiamondMultiRes) ValidateAll() error

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

type HourlyLiveDiamondMultiResMultiError

type HourlyLiveDiamondMultiResMultiError []error

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

func (HourlyLiveDiamondMultiResMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (HourlyLiveDiamondMultiResMultiError) Error

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

type HourlyLiveDiamondMultiResValidationError

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

HourlyLiveDiamondMultiResValidationError is the validation error returned by HourlyLiveDiamondMultiRes.Validate if the designated constraints aren't met.

func (HourlyLiveDiamondMultiResValidationError) Cause

Cause function returns cause value.

func (HourlyLiveDiamondMultiResValidationError) Error

Error satisfies the builtin error interface

func (HourlyLiveDiamondMultiResValidationError) ErrorName

ErrorName returns error name.

func (HourlyLiveDiamondMultiResValidationError) Field

Field function returns field value.

func (HourlyLiveDiamondMultiResValidationError) Key

Key function returns key value.

func (HourlyLiveDiamondMultiResValidationError) Reason

Reason function returns reason value.

type ListReq

type ListReq struct {
	ReceiverId int64  `protobuf:"varint,1,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id"` // 收礼人ID
	SenderId   int64  `protobuf:"varint,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id"`       // 送礼人ID
	GiftId     int64  `protobuf:"varint,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`             // 礼物ID
	LiveId     int64  `protobuf:"varint,4,opt,name=live_id,json=liveId,proto3" json:"live_id"`             // 直播ID
	StartTime  string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"`     // 送礼物开始时间
	EndTime    string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time"`           // 送礼物结束时间
	Page       int64  `protobuf:"varint,40,opt,name=page,proto3" json:"page"`                              // 页码
	Size       int64  `protobuf:"varint,41,opt,name=size,proto3" json:"size"`                              // 单页记录数
	Sort       string `protobuf:"bytes,42,opt,name=sort,proto3" json:"sort"`                               // 排序方式 asc/desc
	Order      string `protobuf:"bytes,43,opt,name=order,proto3" json:"order"`                             // 排序值 created_at
	// contains filtered or unexported fields
}

func (*ListReq) Descriptor deprecated

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

Deprecated: Use ListReq.ProtoReflect.Descriptor instead.

func (*ListReq) GetEndTime

func (x *ListReq) GetEndTime() string

func (*ListReq) GetGiftId

func (x *ListReq) GetGiftId() int64

func (*ListReq) GetLiveId

func (x *ListReq) GetLiveId() int64

func (*ListReq) GetOrder

func (x *ListReq) GetOrder() string

func (*ListReq) GetPage

func (x *ListReq) GetPage() int64

func (*ListReq) GetReceiverId

func (x *ListReq) GetReceiverId() int64

func (*ListReq) GetSenderId

func (x *ListReq) GetSenderId() int64

func (*ListReq) GetSize

func (x *ListReq) GetSize() int64

func (*ListReq) GetSort

func (x *ListReq) GetSort() string

func (*ListReq) GetStartTime

func (x *ListReq) GetStartTime() string

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

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

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) String

func (x *ListReq) String() string

func (*ListReq) Validate

func (m *ListReq) Validate() error

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

func (m *ListReq) ValidateAll() error

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

type ListReqMultiError

type ListReqMultiError []error

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

func (ListReqMultiError) AllErrors

func (m ListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListReqMultiError) Error

func (m ListReqMultiError) Error() string

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

type ListReqValidationError

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

ListReqValidationError is the validation error returned by ListReq.Validate if the designated constraints aren't met.

func (ListReqValidationError) Cause

func (e ListReqValidationError) Cause() error

Cause function returns cause value.

func (ListReqValidationError) Error

func (e ListReqValidationError) Error() string

Error satisfies the builtin error interface

func (ListReqValidationError) ErrorName

func (e ListReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListReqValidationError) Field

func (e ListReqValidationError) Field() string

Field function returns field value.

func (ListReqValidationError) Key

func (e ListReqValidationError) Key() bool

Key function returns key value.

func (ListReqValidationError) Reason

func (e ListReqValidationError) Reason() string

Reason function returns reason value.

type ListRes

type ListRes struct {
	List  []*GiftDetailItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	Page  int64             `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
	Size  int64             `protobuf:"varint,3,opt,name=size,proto3" json:"size"`
	Total int64             `protobuf:"varint,4,opt,name=total,proto3" json:"total"`
	// contains filtered or unexported fields
}

func (*ListRes) Descriptor deprecated

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

Deprecated: Use ListRes.ProtoReflect.Descriptor instead.

func (*ListRes) GetList

func (x *ListRes) GetList() []*GiftDetailItem

func (*ListRes) GetPage

func (x *ListRes) GetPage() int64

func (*ListRes) GetSize

func (x *ListRes) GetSize() int64

func (*ListRes) GetTotal

func (x *ListRes) GetTotal() int64

func (*ListRes) ProtoMessage

func (*ListRes) ProtoMessage()

func (*ListRes) ProtoReflect

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

func (*ListRes) Reset

func (x *ListRes) Reset()

func (*ListRes) String

func (x *ListRes) String() string

func (*ListRes) Validate

func (m *ListRes) Validate() error

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

func (m *ListRes) ValidateAll() error

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

type ListResMultiError

type ListResMultiError []error

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

func (ListResMultiError) AllErrors

func (m ListResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListResMultiError) Error

func (m ListResMultiError) Error() string

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

type ListResValidationError

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

ListResValidationError is the validation error returned by ListRes.Validate if the designated constraints aren't met.

func (ListResValidationError) Cause

func (e ListResValidationError) Cause() error

Cause function returns cause value.

func (ListResValidationError) Error

func (e ListResValidationError) Error() string

Error satisfies the builtin error interface

func (ListResValidationError) ErrorName

func (e ListResValidationError) ErrorName() string

ErrorName returns error name.

func (ListResValidationError) Field

func (e ListResValidationError) Field() string

Field function returns field value.

func (ListResValidationError) Key

func (e ListResValidationError) Key() bool

Key function returns key value.

func (ListResValidationError) Reason

func (e ListResValidationError) Reason() string

Reason function returns reason value.

type LiveAudienceDiamondItem

type LiveAudienceDiamondItem struct {
	UserId  int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id"` // 用户id
	Diamond int64 `protobuf:"varint,3,opt,name=diamond,proto3" json:"diamond"`             // 本场打赏钻石数量
	// contains filtered or unexported fields
}

func (*LiveAudienceDiamondItem) Descriptor deprecated

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

Deprecated: Use LiveAudienceDiamondItem.ProtoReflect.Descriptor instead.

func (*LiveAudienceDiamondItem) GetDiamond

func (x *LiveAudienceDiamondItem) GetDiamond() int64

func (*LiveAudienceDiamondItem) GetUserId

func (x *LiveAudienceDiamondItem) GetUserId() int64

func (*LiveAudienceDiamondItem) ProtoMessage

func (*LiveAudienceDiamondItem) ProtoMessage()

func (*LiveAudienceDiamondItem) ProtoReflect

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

func (*LiveAudienceDiamondItem) Reset

func (x *LiveAudienceDiamondItem) Reset()

func (*LiveAudienceDiamondItem) String

func (x *LiveAudienceDiamondItem) String() string

func (*LiveAudienceDiamondItem) Validate

func (m *LiveAudienceDiamondItem) Validate() error

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

func (m *LiveAudienceDiamondItem) ValidateAll() error

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

type LiveAudienceDiamondItemMultiError

type LiveAudienceDiamondItemMultiError []error

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

func (LiveAudienceDiamondItemMultiError) AllErrors

func (m LiveAudienceDiamondItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveAudienceDiamondItemMultiError) Error

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

type LiveAudienceDiamondItemValidationError

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

LiveAudienceDiamondItemValidationError is the validation error returned by LiveAudienceDiamondItem.Validate if the designated constraints aren't met.

func (LiveAudienceDiamondItemValidationError) Cause

Cause function returns cause value.

func (LiveAudienceDiamondItemValidationError) Error

Error satisfies the builtin error interface

func (LiveAudienceDiamondItemValidationError) ErrorName

ErrorName returns error name.

func (LiveAudienceDiamondItemValidationError) Field

Field function returns field value.

func (LiveAudienceDiamondItemValidationError) Key

Key function returns key value.

func (LiveAudienceDiamondItemValidationError) Reason

Reason function returns reason value.

type LiveAudienceDiamondRankReq

type LiveAudienceDiamondRankReq struct {
	LiveId  int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`    // 直播ID
	NextKey int64 `protobuf:"varint,2,opt,name=next_key,json=nextKey,proto3" json:"next_key"` // 偏移量
	// contains filtered or unexported fields
}

func (*LiveAudienceDiamondRankReq) Descriptor deprecated

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

Deprecated: Use LiveAudienceDiamondRankReq.ProtoReflect.Descriptor instead.

func (*LiveAudienceDiamondRankReq) GetLiveId

func (x *LiveAudienceDiamondRankReq) GetLiveId() int64

func (*LiveAudienceDiamondRankReq) GetNextKey

func (x *LiveAudienceDiamondRankReq) GetNextKey() int64

func (*LiveAudienceDiamondRankReq) ProtoMessage

func (*LiveAudienceDiamondRankReq) ProtoMessage()

func (*LiveAudienceDiamondRankReq) ProtoReflect

func (*LiveAudienceDiamondRankReq) Reset

func (x *LiveAudienceDiamondRankReq) Reset()

func (*LiveAudienceDiamondRankReq) String

func (x *LiveAudienceDiamondRankReq) String() string

func (*LiveAudienceDiamondRankReq) Validate

func (m *LiveAudienceDiamondRankReq) Validate() error

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

func (m *LiveAudienceDiamondRankReq) ValidateAll() error

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

type LiveAudienceDiamondRankReqMultiError

type LiveAudienceDiamondRankReqMultiError []error

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

func (LiveAudienceDiamondRankReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveAudienceDiamondRankReqMultiError) Error

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

type LiveAudienceDiamondRankReqValidationError

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

LiveAudienceDiamondRankReqValidationError is the validation error returned by LiveAudienceDiamondRankReq.Validate if the designated constraints aren't met.

func (LiveAudienceDiamondRankReqValidationError) Cause

Cause function returns cause value.

func (LiveAudienceDiamondRankReqValidationError) Error

Error satisfies the builtin error interface

func (LiveAudienceDiamondRankReqValidationError) ErrorName

ErrorName returns error name.

func (LiveAudienceDiamondRankReqValidationError) Field

Field function returns field value.

func (LiveAudienceDiamondRankReqValidationError) Key

Key function returns key value.

func (LiveAudienceDiamondRankReqValidationError) Reason

Reason function returns reason value.

type LiveAudienceDiamondRankRes

type LiveAudienceDiamondRankRes struct {
	List    []*LiveAudienceDiamondItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	NextKey int64                      `protobuf:"varint,2,opt,name=next_key,json=nextKey,proto3" json:"next_key"` // 偏移量
	// contains filtered or unexported fields
}

func (*LiveAudienceDiamondRankRes) Descriptor deprecated

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

Deprecated: Use LiveAudienceDiamondRankRes.ProtoReflect.Descriptor instead.

func (*LiveAudienceDiamondRankRes) GetList

func (*LiveAudienceDiamondRankRes) GetNextKey

func (x *LiveAudienceDiamondRankRes) GetNextKey() int64

func (*LiveAudienceDiamondRankRes) ProtoMessage

func (*LiveAudienceDiamondRankRes) ProtoMessage()

func (*LiveAudienceDiamondRankRes) ProtoReflect

func (*LiveAudienceDiamondRankRes) Reset

func (x *LiveAudienceDiamondRankRes) Reset()

func (*LiveAudienceDiamondRankRes) String

func (x *LiveAudienceDiamondRankRes) String() string

func (*LiveAudienceDiamondRankRes) Validate

func (m *LiveAudienceDiamondRankRes) Validate() error

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

func (m *LiveAudienceDiamondRankRes) ValidateAll() error

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

type LiveAudienceDiamondRankResMultiError

type LiveAudienceDiamondRankResMultiError []error

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

func (LiveAudienceDiamondRankResMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveAudienceDiamondRankResMultiError) Error

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

type LiveAudienceDiamondRankResValidationError

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

LiveAudienceDiamondRankResValidationError is the validation error returned by LiveAudienceDiamondRankRes.Validate if the designated constraints aren't met.

func (LiveAudienceDiamondRankResValidationError) Cause

Cause function returns cause value.

func (LiveAudienceDiamondRankResValidationError) Error

Error satisfies the builtin error interface

func (LiveAudienceDiamondRankResValidationError) ErrorName

ErrorName returns error name.

func (LiveAudienceDiamondRankResValidationError) Field

Field function returns field value.

func (LiveAudienceDiamondRankResValidationError) Key

Key function returns key value.

func (LiveAudienceDiamondRankResValidationError) Reason

Reason function returns reason value.

type LiveDiamondMultiReq

type LiveDiamondMultiReq struct {
	LiveId []int64 `protobuf:"varint,1,rep,packed,name=live_id,json=liveId,proto3" json:"live_id"` // 直播ID
	// contains filtered or unexported fields
}

func (*LiveDiamondMultiReq) Descriptor deprecated

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

Deprecated: Use LiveDiamondMultiReq.ProtoReflect.Descriptor instead.

func (*LiveDiamondMultiReq) GetLiveId

func (x *LiveDiamondMultiReq) GetLiveId() []int64

func (*LiveDiamondMultiReq) ProtoMessage

func (*LiveDiamondMultiReq) ProtoMessage()

func (*LiveDiamondMultiReq) ProtoReflect

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

func (*LiveDiamondMultiReq) Reset

func (x *LiveDiamondMultiReq) Reset()

func (*LiveDiamondMultiReq) String

func (x *LiveDiamondMultiReq) String() string

func (*LiveDiamondMultiReq) Validate

func (m *LiveDiamondMultiReq) Validate() error

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

func (m *LiveDiamondMultiReq) ValidateAll() error

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

type LiveDiamondMultiReqMultiError

type LiveDiamondMultiReqMultiError []error

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

func (LiveDiamondMultiReqMultiError) AllErrors

func (m LiveDiamondMultiReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveDiamondMultiReqMultiError) Error

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

type LiveDiamondMultiReqValidationError

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

LiveDiamondMultiReqValidationError is the validation error returned by LiveDiamondMultiReq.Validate if the designated constraints aren't met.

func (LiveDiamondMultiReqValidationError) Cause

Cause function returns cause value.

func (LiveDiamondMultiReqValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondMultiReqValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondMultiReqValidationError) Field

Field function returns field value.

func (LiveDiamondMultiReqValidationError) Key

Key function returns key value.

func (LiveDiamondMultiReqValidationError) Reason

Reason function returns reason value.

type LiveDiamondMultiRes

type LiveDiamondMultiRes struct {
	DiamondMap map[int64]int64 `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LiveDiamondMultiRes) Descriptor deprecated

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

Deprecated: Use LiveDiamondMultiRes.ProtoReflect.Descriptor instead.

func (*LiveDiamondMultiRes) GetDiamondMap

func (x *LiveDiamondMultiRes) GetDiamondMap() map[int64]int64

func (*LiveDiamondMultiRes) ProtoMessage

func (*LiveDiamondMultiRes) ProtoMessage()

func (*LiveDiamondMultiRes) ProtoReflect

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

func (*LiveDiamondMultiRes) Reset

func (x *LiveDiamondMultiRes) Reset()

func (*LiveDiamondMultiRes) String

func (x *LiveDiamondMultiRes) String() string

func (*LiveDiamondMultiRes) Validate

func (m *LiveDiamondMultiRes) Validate() error

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

func (m *LiveDiamondMultiRes) ValidateAll() error

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

type LiveDiamondMultiResMultiError

type LiveDiamondMultiResMultiError []error

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

func (LiveDiamondMultiResMultiError) AllErrors

func (m LiveDiamondMultiResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveDiamondMultiResMultiError) Error

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

type LiveDiamondMultiResValidationError

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

LiveDiamondMultiResValidationError is the validation error returned by LiveDiamondMultiRes.Validate if the designated constraints aren't met.

func (LiveDiamondMultiResValidationError) Cause

Cause function returns cause value.

func (LiveDiamondMultiResValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondMultiResValidationError) ErrorName

ErrorName returns error name.

func (LiveDiamondMultiResValidationError) Field

Field function returns field value.

func (LiveDiamondMultiResValidationError) Key

Key function returns key value.

func (LiveDiamondMultiResValidationError) Reason

Reason function returns reason value.

type LiveDiamondReq

type LiveDiamondReq struct {
	LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"` // 直播ID
	// contains filtered or unexported fields
}

func (*LiveDiamondReq) Descriptor deprecated

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

Deprecated: Use LiveDiamondReq.ProtoReflect.Descriptor instead.

func (*LiveDiamondReq) GetLiveId

func (x *LiveDiamondReq) GetLiveId() int64

func (*LiveDiamondReq) ProtoMessage

func (*LiveDiamondReq) ProtoMessage()

func (*LiveDiamondReq) ProtoReflect

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

func (*LiveDiamondReq) Reset

func (x *LiveDiamondReq) Reset()

func (*LiveDiamondReq) String

func (x *LiveDiamondReq) String() string

func (*LiveDiamondReq) Validate

func (m *LiveDiamondReq) Validate() error

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

func (m *LiveDiamondReq) ValidateAll() error

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

type LiveDiamondReqMultiError

type LiveDiamondReqMultiError []error

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

func (LiveDiamondReqMultiError) AllErrors

func (m LiveDiamondReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveDiamondReqMultiError) Error

func (m LiveDiamondReqMultiError) Error() string

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

type LiveDiamondReqValidationError

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

LiveDiamondReqValidationError is the validation error returned by LiveDiamondReq.Validate if the designated constraints aren't met.

func (LiveDiamondReqValidationError) Cause

Cause function returns cause value.

func (LiveDiamondReqValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondReqValidationError) ErrorName

func (e LiveDiamondReqValidationError) ErrorName() string

ErrorName returns error name.

func (LiveDiamondReqValidationError) Field

Field function returns field value.

func (LiveDiamondReqValidationError) Key

Key function returns key value.

func (LiveDiamondReqValidationError) Reason

Reason function returns reason value.

type LiveDiamondRes

type LiveDiamondRes struct {
	DiamondAmount int64 `protobuf:"varint,1,opt,name=diamond_amount,json=diamondAmount,proto3" json:"diamond_amount"` // 钻石总额
	// contains filtered or unexported fields
}

func (*LiveDiamondRes) Descriptor deprecated

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

Deprecated: Use LiveDiamondRes.ProtoReflect.Descriptor instead.

func (*LiveDiamondRes) GetDiamondAmount

func (x *LiveDiamondRes) GetDiamondAmount() int64

func (*LiveDiamondRes) ProtoMessage

func (*LiveDiamondRes) ProtoMessage()

func (*LiveDiamondRes) ProtoReflect

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

func (*LiveDiamondRes) Reset

func (x *LiveDiamondRes) Reset()

func (*LiveDiamondRes) String

func (x *LiveDiamondRes) String() string

func (*LiveDiamondRes) Validate

func (m *LiveDiamondRes) Validate() error

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

func (m *LiveDiamondRes) ValidateAll() error

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

type LiveDiamondResMultiError

type LiveDiamondResMultiError []error

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

func (LiveDiamondResMultiError) AllErrors

func (m LiveDiamondResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveDiamondResMultiError) Error

func (m LiveDiamondResMultiError) Error() string

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

type LiveDiamondResValidationError

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

LiveDiamondResValidationError is the validation error returned by LiveDiamondRes.Validate if the designated constraints aren't met.

func (LiveDiamondResValidationError) Cause

Cause function returns cause value.

func (LiveDiamondResValidationError) Error

Error satisfies the builtin error interface

func (LiveDiamondResValidationError) ErrorName

func (e LiveDiamondResValidationError) ErrorName() string

ErrorName returns error name.

func (LiveDiamondResValidationError) Field

Field function returns field value.

func (LiveDiamondResValidationError) Key

Key function returns key value.

func (LiveDiamondResValidationError) Reason

Reason function returns reason value.

type ReceiverAmountDiamondTotalReq

type ReceiverAmountDiamondTotalReq struct {
	Country   string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"`
	StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time"`
	EndTime   string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time"`
	Limit     uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit"`
	// contains filtered or unexported fields
}

func (*ReceiverAmountDiamondTotalReq) Descriptor deprecated

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

Deprecated: Use ReceiverAmountDiamondTotalReq.ProtoReflect.Descriptor instead.

func (*ReceiverAmountDiamondTotalReq) GetCountry

func (x *ReceiverAmountDiamondTotalReq) GetCountry() string

func (*ReceiverAmountDiamondTotalReq) GetEndTime

func (x *ReceiverAmountDiamondTotalReq) GetEndTime() string

func (*ReceiverAmountDiamondTotalReq) GetLimit

func (x *ReceiverAmountDiamondTotalReq) GetLimit() uint32

func (*ReceiverAmountDiamondTotalReq) GetStartTime

func (x *ReceiverAmountDiamondTotalReq) GetStartTime() string

func (*ReceiverAmountDiamondTotalReq) ProtoMessage

func (*ReceiverAmountDiamondTotalReq) ProtoMessage()

func (*ReceiverAmountDiamondTotalReq) ProtoReflect

func (*ReceiverAmountDiamondTotalReq) Reset

func (x *ReceiverAmountDiamondTotalReq) Reset()

func (*ReceiverAmountDiamondTotalReq) String

func (*ReceiverAmountDiamondTotalReq) Validate

func (m *ReceiverAmountDiamondTotalReq) Validate() error

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

func (m *ReceiverAmountDiamondTotalReq) ValidateAll() error

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

type ReceiverAmountDiamondTotalReqMultiError

type ReceiverAmountDiamondTotalReqMultiError []error

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

func (ReceiverAmountDiamondTotalReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReceiverAmountDiamondTotalReqMultiError) Error

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

type ReceiverAmountDiamondTotalReqValidationError

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

ReceiverAmountDiamondTotalReqValidationError is the validation error returned by ReceiverAmountDiamondTotalReq.Validate if the designated constraints aren't met.

func (ReceiverAmountDiamondTotalReqValidationError) Cause

Cause function returns cause value.

func (ReceiverAmountDiamondTotalReqValidationError) Error

Error satisfies the builtin error interface

func (ReceiverAmountDiamondTotalReqValidationError) ErrorName

ErrorName returns error name.

func (ReceiverAmountDiamondTotalReqValidationError) Field

Field function returns field value.

func (ReceiverAmountDiamondTotalReqValidationError) Key

Key function returns key value.

func (ReceiverAmountDiamondTotalReqValidationError) Reason

Reason function returns reason value.

type ReceiverAmountDiamondTotalRes

type ReceiverAmountDiamondTotalRes struct {
	Receivers []*ReceiverAmountDiamondTotalRes_Receivers `protobuf:"bytes,1,rep,name=receivers,proto3" json:"receivers"`
	// contains filtered or unexported fields
}

func (*ReceiverAmountDiamondTotalRes) Descriptor deprecated

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

Deprecated: Use ReceiverAmountDiamondTotalRes.ProtoReflect.Descriptor instead.

func (*ReceiverAmountDiamondTotalRes) GetReceivers

func (*ReceiverAmountDiamondTotalRes) ProtoMessage

func (*ReceiverAmountDiamondTotalRes) ProtoMessage()

func (*ReceiverAmountDiamondTotalRes) ProtoReflect

func (*ReceiverAmountDiamondTotalRes) Reset

func (x *ReceiverAmountDiamondTotalRes) Reset()

func (*ReceiverAmountDiamondTotalRes) String

func (*ReceiverAmountDiamondTotalRes) Validate

func (m *ReceiverAmountDiamondTotalRes) Validate() error

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

func (m *ReceiverAmountDiamondTotalRes) ValidateAll() error

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

type ReceiverAmountDiamondTotalResMultiError

type ReceiverAmountDiamondTotalResMultiError []error

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

func (ReceiverAmountDiamondTotalResMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReceiverAmountDiamondTotalResMultiError) Error

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

type ReceiverAmountDiamondTotalResValidationError

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

ReceiverAmountDiamondTotalResValidationError is the validation error returned by ReceiverAmountDiamondTotalRes.Validate if the designated constraints aren't met.

func (ReceiverAmountDiamondTotalResValidationError) Cause

Cause function returns cause value.

func (ReceiverAmountDiamondTotalResValidationError) Error

Error satisfies the builtin error interface

func (ReceiverAmountDiamondTotalResValidationError) ErrorName

ErrorName returns error name.

func (ReceiverAmountDiamondTotalResValidationError) Field

Field function returns field value.

func (ReceiverAmountDiamondTotalResValidationError) Key

Key function returns key value.

func (ReceiverAmountDiamondTotalResValidationError) Reason

Reason function returns reason value.

type ReceiverAmountDiamondTotalRes_Receivers

type ReceiverAmountDiamondTotalRes_Receivers struct {
	ReceiverId      int64  `protobuf:"varint,1,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id"`
	DiamondTotal    int64  `protobuf:"varint,2,opt,name=diamond_total,json=diamondTotal,proto3" json:"diamond_total"`
	ReceiverCountry string `protobuf:"bytes,3,opt,name=receiver_country,json=receiverCountry,proto3" json:"receiver_country"`
	// contains filtered or unexported fields
}

func (*ReceiverAmountDiamondTotalRes_Receivers) Descriptor deprecated

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

Deprecated: Use ReceiverAmountDiamondTotalRes_Receivers.ProtoReflect.Descriptor instead.

func (*ReceiverAmountDiamondTotalRes_Receivers) GetDiamondTotal

func (x *ReceiverAmountDiamondTotalRes_Receivers) GetDiamondTotal() int64

func (*ReceiverAmountDiamondTotalRes_Receivers) GetReceiverCountry

func (x *ReceiverAmountDiamondTotalRes_Receivers) GetReceiverCountry() string

func (*ReceiverAmountDiamondTotalRes_Receivers) GetReceiverId

func (*ReceiverAmountDiamondTotalRes_Receivers) ProtoMessage

func (*ReceiverAmountDiamondTotalRes_Receivers) ProtoReflect

func (*ReceiverAmountDiamondTotalRes_Receivers) Reset

func (*ReceiverAmountDiamondTotalRes_Receivers) String

func (*ReceiverAmountDiamondTotalRes_Receivers) Validate

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

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

type ReceiverAmountDiamondTotalRes_ReceiversMultiError

type ReceiverAmountDiamondTotalRes_ReceiversMultiError []error

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

func (ReceiverAmountDiamondTotalRes_ReceiversMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReceiverAmountDiamondTotalRes_ReceiversMultiError) Error

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

type ReceiverAmountDiamondTotalRes_ReceiversValidationError

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

ReceiverAmountDiamondTotalRes_ReceiversValidationError is the validation error returned by ReceiverAmountDiamondTotalRes_Receivers.Validate if the designated constraints aren't met.

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) Cause

Cause function returns cause value.

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) Error

Error satisfies the builtin error interface

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) ErrorName

ErrorName returns error name.

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) Field

Field function returns field value.

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) Key

Key function returns key value.

func (ReceiverAmountDiamondTotalRes_ReceiversValidationError) Reason

Reason function returns reason value.

type SendersAmountBeanTotalReq

type SendersAmountBeanTotalReq struct {
	Country   string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"`
	StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time"`
	EndTime   string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time"`
	Limit     uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit"`
	// contains filtered or unexported fields
}

func (*SendersAmountBeanTotalReq) Descriptor deprecated

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

Deprecated: Use SendersAmountBeanTotalReq.ProtoReflect.Descriptor instead.

func (*SendersAmountBeanTotalReq) GetCountry

func (x *SendersAmountBeanTotalReq) GetCountry() string

func (*SendersAmountBeanTotalReq) GetEndTime

func (x *SendersAmountBeanTotalReq) GetEndTime() string

func (*SendersAmountBeanTotalReq) GetLimit

func (x *SendersAmountBeanTotalReq) GetLimit() uint32

func (*SendersAmountBeanTotalReq) GetStartTime

func (x *SendersAmountBeanTotalReq) GetStartTime() string

func (*SendersAmountBeanTotalReq) ProtoMessage

func (*SendersAmountBeanTotalReq) ProtoMessage()

func (*SendersAmountBeanTotalReq) ProtoReflect

func (*SendersAmountBeanTotalReq) Reset

func (x *SendersAmountBeanTotalReq) Reset()

func (*SendersAmountBeanTotalReq) String

func (x *SendersAmountBeanTotalReq) String() string

func (*SendersAmountBeanTotalReq) Validate

func (m *SendersAmountBeanTotalReq) Validate() error

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

func (m *SendersAmountBeanTotalReq) ValidateAll() error

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

type SendersAmountBeanTotalReqMultiError

type SendersAmountBeanTotalReqMultiError []error

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

func (SendersAmountBeanTotalReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendersAmountBeanTotalReqMultiError) Error

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

type SendersAmountBeanTotalReqValidationError

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

SendersAmountBeanTotalReqValidationError is the validation error returned by SendersAmountBeanTotalReq.Validate if the designated constraints aren't met.

func (SendersAmountBeanTotalReqValidationError) Cause

Cause function returns cause value.

func (SendersAmountBeanTotalReqValidationError) Error

Error satisfies the builtin error interface

func (SendersAmountBeanTotalReqValidationError) ErrorName

ErrorName returns error name.

func (SendersAmountBeanTotalReqValidationError) Field

Field function returns field value.

func (SendersAmountBeanTotalReqValidationError) Key

Key function returns key value.

func (SendersAmountBeanTotalReqValidationError) Reason

Reason function returns reason value.

type SendersAmountBeanTotalRes

type SendersAmountBeanTotalRes struct {
	Senders []*SendersAmountBeanTotalRes_Senders `protobuf:"bytes,1,rep,name=senders,proto3" json:"senders"`
	// contains filtered or unexported fields
}

func (*SendersAmountBeanTotalRes) Descriptor deprecated

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

Deprecated: Use SendersAmountBeanTotalRes.ProtoReflect.Descriptor instead.

func (*SendersAmountBeanTotalRes) GetSenders

func (*SendersAmountBeanTotalRes) ProtoMessage

func (*SendersAmountBeanTotalRes) ProtoMessage()

func (*SendersAmountBeanTotalRes) ProtoReflect

func (*SendersAmountBeanTotalRes) Reset

func (x *SendersAmountBeanTotalRes) Reset()

func (*SendersAmountBeanTotalRes) String

func (x *SendersAmountBeanTotalRes) String() string

func (*SendersAmountBeanTotalRes) Validate

func (m *SendersAmountBeanTotalRes) Validate() error

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

func (m *SendersAmountBeanTotalRes) ValidateAll() error

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

type SendersAmountBeanTotalResMultiError

type SendersAmountBeanTotalResMultiError []error

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

func (SendersAmountBeanTotalResMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendersAmountBeanTotalResMultiError) Error

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

type SendersAmountBeanTotalResValidationError

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

SendersAmountBeanTotalResValidationError is the validation error returned by SendersAmountBeanTotalRes.Validate if the designated constraints aren't met.

func (SendersAmountBeanTotalResValidationError) Cause

Cause function returns cause value.

func (SendersAmountBeanTotalResValidationError) Error

Error satisfies the builtin error interface

func (SendersAmountBeanTotalResValidationError) ErrorName

ErrorName returns error name.

func (SendersAmountBeanTotalResValidationError) Field

Field function returns field value.

func (SendersAmountBeanTotalResValidationError) Key

Key function returns key value.

func (SendersAmountBeanTotalResValidationError) Reason

Reason function returns reason value.

type SendersAmountBeanTotalRes_Senders

type SendersAmountBeanTotalRes_Senders struct {
	SenderId      int64  `protobuf:"varint,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id"`
	BeanTotal     int64  `protobuf:"varint,2,opt,name=bean_total,json=beanTotal,proto3" json:"bean_total"`
	SenderCountry string `protobuf:"bytes,3,opt,name=sender_country,json=senderCountry,proto3" json:"sender_country"`
	// contains filtered or unexported fields
}

func (*SendersAmountBeanTotalRes_Senders) Descriptor deprecated

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

Deprecated: Use SendersAmountBeanTotalRes_Senders.ProtoReflect.Descriptor instead.

func (*SendersAmountBeanTotalRes_Senders) GetBeanTotal

func (x *SendersAmountBeanTotalRes_Senders) GetBeanTotal() int64

func (*SendersAmountBeanTotalRes_Senders) GetSenderCountry

func (x *SendersAmountBeanTotalRes_Senders) GetSenderCountry() string

func (*SendersAmountBeanTotalRes_Senders) GetSenderId

func (x *SendersAmountBeanTotalRes_Senders) GetSenderId() int64

func (*SendersAmountBeanTotalRes_Senders) ProtoMessage

func (*SendersAmountBeanTotalRes_Senders) ProtoMessage()

func (*SendersAmountBeanTotalRes_Senders) ProtoReflect

func (*SendersAmountBeanTotalRes_Senders) Reset

func (*SendersAmountBeanTotalRes_Senders) String

func (*SendersAmountBeanTotalRes_Senders) Validate

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

func (m *SendersAmountBeanTotalRes_Senders) ValidateAll() error

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

type SendersAmountBeanTotalRes_SendersMultiError

type SendersAmountBeanTotalRes_SendersMultiError []error

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

func (SendersAmountBeanTotalRes_SendersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendersAmountBeanTotalRes_SendersMultiError) Error

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

type SendersAmountBeanTotalRes_SendersValidationError

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

SendersAmountBeanTotalRes_SendersValidationError is the validation error returned by SendersAmountBeanTotalRes_Senders.Validate if the designated constraints aren't met.

func (SendersAmountBeanTotalRes_SendersValidationError) Cause

Cause function returns cause value.

func (SendersAmountBeanTotalRes_SendersValidationError) Error

Error satisfies the builtin error interface

func (SendersAmountBeanTotalRes_SendersValidationError) ErrorName

ErrorName returns error name.

func (SendersAmountBeanTotalRes_SendersValidationError) Field

Field function returns field value.

func (SendersAmountBeanTotalRes_SendersValidationError) Key

Key function returns key value.

func (SendersAmountBeanTotalRes_SendersValidationError) Reason

Reason function returns reason value.

type TotalDiamondExpendReq

type TotalDiamondExpendReq struct {
	SenderId int64 `protobuf:"varint,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id"`
	// contains filtered or unexported fields
}

func (*TotalDiamondExpendReq) Descriptor deprecated

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

Deprecated: Use TotalDiamondExpendReq.ProtoReflect.Descriptor instead.

func (*TotalDiamondExpendReq) GetSenderId

func (x *TotalDiamondExpendReq) GetSenderId() int64

func (*TotalDiamondExpendReq) ProtoMessage

func (*TotalDiamondExpendReq) ProtoMessage()

func (*TotalDiamondExpendReq) ProtoReflect

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

func (*TotalDiamondExpendReq) Reset

func (x *TotalDiamondExpendReq) Reset()

func (*TotalDiamondExpendReq) String

func (x *TotalDiamondExpendReq) String() string

func (*TotalDiamondExpendReq) Validate

func (m *TotalDiamondExpendReq) Validate() error

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

func (m *TotalDiamondExpendReq) ValidateAll() error

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

type TotalDiamondExpendReqMultiError

type TotalDiamondExpendReqMultiError []error

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

func (TotalDiamondExpendReqMultiError) AllErrors

func (m TotalDiamondExpendReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TotalDiamondExpendReqMultiError) Error

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

type TotalDiamondExpendReqValidationError

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

TotalDiamondExpendReqValidationError is the validation error returned by TotalDiamondExpendReq.Validate if the designated constraints aren't met.

func (TotalDiamondExpendReqValidationError) Cause

Cause function returns cause value.

func (TotalDiamondExpendReqValidationError) Error

Error satisfies the builtin error interface

func (TotalDiamondExpendReqValidationError) ErrorName

ErrorName returns error name.

func (TotalDiamondExpendReqValidationError) Field

Field function returns field value.

func (TotalDiamondExpendReqValidationError) Key

Key function returns key value.

func (TotalDiamondExpendReqValidationError) Reason

Reason function returns reason value.

type TotalDiamondExpendRes

type TotalDiamondExpendRes struct {
	TotalAmount int64 `protobuf:"varint,1,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount"`
	// contains filtered or unexported fields
}

func (*TotalDiamondExpendRes) Descriptor deprecated

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

Deprecated: Use TotalDiamondExpendRes.ProtoReflect.Descriptor instead.

func (*TotalDiamondExpendRes) GetTotalAmount

func (x *TotalDiamondExpendRes) GetTotalAmount() int64

func (*TotalDiamondExpendRes) ProtoMessage

func (*TotalDiamondExpendRes) ProtoMessage()

func (*TotalDiamondExpendRes) ProtoReflect

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

func (*TotalDiamondExpendRes) Reset

func (x *TotalDiamondExpendRes) Reset()

func (*TotalDiamondExpendRes) String

func (x *TotalDiamondExpendRes) String() string

func (*TotalDiamondExpendRes) Validate

func (m *TotalDiamondExpendRes) Validate() error

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

func (m *TotalDiamondExpendRes) ValidateAll() error

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

type TotalDiamondExpendResMultiError

type TotalDiamondExpendResMultiError []error

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

func (TotalDiamondExpendResMultiError) AllErrors

func (m TotalDiamondExpendResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TotalDiamondExpendResMultiError) Error

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

type TotalDiamondExpendResValidationError

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

TotalDiamondExpendResValidationError is the validation error returned by TotalDiamondExpendRes.Validate if the designated constraints aren't met.

func (TotalDiamondExpendResValidationError) Cause

Cause function returns cause value.

func (TotalDiamondExpendResValidationError) Error

Error satisfies the builtin error interface

func (TotalDiamondExpendResValidationError) ErrorName

ErrorName returns error name.

func (TotalDiamondExpendResValidationError) Field

Field function returns field value.

func (TotalDiamondExpendResValidationError) Key

Key function returns key value.

func (TotalDiamondExpendResValidationError) Reason

Reason function returns reason value.

type TotalDiamondIncomeReq

type TotalDiamondIncomeReq struct {
	ReceiverId int64  `protobuf:"varint,1,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id"`
	StartTime  string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"` // 收礼物开始时间(含)
	EndTime    string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time"`       // 收礼物结束时间(不含)
	// contains filtered or unexported fields
}

func (*TotalDiamondIncomeReq) Descriptor deprecated

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

Deprecated: Use TotalDiamondIncomeReq.ProtoReflect.Descriptor instead.

func (*TotalDiamondIncomeReq) GetEndTime

func (x *TotalDiamondIncomeReq) GetEndTime() string

func (*TotalDiamondIncomeReq) GetReceiverId

func (x *TotalDiamondIncomeReq) GetReceiverId() int64

func (*TotalDiamondIncomeReq) GetStartTime

func (x *TotalDiamondIncomeReq) GetStartTime() string

func (*TotalDiamondIncomeReq) ProtoMessage

func (*TotalDiamondIncomeReq) ProtoMessage()

func (*TotalDiamondIncomeReq) ProtoReflect

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

func (*TotalDiamondIncomeReq) Reset

func (x *TotalDiamondIncomeReq) Reset()

func (*TotalDiamondIncomeReq) String

func (x *TotalDiamondIncomeReq) String() string

func (*TotalDiamondIncomeReq) Validate

func (m *TotalDiamondIncomeReq) Validate() error

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

func (m *TotalDiamondIncomeReq) ValidateAll() error

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

type TotalDiamondIncomeReqMultiError

type TotalDiamondIncomeReqMultiError []error

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

func (TotalDiamondIncomeReqMultiError) AllErrors

func (m TotalDiamondIncomeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TotalDiamondIncomeReqMultiError) Error

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

type TotalDiamondIncomeReqValidationError

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

TotalDiamondIncomeReqValidationError is the validation error returned by TotalDiamondIncomeReq.Validate if the designated constraints aren't met.

func (TotalDiamondIncomeReqValidationError) Cause

Cause function returns cause value.

func (TotalDiamondIncomeReqValidationError) Error

Error satisfies the builtin error interface

func (TotalDiamondIncomeReqValidationError) ErrorName

ErrorName returns error name.

func (TotalDiamondIncomeReqValidationError) Field

Field function returns field value.

func (TotalDiamondIncomeReqValidationError) Key

Key function returns key value.

func (TotalDiamondIncomeReqValidationError) Reason

Reason function returns reason value.

type TotalDiamondIncomeRes

type TotalDiamondIncomeRes struct {
	Live map[int64]int64 `` // 直播分类->钻石统计
	/* 141-byte string literal not displayed */
	GroupChat   int64 `protobuf:"varint,2,opt,name=group_chat,json=groupChat,proto3" json:"group_chat"`       // 群聊收礼
	PrivateChat int64 `protobuf:"varint,3,opt,name=private_chat,json=privateChat,proto3" json:"private_chat"` // 私聊收礼
	// contains filtered or unexported fields
}

func (*TotalDiamondIncomeRes) Descriptor deprecated

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

Deprecated: Use TotalDiamondIncomeRes.ProtoReflect.Descriptor instead.

func (*TotalDiamondIncomeRes) GetGroupChat

func (x *TotalDiamondIncomeRes) GetGroupChat() int64

func (*TotalDiamondIncomeRes) GetLive

func (x *TotalDiamondIncomeRes) GetLive() map[int64]int64

func (*TotalDiamondIncomeRes) GetLiveClassAmount

func (x *TotalDiamondIncomeRes) GetLiveClassAmount(classId int64) int64

func (*TotalDiamondIncomeRes) GetPrivateChat

func (x *TotalDiamondIncomeRes) GetPrivateChat() int64

func (*TotalDiamondIncomeRes) ProtoMessage

func (*TotalDiamondIncomeRes) ProtoMessage()

func (*TotalDiamondIncomeRes) ProtoReflect

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

func (*TotalDiamondIncomeRes) Reset

func (x *TotalDiamondIncomeRes) Reset()

func (*TotalDiamondIncomeRes) String

func (x *TotalDiamondIncomeRes) String() string

func (*TotalDiamondIncomeRes) Validate

func (m *TotalDiamondIncomeRes) Validate() error

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

func (m *TotalDiamondIncomeRes) ValidateAll() error

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

type TotalDiamondIncomeResMultiError

type TotalDiamondIncomeResMultiError []error

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

func (TotalDiamondIncomeResMultiError) AllErrors

func (m TotalDiamondIncomeResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TotalDiamondIncomeResMultiError) Error

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

type TotalDiamondIncomeResValidationError

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

TotalDiamondIncomeResValidationError is the validation error returned by TotalDiamondIncomeRes.Validate if the designated constraints aren't met.

func (TotalDiamondIncomeResValidationError) Cause

Cause function returns cause value.

func (TotalDiamondIncomeResValidationError) Error

Error satisfies the builtin error interface

func (TotalDiamondIncomeResValidationError) ErrorName

ErrorName returns error name.

func (TotalDiamondIncomeResValidationError) Field

Field function returns field value.

func (TotalDiamondIncomeResValidationError) Key

Key function returns key value.

func (TotalDiamondIncomeResValidationError) Reason

Reason function returns reason value.

type TrueTimeLiveAudienceDiamondMultiReq

type TrueTimeLiveAudienceDiamondMultiReq struct {
	LiveId     int64   `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`                    // 直播ID
	AudienceId []int64 `protobuf:"varint,2,rep,packed,name=audience_id,json=audienceId,proto3" json:"audience_id"` // 观众id列表
	// contains filtered or unexported fields
}

func (*TrueTimeLiveAudienceDiamondMultiReq) Descriptor deprecated

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

Deprecated: Use TrueTimeLiveAudienceDiamondMultiReq.ProtoReflect.Descriptor instead.

func (*TrueTimeLiveAudienceDiamondMultiReq) GetAudienceId

func (x *TrueTimeLiveAudienceDiamondMultiReq) GetAudienceId() []int64

func (*TrueTimeLiveAudienceDiamondMultiReq) GetLiveId

func (*TrueTimeLiveAudienceDiamondMultiReq) ProtoMessage

func (*TrueTimeLiveAudienceDiamondMultiReq) ProtoMessage()

func (*TrueTimeLiveAudienceDiamondMultiReq) ProtoReflect

func (*TrueTimeLiveAudienceDiamondMultiReq) Reset

func (*TrueTimeLiveAudienceDiamondMultiReq) String

func (*TrueTimeLiveAudienceDiamondMultiReq) Validate

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

func (m *TrueTimeLiveAudienceDiamondMultiReq) ValidateAll() error

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

type TrueTimeLiveAudienceDiamondMultiReqMultiError

type TrueTimeLiveAudienceDiamondMultiReqMultiError []error

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

func (TrueTimeLiveAudienceDiamondMultiReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (TrueTimeLiveAudienceDiamondMultiReqMultiError) Error

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

type TrueTimeLiveAudienceDiamondMultiReqValidationError

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

TrueTimeLiveAudienceDiamondMultiReqValidationError is the validation error returned by TrueTimeLiveAudienceDiamondMultiReq.Validate if the designated constraints aren't met.

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) Cause

Cause function returns cause value.

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) Error

Error satisfies the builtin error interface

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) ErrorName

ErrorName returns error name.

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) Field

Field function returns field value.

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) Key

Key function returns key value.

func (TrueTimeLiveAudienceDiamondMultiReqValidationError) Reason

Reason function returns reason value.

type TrueTimeLiveAudienceDiamondMultiRes

type TrueTimeLiveAudienceDiamondMultiRes struct {
	DiamondMap map[int64]int64 `` // 观众ID -> 钻石统计
	/* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TrueTimeLiveAudienceDiamondMultiRes) Descriptor deprecated

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

Deprecated: Use TrueTimeLiveAudienceDiamondMultiRes.ProtoReflect.Descriptor instead.

func (*TrueTimeLiveAudienceDiamondMultiRes) GetDiamondMap

func (x *TrueTimeLiveAudienceDiamondMultiRes) GetDiamondMap() map[int64]int64

func (*TrueTimeLiveAudienceDiamondMultiRes) ProtoMessage

func (*TrueTimeLiveAudienceDiamondMultiRes) ProtoMessage()

func (*TrueTimeLiveAudienceDiamondMultiRes) ProtoReflect

func (*TrueTimeLiveAudienceDiamondMultiRes) Reset

func (*TrueTimeLiveAudienceDiamondMultiRes) String

func (*TrueTimeLiveAudienceDiamondMultiRes) Validate

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

func (m *TrueTimeLiveAudienceDiamondMultiRes) ValidateAll() error

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

type TrueTimeLiveAudienceDiamondMultiResMultiError

type TrueTimeLiveAudienceDiamondMultiResMultiError []error

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

func (TrueTimeLiveAudienceDiamondMultiResMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (TrueTimeLiveAudienceDiamondMultiResMultiError) Error

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

type TrueTimeLiveAudienceDiamondMultiResValidationError

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

TrueTimeLiveAudienceDiamondMultiResValidationError is the validation error returned by TrueTimeLiveAudienceDiamondMultiRes.Validate if the designated constraints aren't met.

func (TrueTimeLiveAudienceDiamondMultiResValidationError) Cause

Cause function returns cause value.

func (TrueTimeLiveAudienceDiamondMultiResValidationError) Error

Error satisfies the builtin error interface

func (TrueTimeLiveAudienceDiamondMultiResValidationError) ErrorName

ErrorName returns error name.

func (TrueTimeLiveAudienceDiamondMultiResValidationError) Field

Field function returns field value.

func (TrueTimeLiveAudienceDiamondMultiResValidationError) Key

Key function returns key value.

func (TrueTimeLiveAudienceDiamondMultiResValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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