Versions in this module Expand all Collapse all v0 v0.1.0 Apr 27, 2020 Changes in this version + func AvToBv(av string) (string, error) + func BvToAv(bv string) (string, error) + func DanmakuXML(id int64) ([]byte, error) + func VideoAllDanmakuList(vid string) (map[int][]Danmaku, error) + type Danmaku struct + Body string + Color string + FontSize int + Mode DmkMode + Pool DmkPool + RowID int64 + Sender string + StartTime float32 + Timestamp int64 + func DanmakuList(id int64) ([]Danmaku, error) + func VideoDanmakuList(vid string, page int) ([]Danmaku, error) + type DanmakuInfo struct + ID int64 + Name string + Page int + func VideoDanmakuInfos(vid string) (infos []DanmakuInfo, err error) + type DmkMode int + const DmkAdvancedMode + const DmkBottomMode + const DmkLocateMode + const DmkReverseMode + const DmkScrollMode + const DmkScrollMode2 + const DmkScrollMode3 + const DmkTopMode + type DmkPool int + const DmkNormalPool + const DmkSpecalPool + const DmkSubtitlePool + type Stat struct + Aid int64 + Argue string + BV string + Coin int64 + Copyright int + Danmaku int64 + Evaluation string + Favorite int64 + HisRank int + Like int64 + NoReprint int + NowRank int + Reply int64 + Share int64 + View int64 + func VideoStat(vid string) (*Stat, error)