package
module
Version:
v0.0.0-...-3377a85
Opens a new window with list of versions in this module.
Published: Mar 25, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Guild struct {
ID string `json:"id"`
}
type GuildResponse struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
Scope string `json:"scope"`
Guild Guild `json:"guild"`
}
type Token struct {
ExpiresAt int64 `datastore:"expiresAt"`
AccessToken string `datastore:"accessToken"`
RefreshToken string `datastore:"refreshToken"`
}
type TokenResponse struct {
GuildID string `json:"guildID"`
AccessToken string `json:"accessToken"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.