Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + func Read(path string, dest interface{}) error + func SetDuration(co *ConfigOption) + func SetURL(co *ConfigOption) + type ConfigOption struct + ConfigKey interface{} + CustomSetValue func(*ConfigOption) + EnvVar string + FlagDefault interface{} + Name string + OptType types.BasicKind + Required bool + Usage string + func (co *ConfigOption) Bind() + func (co *ConfigOption) Init(cmd *cobra.Command) error + func (co *ConfigOption) Require() + func (co *ConfigOption) SetValue() + func (co *ConfigOption) UsageText() string + type ConfigOptions []*ConfigOption + func (cos ConfigOptions) Init(cmd *cobra.Command) error + func (cos ConfigOptions) Require() + func (cos ConfigOptions) SetValues() + type InvalidConfigError struct + InvalidFields map[string]string + func (err *InvalidConfigError) Error() string + type TLS struct + CertificateFile string + PrivateKeyFile string