Documentation ¶
Overview ¶
Package sysvars implements a system variables exporter. It exports variables defined through an environment variable, as well other system variables like process uptime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init initializes the sysvars module's global data structure. Init makes sure to initialize only once, further calls are a no-op. If needed, userVars can be passed to Init to add custom variables to sysVars. This can be useful for tests which require sysvars that might not exist, or might have the wrong value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.