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 a file.
This Provider supports "file" scheme, and can be called with a "uri" that follows:
file-uri = "file:" local-path local-path = [ drive-letter ] file-path drive-letter = ALPHA ":"
The "file-path" can be relative or absolute, and it can be any OS supported format.
Examples: `file:path/to/file` - relative path (unix, windows) `file:/path/to/file` - absolute path (unix, windows) `file:c:/path/to/file` - absolute path including drive-letter (windows) `file:c:\path\to\file` - absolute path including drive-letter (windows)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.