Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmptyAchieve = AchieveFlag(0) FollowerAchieve1k = AchieveFlag(1 << 0) FollowerAchieve5k = AchieveFlag(1 << 1) FollowerAchieve10k = AchieveFlag(1 << 2) FollowerAchieve100k = AchieveFlag(1 << 3) FollowerAchieve1000k = AchieveFlag(1 << 12) )
const
Functions ¶
This section is empty.
Types ¶
type AchieveFlag ¶
type AchieveFlag uint64
AchieveFlag is
func AllAchieveFromFollower ¶
func AllAchieveFromFollower(count int64) []AchieveFlag
AllAchieveFromFollower is
type Message ¶
type Message struct { Action string `json:"action"` Table string `json:"table"` New json.RawMessage `json:"new"` Old json.RawMessage `json:"old"` }
Message define binlog databus message.
type Relation ¶
type Relation struct { Mid int64 `json:"mid,omitempty"` Fid int64 `json:"fid,omitempty"` Attribute uint32 `json:"attribute"` Status int `json:"status"` MTime string `json:"mtime"` CTime string `json:"ctime"` }
Relation user_relation_fid_0~user_relation_fid_49,user_relation_mid_0~user_relation_mid_49
Click to show internal directories.
Click to hide internal directories.