Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel string `mapstructure:"log_level" validate:"omitempty,oneof=debug info warn error"`
EupfAddr string `mapstructure:"eupf_addr" validate:"omitempty,url"`
BackupPath string `mapstructure:"backup_path" validate:"required"`
}
Config defines CLI-related config
func (*Config) UpdateFile ¶
UpdateFile updates config file values based on provided map
Click to show internal directories.
Click to hide internal directories.