Documentation
¶
Overview ¶
Package provider provides config provider implementations that can be used in the adapters, as well as the Options type containing options for various aspects of an adapter.
Index ¶
Constants ¶
View Source
const ( // ViperKey corresponds to viper configuration ViperKey = "viper" // InMemKey corresponds to in memory configuration InMemKey = "in-memory" )
View Source
const ( // FilePath the path to store the config file FilePath = "filepath" // FileType the type of the config file FileType = "filetype" // FileName the name of the config file FileName = "filename" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InMem ¶
type InMem struct {
// contains filtered or unexported fields
}
InMem implements the config interface Handler for an in-memory configuration registry.
type Viper ¶
type Viper struct {
// contains filtered or unexported fields
}
Viper implements the config interface Handler for a Viper configuration registry.
Click to show internal directories.
Click to hide internal directories.