Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectedEnv ¶
Check for an environment variable value with expected possibilities, exit program if value not expected
func OptionalEnv ¶
Check for an environment variable value, if absent use a default value
func RequiredEnv ¶
Check for an environment variable value, exit program if not found
func ValidateEnv ¶
func ValidateEnv()
Function for custom validation of configuration that will panic if values are not expected. //FIXME it's a first start before centralizing configuration then injection of dependency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.