package
Version:
v0.0.0-...-bd45f38
Opens a new window with list of versions in this module.
Published: May 9, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ConfitaProvider struct {
}
func (p ConfitaProvider) Instance() *Config
type Discord struct {
Token string `config:"discord.token,required"`
OwnerId string `config:"discord.ownerid"`
}
type Lavalink struct {
HttpAddress string `config:"lavalink.httpaddress"`
WSAddress string `config:"lavalink.wsaddress"`
Password string `config:"lavalink.password"`
}
type Log struct {
Level logrus.Level `config:"log.level"`
}
type Provider interface {
Load() error
Instance() *Config
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.