Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { Ahead string `json:"ahead"` FileSize int64 `json:"filesize"` TimeLength int64 `json:"timelength"` Vhead string `json:"vhead"` Path string `json:"path"` URL string `json:"url"` URLBc string `json:"url_bc"` }
FileInfo bvc fileinfo
type VideoPlay ¶
type VideoPlay struct { SVID int64 `json:"svid"` ExpireTime int64 `json:"expire_time"` //过期时间 FileInfo []*FileInfo `json:"file_info"` //分片信息 Quality int64 `json:"quality"` //清晰度 SupportQuality []int64 `json:"support_quality"` //支持清晰度 URL string `json:"url"` //基础url CurrentTime int64 `json:"current_time"` //当前时间戳 }
VideoPlay playinfo
type VideoPlayRequest ¶
type VideoPlayRequest struct {
SIVD []int64 `json:"svid" form:"svid" validate:"required"`
}
VideoPlayRequest ..
type ViewsAddRequest ¶
type ViewsAddRequest struct { Svid int64 `json:"svid" form:"svid" validate:"required"` Views int `json:"views" form:"views"` }
ViewsAddRequest .
type ViewsAddResponse ¶
type ViewsAddResponse struct {
Affected int64 `json:"affected"`
}
ViewsAddResponse .
Click to show internal directories.
Click to hide internal directories.