Documentation
¶
Overview ¶
Package envflag reads anfra's on/off environment variables. Each is 1 (on) or 0 (off); unset or empty means its default, and any other value is refused, at startup, so a typo surfaces at once rather than silently meaning the opposite.
Only anfra's own switches follow this rule. Standard variables keep their own conventions: CI (set by CI systems, to anything), OTEL_SDK_DISABLED (OpenTelemetry's, "true").
Index ¶
Constants ¶
View Source
const ( LogStderr = "ANFRA_LOG_STDERR" SidecarStdout = "ANFRA_SIDECAR_STDOUT" NoUpdateNotifier = "ANFRA_NO_UPDATE_NOTIFIER" AutoUpdate = "ANFRA_AUTO_UPDATE" HideErrorCauses = "ANFRA_HIDE_ERROR_CAUSES" )
The switches, each off by default.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.