Documentation
¶
Index ¶
- type Loader
- func NewCliConfigLoader(localViper *viper.Viper, param *param.Cli) Loader
- func NewEnvConfigLoader(localViper *viper.Viper, param *param.Env) Loader
- func NewFileConfigLoader(localViper *viper.Viper, param *param.File, app, env string) Loader
- func NewMinimalConfigLoader(app string, localViper *viper.Viper) Loader
- func NewRemoteConfigLoader(viper *viper.Viper, param *param.Remote, env string) Loader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader interface {
Load() error
}
func NewFileConfigLoader ¶
func NewMinimalConfigLoader ¶
Click to show internal directories.
Click to hide internal directories.