models

package
v0.0.0-...-0d805c2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordUser

type DiscordUser struct {
	*discordgo.User
	AvatarData string `json:"avatar_data"`
}

DiscordUser is a Discord user object with custom fields

type DiscordUserGuild

type DiscordUserGuild struct {
	*discordgo.UserGuild
	Attached bool `json:"attached"`
}

DiscordUserGuild is a Discord user guild object with custom fields

type Noun

type Noun struct {
	Noun     string   `bson:"noun" json:"noun"`
	Articles []string `bson:"articles" json:"articles"`
}

Noun is the representation of a noun and its corresponding articles.

type OAuth2Session

type OAuth2Session struct {
	SessionID    string `bson:"session_id" json:"session_id"`
	EncodedValue string `bson:"encoded_value" json:"encoded_value"`
}

OAuth2Session is an OAuth 2 session.

Jump to

Keyboard shortcuts

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