Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TomlConfig ¶
type TomlConfig struct { DB database `toml:"database"` Server serverInfo Logging loggingInfo }
TomlConfig - struct to wrap around log level and server configuration values read from config.toml
func AppTomlConfig ¶
func AppTomlConfig() (*TomlConfig, error)
AppTomlConfig - creates toml from environment variables
Click to show internal directories.
Click to hide internal directories.