v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

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 .

Jump to

Keyboard shortcuts

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