Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // viper NodeConfig *viper.Viper )
Functions ¶
func FetchConfig ¶
FetchConfig fetches config values from a dir defined via CLI flag --config-dir (or the current working dir if not set).
It automatically reads in a single config file starting with "config" (can be changed via the --config CLI flag) and ending with: .json, .toml, .yaml or .yml (in this sequence).
func LoadDefaultConfig ¶
LoadDefaultConfig only binds the flags, but does not load any config file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.