package
Version:
v0.0.0-...-c1021f5
Opens a new window with list of versions in this module.
Published: Dec 15, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Config is a map containing configuration key-value pairs.
FromMap converts a string map into a Config object.
NewConfig allocates a configuration map.
FromJSON unmarshals JSON data read from r into a Config object.
Get returns the value for a key k or false if not present.
GetVal returns the value for a key k or defaultVal if not present.
Map returns the underlying map of a Config object.
Put adds a key value pair, overriding any previous entry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.