Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyData = make([]Datum, 0)
EmptyData empty data list
Functions ¶
func PrintToPDF ¶
PrintToPDF print to pdf
Types ¶
type Data ¶
type Data struct { Title string `json:"title"` Type string `json:"type"` Data []Datum `json:"articles"` }
Data 课程信息
type Datum ¶
type Datum struct { ID int `json:"id"` Title string `json:"title"` Type string `json:"type"` IsCanDL bool `json:"is_can_dl"` Streams map[string]Stream `json:"streams"` // contains filtered or unexported fields }
Datum download information
type Stream ¶
type Stream struct { URLs []URL `json:"urls"` AesKeyBytes []byte Size int `json:"size"` Quality string `json:"quality"` // contains filtered or unexported fields }
Stream data
Click to show internal directories.
Click to hide internal directories.