summaryrefslogtreecommitdiff
path: root/config.go
AgeCommit message (Collapse)Author
47 hoursAdd startup config loggingxengineering
This is useful during early development to make possible misconfiguration visible. Later it might be dropped especially if the config gets larger.
47 hoursImplement passing user configurationxengineering
This allows overwriting values of the default configuration with custom ones.
47 hoursAdd StartupConfiguration.Validate()xengineering
This method makes it easy to validate a configuration. A call of it is now embedded into the StartupConfiguration.FromJSON() method which should always be the lowest level function to parse configurations. Thus configurations can usually be trusted.
48 hoursUse default configxengineering
The default config JSON is embedded as bytes into the executable. Instead of constants the default values are now parsed from these embedded bytes.
48 hoursAdd default config parsingxengineering
This is a first step towards configurability.