types

package
v0.0.0-...-9fdc65e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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 CountedEmote struct {
	Count int
	Emote Emote
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL