Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ViewCountType view count type. ViewCountType = "view" // FavCountType fav count type. FavCountType = "favorite" // ReplyCountType reply count type. ReplyCountType = "reply" ShareCountType = "share" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StatM ¶
type StatM struct { Type string `json:"type"` ID int64 `json:"id"` Aid int64 `json:"aid"` Count *int64 `json:"count"` Timestamp time.Time `json:"timestamp"` IP string `json:"ip"` }
StatM playlist's topic stat message in databus.
type StatMsg ¶
type StatMsg struct { Type string `json:"type"` Pid int64 `json:"pid"` Mid int64 `json:"mid"` Fid int64 `json:"fid"` Aid int64 `json:"aid"` View *int64 `json:"view"` Favorite *int64 `json:"fav"` Reply *int64 `json:"reply"` MTime time.Time `json:"mtime"` IP string `json:"ip"` }
StatMsg means playlist's stat message in databus.
Click to show internal directories.
Click to hide internal directories.