structures

package
v0.0.0-...-117abf3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 2 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           primitive.ObjectID `bson:"_id"`
	TwitchID     string             `bson:"twitch_id"`
	TwitchLogin  string             `bson:"twitch_login"`
	Priority     int32              `bson:"priority"`
	EdgeNode     int32              `bson:"edge_node"`
	LastUpdated  time.Time          `bson:"last_updated"`
	State        ChannelState       `bson:"state"`
	UseAnonymous bool               `bson:"use_anonymous"`
	BotBanned    bool               `bson:"bot_banned"`
}

type ChannelState

type ChannelState string
const (
	ChannelStateSuspended ChannelState = "SUSPENDED"
	ChannelStateJoined    ChannelState = "JOINED"
	ChannelStateUnknown   ChannelState = "UNKNOWN"
)

Jump to

Keyboard shortcuts

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