Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServerAddress string `envconfig:"SERVER_ADDRESS" default:":8080"` DataSource string `envconfig:"DATA_SOURCE" default:"vault.db"` LogLevel int `envconfig:"LOG_LEVEL" default:"0"` // -1: trace, 0: debug, 1: info, 2: warn HumanFriendlyLogging bool `envconfig:"HUMAN_FRIENDLY_LOGGING" default:"true"` }
Config is the structure for the configuration data read from the env
Click to show internal directories.
Click to hide internal directories.