Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProviderGetSections ¶
ProviderGetSections is a helper which takes a provider and series of sections and uses the Provider's API to populate the sections.
Types ¶
type Provider ¶
Provider is an abstraction over a configuration store
func NewFileProvider ¶
NewFileProvider returns a config Provider backed by a config file.
func NewProvider ¶
NewProvider returns an instance of Provider by merging a reference config string literal and the contents of an override configuration file.
func NewReaderProvider ¶
NewReaderProvider returns a config Provider backed by a config io.Reader.
func NewStringProvider ¶
NewStringProvider returns a config Provider backed by a config string literal.
Click to show internal directories.
Click to hide internal directories.