Remove comments from json files

This commit is contained in:
V2Ray committed 2015-09-13 00:14:14 +02:00
1 parent de636b123a
commit b0c5b816da
6 files changed
+6 -12

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
/* Socks 5 协议配置 */
{ {
"auth": "noauth" /* 用户验证方式,暂时只支持匿名模式 */ "auth": "noauth"
} }
-2
View File
@@ -1,7 +1,5 @@
/* VMess 接收配置 */
{ {
"clients": [ "clients": [
/* 允许的用户 ID */
{"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"} {"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"}
] ]
} }
+1 -3
View File
@@ -1,11 +1,9 @@
/* VMess 转发配置 */
{ {
"vnext": [ "vnext": [
{ {
"address": "127.0.0.1", /* 中继服务器地址 */ "address": "127.0.0.1",
"port": 27183, "port": 27183,
"users": [ "users": [
/* 以下列用户身份转发 */
{"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"} {"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"}
] ]
} }
+3 -4
View File
@@ -1,12 +1,11 @@
/* Point 服务器配置,接受 Socks5 协议请求,并转发到一下 Point 服务器。 */
{ {
"port": 1080, /* Socks 5 端口 */ "port": 1080,
"inbound": { "inbound": {
"protocol": "socks", "protocol": "socks",
"file": "in_socks.json" /* Socks 5 配置文件 */ "file": "in_socks.json"
}, },
"outbound": { "outbound": {
"protocol": "vmess", "protocol": "vmess",
"file": "out_vmess.json" /* VMess 配置文件 */ "file": "out_vmess.json"
} }
} }
-1
View File
@@ -1,4 +1,3 @@
/* Point 服务器配置,输入 VMess 协议,转发到最终要该问的网站。 */
{ {
"port": 27183, "port": 27183,
"inbound": { "inbound": {
+1
View File
@@ -8,6 +8,7 @@ import (
"github.com/v2ray/v2ray-core" "github.com/v2ray/v2ray-core"
"github.com/v2ray/v2ray-core/log" "github.com/v2ray/v2ray-core/log"
// The following are neccesary as they register handlers in their init functions.
_ "github.com/v2ray/v2ray-core/net/freedom" _ "github.com/v2ray/v2ray-core/net/freedom"
_ "github.com/v2ray/v2ray-core/net/socks" _ "github.com/v2ray/v2ray-core/net/socks"
_ "github.com/v2ray/v2ray-core/net/vmess" _ "github.com/v2ray/v2ray-core/net/vmess"