Documentation
¶
Overview ¶
Package envcfg reads process environment values with explicit fallbacks. Parsing stays independent of service startup, telemetry and transports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolEnv ¶
BoolEnv parses a boolean environment variable. It returns the parsed boolean value and true if parsing succeeded. Returns false, false if the variable is not set or parsing failed.
func EnvDuration ¶
EnvDuration parses a duration environment variable, falling back when unset or invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.