Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Storage StorageConfig `json:"storage"`
}
func NewDefaultCfg ¶
func NewDefaultCfg() *Config
func NewFileCfg ¶
func NewFlagsCfg ¶
func NewFlagsCfg() *Config
type ConfigManager ¶
func New ¶
func New() *ConfigManager
func (*ConfigManager) LoadAll ¶
func (cm *ConfigManager) LoadAll()
func (*ConfigManager) LoadSource ¶
func (cm *ConfigManager) LoadSource(name string, c *Config)
func (ConfigManager) String ¶
func (cm ConfigManager) String() string
type DefaultConfig ¶
type DefaultConfig struct { }
type FileConfig ¶
type FileConfig struct { }
type FlagsConfig ¶
type FlagsConfig struct { }
Click to show internal directories.
Click to hide internal directories.