mirror of
https://github.com/GwynethLlewelyn/goswi.git
synced 2026-08-14 09:02:27 +00:00
16 lines
667 B
INI
16 lines
667 B
INI
[Config]
|
|
allowMissingConfig = true # Don't terminate the app if the ini file cannot be read.
|
|
allowUnknownFlags = false # Don't terminate the app if ini file contains unknown flags.
|
|
configUpdateInterval = 0s # Update interval for re-reading config file set via -config flag. Zero disables config file re-reading.
|
|
|
|
[Database]
|
|
dsn = # DSN for calling MySQL database
|
|
|
|
[Misc]
|
|
local = # serve as webserver, example: 0.0.0.0:8000
|
|
|
|
[Gin]
|
|
ginMode = "debug" # Default is 'debug' (more logging) but you can set it to 'release' (production-level logging)
|
|
|
|
[Misc]
|
|
templatePath = "" # Path to where the templates are stored (with trailing slash) - leave empty for autodetect |