docs: 更新README

This commit is contained in:
Mmx
2021-12-03 20:01:15 +08:00
parent ddaac2d155
commit 649f7c260d

View File

@@ -61,6 +61,7 @@ Config.json说明
},
"settings": {
"timeout": 1, //检查网络超时时间(秒)
"interfaces": "",//网卡名称正则eth\.0\.*
"demo_mode": false, //测试模式,报错更详细,且生成运行日志与错误日志
"guardian": { //守护模式
"enable": false,
@@ -103,6 +104,7 @@ func main() {
},
},
LocalAddr: nil, //出口地址
});e!=nil {
panic(e)
}