1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 07:26:24 -05:00

Remove comments from json files

This commit is contained in:
V2Ray 2015-09-13 00:14:14 +02:00
parent de636b123a
commit b0c5b816da
7 changed files with 7 additions and 13 deletions

View File

@ -29,4 +29,4 @@ V2Ray 是一个翻墙工具包,用于简化和复用其它翻墙工具,加
Version 1.0 Alpha[安装方式](https://github.com/V2Ray/v2ray-core/blob/master/spec/install.md)。理论上可用,简单测试通过,还未进行稳定性和性能测试。 Version 1.0 Alpha[安装方式](https://github.com/V2Ray/v2ray-core/blob/master/spec/install.md)。理论上可用,简单测试通过,还未进行稳定性和性能测试。
## 关于 ## 关于
我是只是一名普通的开发人员,已肉翻,本已不依赖这些翻墙工具,但 ShadowSock 和 GoAgent 被迫删除代码的事件实在太恶心,不得不做点什么了。 我是只是一名普通的开发人员,已肉翻,本已不依赖这些翻墙工具,但 ShadowSock 和 GoAgent 被迫删除代码的事件实在太恶心,不得不做点什么了。

View File

@ -1,4 +1,3 @@
/* Socks 5 */
{ {
"auth": "noauth" /* */ "auth": "noauth"
} }

View File

@ -1,7 +1,5 @@
/* VMess */
{ {
"clients": [ "clients": [
/* ID */
{"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"} {"id": "ad937d9d-6e23-4a5a-ba23-bce5092a7c51"}
] ]
} }

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"}
] ]
} }

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"
} }
} }

View File

@ -1,4 +1,3 @@
/* Point VMess */
{ {
"port": 27183, "port": 27183,
"inbound": { "inbound": {

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"