Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeForUpdateVideo = int(0) TypeForDelVideo = int(1) TypeForUpdateArchive = int(2) )
is
View Source
const ( TypeForView = "view" TypeForDm = "dm" TypeForReply = "reply" TypeForFav = "fav" TypeForCoin = "coin" TypeForRank = "rank" TypeForLike = "like" )
is
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountNotify ¶
AccountNotify is
type Archive ¶
type Archive struct { ID int64 `json:"id"` AID int64 `json:"aid"` Mid int64 `json:"mid"` TypeID int16 `json:"typeid"` Videos int `json:"videos"` Title string `json:"title"` Cover string `json:"cover"` Content string `json:"content"` Duration int `json:"duration"` Attribute int32 `json:"attribute"` Copyright int8 `json:"copyright"` Access int `json:"access"` PubTime wocaoTime `json:"pubtime"` CTime wocaoTime `json:"ctime"` MTime wocaoTime `json:"mtime"` State int `json:"state"` MissionID int64 `json:"mission_id"` OrderID int64 `json:"order_id"` RedirectURL string `json:"redirect_url"` Forward int64 `json:"forward"` Dynamic string `json:"dynamic"` }
Archive archive result
type Message ¶
type Message struct { Action string `json:"action"` Table string `json:"table"` New json.RawMessage `json:"new"` Old json.RawMessage `json:"old"` }
Message databus
type Notify ¶
type Notify struct { Table string `json:"table"` Action string `json:"action"` Nw *Archive `json:"new"` Old *Archive `json:"old"` }
Notify is
type RetryItem ¶
type RetryItem struct { Tp int `json:"type"` AID int64 `json:"aid"` CID int64 `json:"cid"` Old *Archive `json:"new_archive"` Nw *Archive `json:"old_archive"` Action string `json:"action"` }
RetryItem struct
type StatCount ¶
type StatCount struct { Type string `json:"type"` Aid int64 `json:"id"` Count int32 `json:"count"` TimeStamp int64 `json:"timestamp"` }
StatCount is
type StatMsg ¶
type StatMsg struct { Aid int64 `json:"aid"` Click int32 `json:"click"` DM int32 `json:"dm"` Reply int32 `json:"reply"` Fav int32 `json:"fav"` Coin int32 `json:"coin"` NowRank int32 `json:"now_rank"` HisRank int32 `json:"his_rank"` Like int32 `json:"like"` Type string `json:"-"` Ts int64 `json:"-"` }
StatMsg stat info.
Click to show internal directories.
Click to hide internal directories.