Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ListenAddress string `koanf:"listen_address"`
DBPath string `koanf:"db_path"`
DBType string `koanf:"db_type"`
LogLevel string `koanf:"log_level"`
ProxyConfig struct {
ServerAddress string `koanf:"address"`
Token string `koanf:"token"`
} `koanf:"proxy"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.