Documentation ¶
Index ¶
- type AlbumItem
- type AlbumsList
- type Archive
- type ArticleItem
- type ArticleList
- type AudioItem
- type AudioList
- type ClipsItem
- type ClipsList
- type Cover
- type FavItem
- type FavList
- type FavideoItem
- type FavideoList
- type Folder
- type MyFavorite
- type SpItem
- type SpList
- type Tab
- type TabItem
- type TabParam
- type TopicItem
- type TopicList
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumItem ¶
type AlbumsList ¶
type ArticleItem ¶
type ArticleItem struct { ID int64 `json:"id"` Title string `json:"title"` TemplateID int `json:"template_id"` BannerURL string `json:"banner_url"` Name string `json:"name"` ImageURLs []string `json:"image_urls"` Summary string `json:"summary"` FTime int64 `json:"favorite_time"` Goto string `json:"goto"` Param string `json:"param"` URI string `json:"uri"` }
func (*ArticleItem) FromArticle ¶
func (i *ArticleItem) FromArticle(af *article.Favorite)
type ArticleList ¶
type ArticleList struct { Count int `json:"count"` Items []*ArticleItem `json:"items"` }
type AudioItem ¶
type ClipsItem ¶
type ClipsItem struct { ID int64 `json:"id,omitempty"` Name string `json:"name,omitempty"` UID int64 `json:"uid,omitempty"` HeadURL string `json:"head_url,omitempty"` IsVIP int `json:"is_vip,omitempty"` UploadTimeText string `json:"upload_time_text,omitempty"` Tags []string `json:"tags,omitempty"` Cover struct { Def string `json:"default,omitempty"` } `json:"cover,omitempty"` VideoTime int `json:"video_time,omitempty"` Desc string `json:"description,omitempty"` DanakuNum int `json:"damaku_num,omitempty"` WatchedNum int `json:"watched_num,omitempty"` Goto string `json:"goto,omitempty"` Param string `json:"param,omitempty"` URI string `json:"uri,omitempty"` Status int `json:"status,omitempty"` Reply int `json:"reply,omitempty"` FirstPic string `json:"first_pic,omitempty"` BackupPlayURL []string `json:"backup_playurl,omitempty"` IsFollowed bool `json:"is_followed,omitempty"` UploadTime string `json:"upload_time,omitempty"` Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` VideoPlayURL string `json:"video_playurl,omitempty"` LikeNum int `json:"like_num,omitempty"` }
type FavItem ¶
type FavideoItem ¶
type FavideoItem struct { Aid int64 `json:"aid"` Title string `json:"title"` Pic string `json:"pic"` Name string `json:"name"` PlayNum int `json:"play_num"` Danmaku int `json:"danmaku"` Goto string `json:"goto"` Param string `json:"param"` URI string `json:"uri"` UGCPay int32 `json:"ugc_pay"` }
func (*FavideoItem) FromFavideo ¶
func (i *FavideoItem) FromFavideo(fv *Archive)
type FavideoList ¶
type FavideoList struct { Count int `json:"count"` Items []*FavideoItem `json:"items"` }
type Folder ¶
type Folder struct { MediaID int64 `json:"media_id"` Fid int `json:"fid"` Mid int `json:"mid"` Name string `json:"name"` MaxCount int `json:"max_count"` CurCount int `json:"cur_count"` AttenCount int `json:"atten_count"` State int `json:"state"` CTime int `json:"ctime"` MTime int `json:"mtime"` Cover []Cover `json:"cover,omitempty"` Videos []Cover `json:"videos,omitempty"` // NOTE: old favourite }
type MyFavorite ¶
type SpItem ¶
type Tab ¶
type Tab struct { Fav bool `json:"favorite"` Topic bool `json:"topic"` Article bool `json:"article"` Clips bool `json:"clips"` Albums bool `json:"albums"` Specil bool `json:"specil"` Cinema bool `json:"cinema"` Audios bool `json:"audios"` Menu bool `json:"menu"` PGCMenu bool `json:"pgc_menu"` Ticket bool `json:"ticket"` Product bool `json:"product"` }
type TabParam ¶
type TabParam struct { MobiApp string `form:"mobi_app"` Device string `form:"device"` Build int `form:"build"` Platform string `form:"platform"` Mid int64 `form:"mid"` Business string `form:"business"` AccessKey string `form:"access_key"` ActionKey string `form:"actionKey"` Filtered string `form:"filtered"` }
type TopicItem ¶
type TopicItem struct { ID int64 `json:"id"` MID int64 `json:"mid"` Name string `json:"name"` PCCover string `json:"pc_cover"` H5Cover string `json:"h5_cover"` FavAt int64 `json:"fav_at"` PCUrl string `json:"pc_url"` H5Url string `json:"h5_url"` Desc string `json:"desc"` Goto string `json:"goto"` Param string `json:"param"` URI string `json:"uri"` }
type Video ¶
type Video struct { Seid string `json:"seid"` Page int `json:"page"` Pagesize int `json:"pagesize"` PageCount int `json:"pagecount"` Total int `json:"total"` SuggestKeyword string `json:"suggest_keyword"` Mid int64 `json:"mid"` Fid int64 `json:"fid"` Tid int `json:"tid"` Order string `json:"order"` Keyword string `json:"keyword"` Tlist []struct { Tid int16 `json:"tid"` Name string `json:"name"` Count int `json:"count"` } `json:"tlist,omitempty"` Archives []*Archive `json:"archives"` }
Click to show internal directories.
Click to hide internal directories.