Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Name string FactoryMethod func() configuration.Store }
func New ¶
func New(name string, factoryMethod func() configuration.Store) Configuration
type Registry ¶
type Registry interface { Register(components ...Configuration) Create(name, version string) (configuration.Store, error) }
Registry is an interface for a component that returns registered configuration store implementations.
func NewRegistry ¶
func NewRegistry() Registry
NewRegistry is used to create configuration store registry.
Click to show internal directories.
Click to hide internal directories.