Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CLIFlags []cli.Flag
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config returns the pointer of Viper for service
func NewConfig ¶
func NewConfig() *Config
NewConfig returns the new configration set with all default values
func (*Config) ReadConfigFileFromCLIContext ¶
ReadConfigFileFromCLIContext update a config based on flgas set in CLI context
func (*Config) SetDefaults ¶
func (conf *Config) SetDefaults()
SetDefaults sets all configuration with the default values
Click to show internal directories.
Click to hide internal directories.