old

package
v0.0.0-...-ca5c8a7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	Links []*model.VideoLink `json:"links,omitempty"`
	Link  *model.VideoLink   `xorm:"extends"  json:",inline,omitempty"`
}

Object ...

func GetObject

func GetObject(video *Video) *Object

GetObject ...

type ObjectList

type ObjectList struct {
	Index        string   `json:"index"`
	Sharpness    string   `json:"sharpness"`
	Output       string   `json:"output"`
	Season       string   `json:"season"`
	TotalEpisode string   `json:"total_episode"`
	Episode      string   `json:"episode"`
	Language     string   `json:"language"`
	Caption      string   `json:"caption"`
	Sliced       bool     `json:"sliced"`
	Object       []Object `json:"object"`
}

ObjectList ...

type Video

type Video struct {
	Bangumi        string        `json:"bangumi"`                    //番組
	Intro          string        `xorm:"varchar(2048)" json:"intro"` //简介
	Alias          []string      `xorm:"json" json:"alias"`          //别名,片名
	Role           []string      `xorm:"json" json:"role"`           //主演
	VideoGroupList []*ObjectList `json:"video_group_list"`           //视频
}

Video ...

func AllVideos

func AllVideos(engine *xorm.Engine) []*Video

AllVideos ...

Jump to

Keyboard shortcuts

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