mongo

package
v0.0.0-...-3cc618a Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeMinimal int32 = iota
	ModeEmbed
)

Variables

View Source
var Database *mongo.Database
View Source
var ErrNoDocuments = mongo.ErrNoDocuments

Functions

This section is empty.

Types

type Hook

type Hook struct {
	GuildID    string `json:"guild_id" bson:"guild_id"`
	ChannelID  string `json:"channel_id" bson:"channel_id"`
	StreamerID string `json:"streamer_id" bson:"streamer_id"`
	Mode       int32  `json:"mode" bson:"mode"`
}

type User

type User struct {
	ID    string `json:"id" bson:"id"`
	Name  string `json:"name" bson:"name"`
	Login string `json:"login" bson:"login"`
}

Jump to

Keyboard shortcuts

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