package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Key string `yaml:"key"`
}
type Bot struct {
Token string `yaml:"token"`
}
type DB struct {
User string `yaml:"user"`
Pass string `yaml:"pass"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Dbname string `yaml:"dbname"`
}
type Etcd struct {
Endpoints []string `yaml:"endpoints"`
Ca string `yaml:"ca"`
Cert string `yaml:"cert"`
Key string `yaml:"key"`
}
type Logger struct {
Path string `yaml:"path"`
Mode string `yaml:"mode"`
}
type RDB struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Pass string `yaml:"pass"`
DB int `yaml:"db"`
}
type Rabbit struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
User string `yaml:"user"`
Pass string `yaml:"pass"`
}
type Root struct {
Bot Bot `yaml:"bot"`
Logger Logger `yaml:"logger"`
App App `yaml:"app"`
DB DB `yaml:"db"`
RDB RDB `yaml:"rdb"`
Rabbit Rabbit `yaml:"rabbit"`
Secret Secret `yaml:"secret"`
Etcd Etcd `yaml:"etcd"`
}
type Secret struct {
Key string `yaml:"key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.