Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Server ServerConfig `yaml:"server"` DbConfigs []DbConfig `yaml:"dbs"` }
AppConfig is the main config file structure
type DbConfig ¶
type DbConfig struct { ConnectionName string `yaml:"name"` Host string DbName string Port string User string Pass string }
DbConfig is a single DataBase connection config
type ServerConfig ¶
type ServerConfig struct {
Port uint
}
ServerConfig represents the Server configuration
Click to show internal directories.
Click to hide internal directories.