Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DBDriver string `mapstructure:"DB_DRIVER"` DBAddress string `mapstructure:"DB_ADDRESS"` DBUser string `mapstructure:"DB_USER"` DBPass string `mapstructure:"DB_PASS"` DBName string `mapstructure:"DB_NAME"` ServerAddress string `mapstructure:"SERVER_ADDRESS"` }
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
Click to show internal directories.
Click to hide internal directories.