2024-04-07 00:28:29 +07:00
|
|
|
package config
|
|
|
|
|
2024-04-07 12:11:25 +07:00
|
|
|
var DefaultConfig = map[string]any{
|
2024-04-07 00:28:29 +07:00
|
|
|
"log.enable": true,
|
|
|
|
"log.source": true,
|
|
|
|
"log.format": "pretty",
|
|
|
|
"log.level": "info",
|
|
|
|
"log.output": "stderr",
|
|
|
|
|
|
|
|
"db.driver": "sqlite3",
|
|
|
|
"db.string": "data.db",
|
|
|
|
"db.automigrate": true,
|
2024-04-07 12:11:25 +07:00
|
|
|
|
2024-04-07 16:06:33 +07:00
|
|
|
"http.port": "8080",
|
|
|
|
"http.host": "0.0.0.0",
|
|
|
|
"http.shutdown_timeout": "5s",
|
2024-04-08 21:50:52 +07:00
|
|
|
"http.hotreload": false,
|
2024-04-07 00:28:29 +07:00
|
|
|
}
|