Documentation ¶
Overview ¶
Package configuration contains a number of methods that are used to provide configuration to the wider application. It uses viper to pull config from either the environment or a config file then unmarhsals the config into the configuration struct. The configuration struct is made available to the application via a package level variable called Config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config configuration
Functions ¶
func InitConfig ¶
func InitConfig() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.