Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConfigFile string Server serverConfig Database databaseConfig }
Config binds together configuration items
func ReadConfig ¶
ReadConfig reads the configuration from a file and sets defaults if needed
func (*Config) DatabaseConnection ¶
DatabaseConnection produces a string containing the database host and port
func (*Config) ListenAddr ¶
ListenAddr produces a string containing the IP and port
Click to show internal directories.
Click to hide internal directories.