Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // define custom errors for config map ErrKeyNotFound = errors.New("cannot find specified key in mapped values") )
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
func NewConfigMapWithValues ¶
function to create new config map with a collection of defaults
func (*ConfigMap) ConfigureLogging ¶
func (cfg *ConfigMap) ConfigureLogging()
function used to configure log level in application
func (*ConfigMap) Get ¶
function used to retrieve mappings. environment variables override hard coded defaults
Click to show internal directories.
Click to hide internal directories.