Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v0.99.0
func NewFactory() confmap.ProviderFactory
NewFactory returns a factory for a confmap.Provider that reads the configuration from the given environment variable.
This Provider supports "env" scheme, and can be called with a selector: `env:NAME_OF_ENVIRONMENT_VARIABLE`
A default value for unset variable can be provided after :- suffix, for example: `env:NAME_OF_ENVIRONMENT_VARIABLE:-default_value`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.