v2ray/ext

配置文件没有 inbound 时出错

Closed this issue · 2 comments

v2ray.com/ext/tools/conf/serial: failed to parse json config > v2ray.com/ext/tools/conf: no inbound config specified

当使用 core.StartInstance 和 core.Dial 来调用 v2ray 时是可以不要 inbound 的,希望可以去掉这个报错

JSON parser的报错是为了防止用户少写或写错主inbound。有需求的话我可以做一个不进行额外检查的JSON parser。

下一版本会删除这个报错。