Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AidCache ¶
type AidCache struct {
Aid uint32 `json:"aid"` // 广告位
TimeLen uint32 `json:"time_len"` // 视频时长
AdBreak1 uint32 `json:"ad_break1"` // 中插点位1
AdBreak2 uint32 `json:"ad_break2"` // 中插点位2
AdBreak3 uint32 `json:"ad_break3"` // 中插点位3
AdBreak4 uint32 `json:"ad_break4"` // 中插点位4
AdBreak5 uint32 `json:"ad_break5"` // 中插点位5
AdFlag int `json:"ad_flag"` // 华纳 HBO标志
TypeId uint32 `json:"type_id"` // 大分类id
ColumnId int `json:"column_id"` // 栏目id
IvbBreaks []uint32 `json:"ivb_breaks"` // IVB中插
UploadQQ uint32 `json:"upload_qq"` // 上传者qq号
WatchBuys []WatchBuy `json:"watch_buys"` // 边看边买中插
ImgTag []uint32 `json:"img_tag"` // 角标广告中插点
CidStatus uint32 `json:"cid_status"` // 专辑的付费类型
NoAdStatus uint32 `json:"no_ad_status"` // 媒资信息中配置的免广告逻辑
VcomDealFlag uint32 `json:"vcom_deal_flag"` // 商业化免广告标记
PayStatus uint32 `json:"pay_status"` // 视频付费类型
ResourceType int32 `json:"resource_type"` // 视频资源类型 1-NBA视频
}
func NewAidCache ¶
func NewAidCache() *AidCache
func (AidCache) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (AidCache) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*AidCache) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AidCache) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type WatchBuy ¶
type WatchBuy struct {
Time int `json:"time"`
Product int `json:"product"`
Anchor int `json:"anchor"`
PosX int `json:"pos_x"`
PoxY int `json:"pos_y"`
}
func (WatchBuy) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (WatchBuy) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*WatchBuy) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*WatchBuy) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.