Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStruct ¶
type ConfigStruct struct { DBChoice string DBHost string DBPort string DBUser string DBPass string DBName string Whitelist bool IRCCfg *IRCConfig UseRSS bool }
ConfigStruct holds the values that our config file holds
func LoadConfig ¶
func LoadConfig() ConfigStruct
LoadConfig loads the config into the Config Struct and returns the // ConfigStruct object. Will load from environmental variables (all caps) if we set a flag to true.
Click to show internal directories.
Click to hide internal directories.