summaryrefslogtreecommitdiff
path: root/config.go
AgeCommit message (Collapse)Author
7 hoursMove default.json to configs/validxengineering
Since the default configuration is a valid configuration it should belong to this new directory. This allows to continue with extending automated tests to test all configurations in this directory.
2025-12-20Add 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.
2025-12-20Implement passing user configurationxengineering
This allows overwriting values of the default configuration with custom ones.
2025-12-20Add 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.
2025-12-20Use 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.
2025-12-20Add default config parsingxengineering
This is a first step towards configurability.