Documentation
¶
Index ¶
- Variables
- type Audio
- type Basic
- type BgmExt
- type BuildComp
- type Category
- type Cooperate
- type Filter
- type FilterCategory
- type Font
- type Hotword
- type Intro
- type Material
- type MaterialBind
- type Mcategory
- type Music
- type Sticker
- type Subtitle
- type Theme
- type TimePoint
- type Transition
- type VSticker
- type VstickerCategory
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ViewTpMap map ViewTpMap = map[int8]string{ 0: "subtitle", 1: "font", 2: "filter", 5: "sticker", 7: "videoup_sticker", 8: "transition", 9: "cooperate", 10: "theme", } )
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Max int `json:"max"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` Tags []string `json:"tags"` }
Basic str
type BgmExt ¶
type BgmExt struct { Msc *Music `json:"msc"` ExtMscs []*Music `json:"ext_mscs"` ExtArcs []*api.Arc `json:"ext_arcs"` UpProfile *accMdl.Profile `json:"up_profile"` ShouldFollow bool `json:"show_follow"` }
BgmExt str
type Category ¶
type Category struct { ID int `json:"id"` PID int `json:"pid"` Name string `json:"name"` Index int `json:"index"` CameraIndex int `json:"camera_index"` Children []*Music `json:"children"` }
Category str
type Cooperate ¶
type Cooperate struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` // special extra column for cooperate MaterialAID int64 `json:"material_aid"` MaterialCID int64 `json:"material_cid"` DemoAID int64 `json:"demo_aid"` DemoCID int64 `json:"demo_cid"` MissionID int64 `json:"mission_id"` SubType int `json:"sub_type"` Style int `json:"style"` Mission *activity.Activity `json:"mission_info"` HotVal int `json:"hotval"` ArcCnt int `json:"-"` DownloadURL string `json:"download_url"` }
Cooperate str db+search+api
type Filter ¶
type Filter struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` FilterType int8 `json:"filter_type"` }
Filter str
type FilterCategory ¶
type FilterCategory struct { ID int64 `json:"id"` Name string `json:"name"` Rank int `json:"rank"` Tp int `json:"type"` Children []*Filter `json:"children"` New int `json:"new"` }
FilterCategory str
type Font ¶
type Font struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Font str
type Hotword ¶
type Hotword struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Hotword str
type Intro ¶
type Intro struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Intro str
type Material ¶
type Material struct { Type int8 `json:"type"` Platform int `json:"platform"` Build json.RawMessage `json:"build"` BuildComps []*BuildComp `json:"build_comps"` White int8 `json:"white"` New int8 `json:"new"` }
Material str
type MaterialBind ¶
MaterialBind str
type Mcategory ¶
type Mcategory struct { ID int64 `json:"id"` SID int64 `json:"sid"` Tid int `json:"tid"` Index int `json:"index"` CTime time.Time `json:"ctime"` New int8 `json:"new"` }
Mcategory str
type Music ¶
type Music struct { ID int64 `json:"id"` TID int `json:"tid"` Index int `json:"index"` SID int64 `json:"sid"` Name string `json:"name"` Musicians string `json:"musicians"` UpMID int64 `json:"mid"` Cover string `json:"cover"` Stat string `json:"stat"` Playurl string `json:"playurl"` State int `json:"state"` Duration int `json:"duration"` FileSize int `json:"filesize"` CTime time.Time `json:"ctime"` Pubtime time.Time `json:"pubtime"` MTime time.Time `json:"mtime"` TagsStr string `json:"-"` Tags []string `json:"tags"` Timeline json.RawMessage `json:"-"` Tl []*TimePoint `json:"timeline"` RecommendPoint int64 `json:"recommend_point"` Cooperate int8 `json:"cooperate"` CooperateURL string `json:"cooperate_url"` New int8 `json:"new"` Hotval int `json:"hotval"` }
Music str
type Sticker ¶
type Sticker struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` SubType int64 `json:"sub_type"` Tip string `json:"tip"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Sticker str
type Subtitle ¶
type Subtitle struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Max int `json:"max"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Subtitle str
type Theme ¶
type Theme struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Theme str
type TimePoint ¶
type TimePoint struct { Point int64 `json:"point"` Comment string `json:"comment"` Recommend int `json:"recommend"` }
TimePoint str
type Transition ¶
type Transition struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
Transition str
type VSticker ¶
type VSticker struct { ID int64 `json:"id"` Name string `json:"name"` Cover string `json:"cover"` DownloadURL string `json:"download_url"` Rank int `json:"rank"` Extra json.RawMessage `json:"-"` Material `json:"-"` MTime time.Time `json:"mtime"` New int8 `json:"new"` Tags []string `json:"tags"` }
VSticker str
Click to show internal directories.
Click to hide internal directories.