Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(spec interface{}) error
Load fills in all of a structure's variables from the environment. If spec has a provided Help then it will also be filled in.
func LoadFromVault ¶
func LoadFromVault(spec interface{}) error
func LoadWithPrefix ¶
Load fills in all of a structure's variables from the environment with prefix. If spec has a provided Help then it will also be filled in.
Types ¶
type EnvironmentBlock ¶
EnvironmentBlock is used to compose an environment config block.
Click to show internal directories.
Click to hide internal directories.