Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { ID int64 `bson:"user_id" json:"user_id"` Flags uint32 `bson:"flags,omitempty" json:"flags"` Username string `bson:"username" json:"username"` Platform string `bson:"platform" json:"platform"` Weight int `bson:"weight" json:"weight"` CreatedAt time.Time `bson:"created_at" json:"created_at"` UpdatedAt time.Time `bson:"updated_at" json:"updated_at"` }
Channel is the struct we use to decode data from mongo TODO: keep track of username changes/history?
type CountedEmote ¶
type Emote ¶
type Emote struct { Name string `bson:"name"` EmoteID primitive.ObjectID `bson:"emote_id"` Flags model.ActiveEmoteFlagModel `bson:"flags"` State []model.EmoteVersionState `bson:"state,omitempty"` URL string `bson:"url"` }
Click to show internal directories.
Click to hide internal directories.