Documentation
¶
Index ¶
Constants ¶
View Source
const FilePath = "secret_config.json"
View Source
const SwaggerPath = "/docs/swagger/swagger.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { General GeneralConfig `json:"general"` Host HostConfig `json:"host"` Discord DiscordConfig `json:"discord"` Youtube youtube.Config `json:"youtube"` Secret string `json:"secret"` }
func InitConfig ¶
type DiscordConfig ¶
type GeneralConfig ¶
type GeneralConfig struct {
Debug bool `json:"debug"`
}
type HostConfig ¶
type LichessConfig ¶
type LichessConfig struct {
Token string `json:"token"`
}
type SheetsConfig ¶
type VoiceConfig ¶
type VoiceConfig struct {
dca.EncodeOptions
}
Click to show internal directories.
Click to hide internal directories.