Versions in this module Expand all Collapse all v2 v2.0.2 Jan 16, 2024 Changes in this version + const DefaultConfigPath + var ErrConfigCenterOptionsType = errors.New("config center options type error") + func FromApollo(apolloConfig *apollo.ApolloBaseConfig, conf []interface{}) error + func FromEnv(logLevel logrus.Level, confPrefix string, conf []interface{}) error + func FromEtcd(config *etcd.BaseConfig, prefix string, conf []any) error + func FromNacos(logLevel logrus.Level, nacosConfig *nacos.BaseConfig, prefix string, ...) error + func GetDefaultFromEnv(confPrefix string, conf []interface{}) []envconfig.EnvVar + func Initialize(config ...any) + type ConfigManager struct + func NewConfigManager(opt Options, configs ...any) *ConfigManager + func (m *ConfigManager) Autoconf() error + func (m *ConfigManager) MustAutoconf() + type Initializer interface + Init func() + type Options struct + ConfigCenterOptions any + ConfigCenterType enum.ConfigCenterType + ConfigPath string + EnvConfigPrefix string + LogLevel logrus.Level Other modules containing this package gitee.com/eden-framework/eden-framework