package
Version:
v0.0.0-...-f838e45
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config parses environment variables into a config struct.
PrintUsage prints the possible environment variables to w.
type Config struct {
AgentToken string `env:"AGENT_TOKEN,required"`
}
Config holds the parsed environment variables.
Load attempts to parse environment variables into a Config struct instance.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.