Documentation ¶
Index ¶
Constants ¶
View Source
const CoreDefaultConfKey = "core"
View Source
const LoggerDefaultConfKey = "core.logger"
View Source
const MetadataDefaultConfKey = "core.metadata"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfigValues ¶
func GetDefaultConfigValues() (string, interface{})
Types ¶
type ConfigManager ¶
func NewConfigManager ¶
func NewConfigManager() *ConfigManager
func (*ConfigManager) Fix ¶
func (cm *ConfigManager) Fix()
func (*ConfigManager) LoadLocalConfig ¶
func (cm *ConfigManager) LoadLocalConfig(configPath string) error
func (*ConfigManager) LoadRemoteConfig ¶
func (cm *ConfigManager) LoadRemoteConfig(remoteType string, remoteAddr string, remoteKey string) error
func (*ConfigManager) SetMappedDefault ¶
func (cm *ConfigManager) SetMappedDefault(key string, value interface{})
type CoreConfig ¶
type CoreConfig struct { Logger logger.LogConfig Metadata metadata.MetadataStorageConfig }
Click to show internal directories.
Click to hide internal directories.