Versions in this module Expand all Collapse all v0 v0.1.1 Jul 14, 2023 v0.1.0 May 22, 2023 Changes in this version + var ErrFail2Update = errors.Errorf("failed to update") + var ErrNoResults = errors.Errorf("has no results") + type ConfigManager struct + func NewConfigManager() *ConfigManager + func (e *ConfigManager) Close() error + func (e *ConfigManager) DelNamespace(ctx context.Context, ns string) error + func (e *ConfigManager) GetConfig() *config.Config + func (e *ConfigManager) GetConfigChecksum() uint32 + func (e *ConfigManager) GetNamespace(ctx context.Context, ns string) (*config.Namespace, error) + func (e *ConfigManager) Init(ctx context.Context, logger *zap.Logger, configFile string, ...) error + func (e *ConfigManager) ListAllNamespace(ctx context.Context) ([]*config.Namespace, error) + func (e *ConfigManager) SetNamespace(ctx context.Context, ns string, nsc *config.Namespace) error + func (e *ConfigManager) SetTOMLConfig(data []byte) error + func (e *ConfigManager) WatchConfig() <-chan *config.Config + type KVValue struct + Key string + Value []byte