2024-07-14 20:20:41 +08:00
|
|
|
runmode = "webapi"
|
|
|
|
|
|
|
|
[webapi]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3032
|
2024-07-18 15:49:12 +08:00
|
|
|
[[limit]]
|
|
|
|
enable = true
|
|
|
|
speed = 5
|
|
|
|
wait100ms = 6000
|
|
|
|
wait1s = 8000
|
|
|
|
wait10s = 30000
|
|
|
|
|
2024-07-14 20:20:41 +08:00
|
|
|
|
|
|
|
[console]
|
|
|
|
emacsmode = true
|
|
|
|
softstop = true
|
|
|
|
|
2024-07-18 15:49:12 +08:00
|
|
|
|
2024-07-14 20:20:41 +08:00
|
|
|
[db]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3306
|
2024-07-18 15:49:12 +08:00
|
|
|
user = "myjsondb"
|
|
|
|
passwd = "<your passwd>"
|
|
|
|
dbname = "myjsondb"
|
2024-07-15 22:55:11 +08:00
|
|
|
minsize = 100
|
|
|
|
maxsize = 100
|
2024-07-14 20:20:41 +08:00
|
|
|
|
|
|
|
[log]
|
|
|
|
path = "log.log"
|
|
|
|
level = "info"
|
|
|
|
color = true
|