_3_dynamic_config

package
v0.0.0-...-24b7180 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FeatureFlagA bool
	FeatureFlagB bool
	FeatureFlagC bool
}

a collection of configuration values (stored in a database or key/value store)

type ConfigManager

type ConfigManager struct {
	// contains filtered or unexported fields
}

func NewConfigManager

func NewConfigManager() *ConfigManager

wrapper around the data to make it easier to use

func (*ConfigManager) Config

func (c *ConfigManager) Config() *Config

func (*ConfigManager) ShutDown

func (c *ConfigManager) ShutDown()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL