diff --git a/.dockerignore b/.dockerignore
index 48ca1134..31012b5f 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,4 +1,4 @@
-**/V2RayA_*
+**/v2rayA_*
**/.idea
**/.vscode
**/*.test.go
diff --git a/.github/ISSUE_TEMPLATE/bug_en.md b/.github/ISSUE_TEMPLATE/bug_en.md
index cde871c6..12dee17f 100644
--- a/.github/ISSUE_TEMPLATE/bug_en.md
+++ b/.github/ISSUE_TEMPLATE/bug_en.md
@@ -7,7 +7,7 @@ labels: bug
### Version, approach of installation, operating system
-1. What version of V2RayA are you using?
+1. What version of v2rayA are you using?
2. What approach of installation do you install V2rayA?
diff --git a/.github/ISSUE_TEMPLATE/bug_zh.md b/.github/ISSUE_TEMPLATE/bug_zh.md
index 735046cd..a4dd98db 100644
--- a/.github/ISSUE_TEMPLATE/bug_zh.md
+++ b/.github/ISSUE_TEMPLATE/bug_zh.md
@@ -1,15 +1,15 @@
---
-name: V2RayA程序问题
-about: "提交一个 V2RayA 的程序问题报告。"
+name: v2rayA程序问题
+about: "提交一个 v2rayA 的程序问题报告。"
labels: bug
---
### 版本、安装方式、系统
-1. 你在使用什么版本的V2RayA
+1. 你在使用什么版本的v2rayA
-2. 你通过什么方式安装V2RayA
+2. 你通过什么方式安装v2rayA
3. 你所使用的操作系统、CPU架构
@@ -22,7 +22,7 @@ labels: bug
-### V2RayA运行日志:
+### v2rayA运行日志:
```bash
# daemon mode
diff --git a/.github/ISSUE_TEMPLATE/feature_zh.md b/.github/ISSUE_TEMPLATE/feature_zh.md
index 5c5941f0..64d39fbf 100644
--- a/.github/ISSUE_TEMPLATE/feature_zh.md
+++ b/.github/ISSUE_TEMPLATE/feature_zh.md
@@ -1,6 +1,6 @@
---
name: 提议一个新功能
-about: "为 V2RayA 提议一个新的功能特性"
+about: "为 v2rayA 提议一个新的功能特性"
labels: enhancement
---
diff --git a/.github/ISSUE_TEMPLATE/help_en.md b/.github/ISSUE_TEMPLATE/help_en.md
index 53c67ccf..67f526eb 100644
--- a/.github/ISSUE_TEMPLATE/help_en.md
+++ b/.github/ISSUE_TEMPLATE/help_en.md
@@ -7,7 +7,7 @@ labels: help wanted
### Version, approach of installation, operating system
-1. What version of V2RayA are you using?
+1. What version of v2rayA are you using?
2. What approach of installation do you install V2rayA?
diff --git a/.github/ISSUE_TEMPLATE/help_zh.md b/.github/ISSUE_TEMPLATE/help_zh.md
index e2b59d94..f57aeede 100644
--- a/.github/ISSUE_TEMPLATE/help_zh.md
+++ b/.github/ISSUE_TEMPLATE/help_zh.md
@@ -1,15 +1,15 @@
---
name: 需要帮助
-about: "有些问题出现了,但我不能确定它是不是 V2RayA 的程序问题"
+about: "有些问题出现了,但我不能确定它是不是 v2rayA 的程序问题"
labels: help wanted
---
### 版本、安装方式、系统
-1. 你在使用什么版本的V2RayA
+1. 你在使用什么版本的v2rayA
-2. 你通过什么方式安装V2RayA
+2. 你通过什么方式安装v2rayA
3. 你所使用的操作系统、CPU架构
@@ -20,7 +20,7 @@ labels: help wanted
-### V2RayA运行日志(Optional):
+### v2rayA运行日志(Optional):
```bash
# daemon mode
diff --git a/.gitignore b/.gitignore
index 1276318a..19698295 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,9 +17,11 @@ node_modules
*.out
# Output
+/v2rayA_*
/V2RayA_*
/v2raya_*
/installer_*
+/v2rayA
/V2RayA
/v2raya
/web
diff --git a/.travis.yml b/.travis.yml
index 8a3e3eca..c7f7e91d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ install:
- go get github.com/mitchellh/gox
- gem install fpm
script:
- - cd service && gox -osarch="linux/386 linux/amd64 linux/arm linux/arm64" -ldflags="-X V2RayA/global.Version=${VERSION:1}" -output="../v2raya_{{.OS}}_{{.Arch}}_$VERSION"
+ - cd service && gox -osarch="linux/386 linux/amd64 linux/arm linux/arm64" -ldflags="-X v2rayA/global.Version=${VERSION:1}" -output="../v2raya_{{.OS}}_{{.Arch}}_$VERSION"
- cd ../
- files="install/universal/v2raya.service=/etc/systemd/system/v2raya.service install/universal/v2raya.png=/usr/share/icons/v2raya.png install/universal/v2raya.desktop=/usr/share/applications/v2raya.desktop"
- params="--verbose -f -n $NAME -v ${VERSION:1} --url https://github.com/mzz2017/v2raya --maintainer mzz2017 --after-install install/universal/after_install.sh --after-upgrade install/universal/after_upgrade.sh --before-remove install/universal/before_remove.sh --after-remove install/universal/after_remove.sh"
diff --git a/Dockerfile b/Dockerfile
index b81371d4..34053e10 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,16 +10,16 @@ WORKDIR /build/service
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.io
COPY --from=version /build/version ./
-RUN export VERSION=$(cat ./version) && go build -ldflags="-X V2RayA/global.Version=${VERSION:1}" -o V2RayA .
+RUN export VERSION=$(cat ./version) && go build -ldflags="-X v2rayA/global.Version=${VERSION:1}" -o v2rayA .
FROM v2fly/v2fly-core AS v2ray
FROM alpine:latest
RUN apk --no-cache add iptables
WORKDIR /v2raya
-COPY --from=builder /build/service/V2RayA .
+COPY --from=builder /build/service/v2rayA .
COPY --from=v2ray /usr/bin/v2ray/* /etc/v2ray/
ENV PATH=$PATH:/etc/v2ray
ENV GIN_MODE=release
EXPOSE 2017
-ENTRYPOINT ["./V2RayA","--mode=universal"]
+ENTRYPOINT ["./v2rayA","--mode=universal"]
diff --git a/Dockerfile.dev b/Dockerfile.dev
index 6e7873ab..3c461e14 100644
--- a/Dockerfile.dev
+++ b/Dockerfile.dev
@@ -9,7 +9,7 @@ WORKDIR /service
COPY --from=v2ray /usr/bin/v2ray/* /etc/v2ray/
ENV PATH=$PATH:/etc/v2ray
ENV CONFIG=../config.json
-ENV GIN_BIN=../V2RayA
+ENV GIN_BIN=../v2rayA
ENV GIN_GUILD_ARGS="-o ${GIN_BIN}"
ENV V2RAYA_MODE=universal
EXPOSE 2017
diff --git a/README.md b/README.md
index a2bd5ffc..0eba9827 100644
--- a/README.md
+++ b/README.md
@@ -1,27 +1,27 @@
-# V2RayA [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/mzz2017/v2raya)](https://hub.docker.com/r/mzz2017/v2raya) [![Travis (.org)](https://img.shields.io/travis/mzz2017/V2RayA?label=travis-ci%20build)](https://travis-ci.org/mzz2017/V2RayA) [![Netlify](https://img.shields.io/netlify/f93dbfa7-d14b-4968-a7a4-5e503d8bf5e5?label=netlify%20build)](https://app.netlify.com/sites/xenodochial-jepsen-122e9b/deploys)
+# v2rayA [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/mzz2017/v2raya)](https://hub.docker.com/r/mzz2017/v2raya) [![Travis (.org)](https://img.shields.io/travis/mzz2017/v2rayA?label=travis-ci%20build)](https://travis-ci.org/mzz2017/v2rayA) [![Netlify](https://img.shields.io/netlify/f93dbfa7-d14b-4968-a7a4-5e503d8bf5e5?label=netlify%20build)](https://app.netlify.com/sites/xenodochial-jepsen-122e9b/deploys)
-[**English**](https://github.com/mzz2017/V2RayA/blob/master/README.md) [**简体中文**](https://github.com/mzz2017/V2RayA/blob/master/README_zh.md)
+[**English**](https://github.com/mzz2017/v2rayA/blob/master/README.md) [**简体中文**](https://github.com/mzz2017/v2rayA/blob/master/README_zh.md)
-V2RayA is a V2Ray Linux client supporting global transparent proxy, compatible with SS, SSR, [Trojan](https://github.com/trojan-gfw/trojan), [PingTunnel](https://github.com/esrrhs/pingtunnel) protocols. [[SS/SSR protocol list]](https://github.com/mzz2017/shadowsocksR/blob/master/README.md#ss-encrypting-algorithm)
+v2rayA is a V2Ray Linux client supporting global transparent proxy, compatible with SS, SSR, [Trojan](https://github.com/trojan-gfw/trojan), [PingTunnel](https://github.com/esrrhs/pingtunnel) protocols. [[SS/SSR protocol list]](https://github.com/mzz2017/shadowsocksR/blob/master/README.md#ss-encrypting-algorithm)
-directlyWe are committed to providing the simplest operation and meet most needs.
+We are committed to providing the simplest operation and meet most needs.
Thanks to the advantages of Web GUI, you can not only use it on your local computer, but also easily deploy it on a router or NAS.
-Project:https://github.com/mzz2017/V2RayA
+Project:https://github.com/mzz2017/v2rayA
Frontend demo: https://v2raya.mzz.pub
## Usage
-V2RayA mainly provides the following methods of installation:
+v2rayA mainly provides the following methods of installation:
1. Install from apt-source or AUR
2. Docker
3. Binary file and installation package
-See [**V2RayA - Wiki**](https://github.com/mzz2017/V2RayA/wiki/Usage)
+See [**v2rayA - Wiki**](https://github.com/mzz2017/v2rayA/wiki/Usage)
## Screenshot
@@ -31,7 +31,7 @@ See [**V2RayA - Wiki**](https://github.com/mzz2017/V2RayA/wiki/Usage)
## Statement
1. The program does not save any user data in the cloud, all user data is stored in local. If the v2raya service is running in docker, the configuration will disappear when the related docker volume is removed. Please make a backup if necessary.
-2. The provided [GUI demo](https://v2raya.mzz.pub) is automatically deployed by [Netlify](https://app.netlify.com/). If you are worried about security, you can [deploy it yourself](https://github.com/mzz2017/V2RayA/wiki/Deploy-GUI).
+2. The provided [GUI demo](https://v2raya.mzz.pub) is automatically deployed by [Netlify](https://app.netlify.com/). If you are worried about security, you can [deploy it yourself](https://github.com/mzz2017/v2rayA/wiki/Deploy-GUI).
3. **Do not use this project for illegal purposes.**
## Credits
diff --git a/README_zh.md b/README_zh.md
index ff73465c..fe3b25ce 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -1,27 +1,27 @@
-# V2RayA [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/mzz2017/v2raya)](https://hub.docker.com/r/mzz2017/v2raya) [![Travis (.org)](https://img.shields.io/travis/mzz2017/V2RayA?label=travis-ci%20build)](https://travis-ci.org/mzz2017/V2RayA) [![Netlify](https://img.shields.io/netlify/f93dbfa7-d14b-4968-a7a4-5e503d8bf5e5?label=netlify%20build)](https://app.netlify.com/sites/xenodochial-jepsen-122e9b/deploys)
+# v2rayA [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/mzz2017/v2raya)](https://hub.docker.com/r/mzz2017/v2raya) [![Travis (.org)](https://img.shields.io/travis/mzz2017/v2rayA?label=travis-ci%20build)](https://travis-ci.org/mzz2017/v2rayA) [![Netlify](https://img.shields.io/netlify/f93dbfa7-d14b-4968-a7a4-5e503d8bf5e5?label=netlify%20build)](https://app.netlify.com/sites/xenodochial-jepsen-122e9b/deploys)
-[**English**](https://github.com/mzz2017/V2RayA/blob/master/README.md) [**简体中文**](https://github.com/mzz2017/V2RayA/blob/master/README_zh.md)
+[**English**](https://github.com/mzz2017/v2rayA/blob/master/README.md) [**简体中文**](https://github.com/mzz2017/v2rayA/blob/master/README_zh.md)
-V2RayA 是一个支持全局透明代理的 V2Ray Linux 客户端,同时兼容SS、SSR、[Trojan](https://github.com/trojan-gfw/trojan)、[PingTunnel](https://github.com/esrrhs/pingtunnel)协议。 [[SS/SSR支持清单]](https://github.com/mzz2017/shadowsocksR/blob/master/README.md#ss-encrypting-algorithm)
+v2rayA 是一个支持全局透明代理的 V2Ray Linux 客户端,同时兼容SS、SSR、[Trojan](https://github.com/trojan-gfw/trojan)、[PingTunnel](https://github.com/esrrhs/pingtunnel)协议。 [[SS/SSR支持清单]](https://github.com/mzz2017/shadowsocksR/blob/master/README.md#ss-encrypting-algorithm)
-V2RayA 致力于提供最简单的操作,满足绝大部分需求。
+v2rayA 致力于提供最简单的操作,满足绝大部分需求。
得益于Web客户端的优势,你不仅可以将其用于本地计算机,还可以轻松地将它部署在路由器或NAS上。
-项目地址:https://github.com/mzz2017/V2RayA
+项目地址:https://github.com/mzz2017/v2rayA
前端 demo: https://v2raya.mzz.pub
## 使用方法
-V2RayA主要提供了下述使用方法:
+v2rayA主要提供了下述使用方法:
1. 软件源安装
2. docker
3. 二进制文件、安装包
-详见 [**V2RayA - Wiki**](https://github.com/mzz2017/V2RayA/wiki/使用方法)
+详见 [**v2rayA - Wiki**](https://github.com/mzz2017/v2rayA/wiki/使用方法)
## 界面截图
@@ -33,7 +33,7 @@ V2RayA主要提供了下述使用方法:
1. 程序不会将任何用户数据保存在云端,所有用户数据存放在用户本地配置文件中。若服务端运行于 docker,则当相应 docker volume 被清除时配置也将随之消失,请做好备份。
-2. 提供的[GUI demo](https://v2raya.mzz.pub)是由[Netlify](https://app.netlify.com/)在本 Github 项目自动部署完成的,如果担心安全性可以[自行部署](https://github.com/mzz2017/V2RayA/wiki/%E9%83%A8%E7%BD%B2GUI)。
+2. 提供的[GUI demo](https://v2raya.mzz.pub)是由[Netlify](https://app.netlify.com/)在本 Github 项目自动部署完成的,如果担心安全性可以[自行部署](https://github.com/mzz2017/v2rayA/wiki/%E9%83%A8%E7%BD%B2GUI)。
3. **不要将本项目用于不合法用途。**
diff --git a/gui/README.md b/gui/README.md
index 46a418c2..c2858b5f 100644
--- a/gui/README.md
+++ b/gui/README.md
@@ -1,4 +1,4 @@
-# V2RayA-GUI
+# v2rayA-GUI
## Project setup
```
diff --git a/gui/public/index.html b/gui/public/index.html
index 539064b9..f68d2d84 100644
--- a/gui/public/index.html
+++ b/gui/public/index.html
@@ -5,11 +5,11 @@
-
V2RayA
+ v2rayA
- We're sorry but V2RayA-GUI doesn't work properly without JavaScript enabled. Please enable it to continue.
+ We're sorry but v2rayA-GUI doesn't work properly without JavaScript enabled. Please enable it to continue.
diff --git a/gui/src/App.vue b/gui/src/App.vue
index 4aed172e..9a2c0ffb 100644
--- a/gui/src/App.vue
+++ b/gui/src/App.vue
@@ -3,7 +3,7 @@
-
+
@@ -143,7 +143,7 @@ export default {
console.log("app created");
let ba = localStorage.getItem("backendAddress");
let u = parseURL(ba);
- document.title = `V2RayA - ${u.host}:${u.port}`;
+ document.title = `v2rayA - ${u.host}:${u.port}`;
this.$axios({
url: apiRoot + "/version"
}).then(res => {
@@ -219,16 +219,16 @@ export default {
content: `
- mzz2017 / V2RayA
+ mzz2017 / v2rayA
diff --git a/gui/src/components/modalCustomRoutingA.vue b/gui/src/components/modalCustomRoutingA.vue
index 330092aa..910d068b 100644
--- a/gui/src/components/modalCustomRoutingA.vue
+++ b/gui/src/components/modalCustomRoutingA.vue
@@ -63,7 +63,7 @@ export default {
},
methods: {
handleClickManual() {
- window.open("https://github.com/mzz2017/V2RayA/wiki/RoutingA", "_blank");
+ window.open("https://github.com/mzz2017/v2rayA/wiki/RoutingA", "_blank");
},
handleClickSubmit() {
this.$axios({
diff --git a/gui/src/components/modalLogin.vue b/gui/src/components/modalLogin.vue
index 8e67842c..58c975db 100644
--- a/gui/src/components/modalLogin.vue
+++ b/gui/src/components/modalLogin.vue
@@ -2,12 +2,12 @@
-
+
diff --git a/gui/src/locales/en.js b/gui/src/locales/en.js
index 59837dc9..2386d5fd 100644
--- a/gui/src/locales/en.js
+++ b/gui/src/locales/en.js
@@ -17,8 +17,8 @@ export default {
},
welcome: {
title: "Welcome",
- docker: "V2RayA service is running in Docker. Version: {version}",
- default: "V2RayA service is running. Version: {version}",
+ docker: "v2rayA service is running in Docker. Version: {version}",
+ default: "v2rayA service is running. Version: {version}",
newVersion: "Detected new version: {version}",
messages: [
"There is no server.",
@@ -71,7 +71,7 @@ export default {
messages: [
"Remember your admin account which is importantly used to login.",
"Account information is stored in local. We never send information to any server.",
- "Once password was forgot, you could delete the config file and restart V2RayA service to reset."
+ "Once password was forgot, you could delete the config file and restart v2rayA service to reset."
]
},
login: {
@@ -154,7 +154,7 @@ export default {
domainFile: "Domain File",
typeRule: "Type of Rule",
messages: {
- 0: "V2RayA will recognize all SiteDat file in {V2RayLocationAsset} ",
+ 0: "v2rayA will recognize all SiteDat file in {V2RayLocationAsset} ",
1: 'To make a SiteDat file by yourself: ToutyRater/V2Ray-SiteDAT ',
2: "Multi-select is supported.",
noSiteDatFileFound: "No siteDat file found in {V2RayLocationAsset}",
@@ -179,7 +179,7 @@ export default {
tcpPortWhitelist: "TCP Port Whitelist",
udpPortWhitelist: "UDP Port Whitelist",
messages: [
- "If V2RayA is setup on a server providing service to clients, pay attention:",
+ "If v2rayA is setup on a server providing service to clients, pay attention:",
"Transparent proxy will force all TCP and UDP traffic to pass through proxy server, where source IP address will be replaced with proxy's. Moreover, if some clients send requests to the IP address of your server that provides service, they will received responses from your proxy's IP address weirdly, which is illegal.",
"To resolve it, we need to add those service ports to whitelist so that not pass through proxy.For examples, ssh(22)、v2raya({v2rayaPort}).",
"Obviously, if the server does not provide any service, you can skip configuring.",
@@ -219,12 +219,12 @@ export default {
},
version: {
higherVersionNeeded:
- "This operation need higher version of V2RayA than {version}",
+ "This operation need higher version of v2rayA than {version}",
v2rayInvalid: "v2ray-core may not be installed correctly"
},
- about: `V2RayA is a web GUI client of V2Ray. Frontend is built with Vue.js and backend is built with golang.
+ about: `v2rayA is a web GUI client of V2Ray. Frontend is built with Vue.js and backend is built with golang.
Default ports:
- 2017: V2RayA service port
+ 2017: v2rayA service port
20170: SOCKS protocol
20171: HTTP protocol
20172: HTTP protocol with PAC
@@ -232,19 +232,19 @@ export default {
12345: tproxy, needed by transparent proxy
12346: port of plugins such as trojan, ssr and pingtunnel
All data is stored in local. If service is running in docker, configure will disappear with related docker volume's removing. Backup data if necessary.
-
Problems found during use can be reported at issues .
`,
+ Problems found during use can be reported at issues .
`,
axios: {
messages: {
- optimizeBackend: "Adjust V2RayA service address?",
+ optimizeBackend: "Adjust v2rayA service address?",
noBackendFound:
- "Cannot find V2RayA at {url}. Make sure V2RayA is running at this address.",
+ "Cannot find v2rayA at {url}. Make sure v2rayA is running at this address.",
cannotCommunicate: [
"Cannot communicate. If your service is running and ports open correctly, the reason may be that current browser does not allow https sites to access http resources, you can try using Chrome or switching to alternate http site.",
"Cannot communicate. Firefox does not allow https sites to access http resources, you can try switching to alternate http site."
]
},
urls: {
- usage: "https://github.com/mzz2017/V2RayA/wiki/Usage"
+ usage: "https://github.com/mzz2017/v2rayA/wiki/Usage"
}
},
routingA: {
diff --git a/gui/src/locales/zh.js b/gui/src/locales/zh.js
index ae7705f0..c1b30d07 100644
--- a/gui/src/locales/zh.js
+++ b/gui/src/locales/zh.js
@@ -17,8 +17,8 @@ export default {
},
welcome: {
title: "初来乍到,请多关照",
- docker: "V2RayA服务端正在运行于Docker环境中,Version: {version}",
- default: "V2RayA服务端正在运行,Version: {version}",
+ docker: "v2rayA服务端正在运行于Docker环境中,Version: {version}",
+ default: "v2rayA服务端正在运行,Version: {version}",
newVersion: "检测到新版本: {version}",
messages: [
"我们发现你还没有创建或导入任何节点、订阅。",
@@ -177,7 +177,7 @@ export default {
tcpPortWhitelist: "TCP端口白名单",
udpPortWhitelist: "UDP端口白名单",
messages: [
- "如果你将V2RayA架设在对外提供服务的服务器上,那么你需要注意:",
+ "如果你将v2rayA架设在对外提供服务的服务器上,那么你需要注意:",
"全局透明代理会使得所有TCP、UDP流量走代理,通过走代理的流量其源IP地址会被替换为代理服务器的IP地址,那么如果客户请求你的服务器IP地址,他却将得到从你代理服务器IP发出的回答,该回答在客户看来无疑是不合法的,从而导致服务被拒绝。",
"因此,需要将服务器提供的对外服务端口包含在白名单中,使其不走代理。如ssh(22)、v2raya({v2rayaPort})。",
"如不对外提供服务或仅对局域网内主机提供服务,则可不设置白名单。",
@@ -211,12 +211,12 @@ export default {
message: "时延测试往往需要花费较长时间,请耐心等待"
},
version: {
- higherVersionNeeded: "该操作需要V2RayA的版本高于{version}",
+ higherVersionNeeded: "该操作需要v2rayA的版本高于{version}",
v2rayInvalid: "检测到v2ray-core可能未正确安装,请检查"
},
- about: `V2RayA是V2Ray的一个Web客户端,前端使用Vue.js构建,后端使用Golang构建。
+ about: `v2rayA是V2Ray的一个Web客户端,前端使用Vue.js构建,后端使用Golang构建。
默认端口:
- 2017: V2RayA后端端口
+ 2017: v2rayA后端端口
20170: SOCKS协议
20171: HTTP协议
20172: 带PAC的HTTP协议
@@ -224,11 +224,11 @@ export default {
12345: tproxy,透明代理所需
12346: 插件协议端口,如trojan、ssr和pingtunnel
应用不会将任何用户数据保存在云端,所有用户数据存放在用户本地配置文件中。若服务端运行于docker,则当相应 docker volume 被清除时配置也将随之消失,请做好备份。
-
在使用中如果发现任何问题,欢迎提出issue 。
`,
+ 在使用中如果发现任何问题,欢迎提出issue 。
`,
axios: {
messages: {
optimizeBackend: "您是否需要调整服务端地址?",
- noBackendFound: "未在 {url} 检测到V2RayA服务端,请确定V2RayA正常运行",
+ noBackendFound: "未在 {url} 检测到v2rayA服务端,请确定v2rayA正常运行",
cannotCommunicate: [
"无法通信。如果您的服务端已正常运行,且端口正常开放,原因可能是当前浏览器不允许https站点访问http资源,您可以尝试切换为http备用站点。",
"无法通信。火狐浏览器不允许https站点访问http资源,您可以换用Chrome浏览器或切换为http备用站点。"
@@ -236,7 +236,7 @@ export default {
},
urls: {
usage:
- "https://github.com/mzz2017/V2RayA/wiki/%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95"
+ "https://github.com/mzz2017/v2rayA/wiki/%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95"
}
},
routingA: {
diff --git a/gui/src/node.vue b/gui/src/node.vue
index 47e5af2d..d1c6bc19 100644
--- a/gui/src/node.vue
+++ b/gui/src/node.vue
@@ -839,10 +839,10 @@ export default {
@@ -965,7 +965,7 @@ export default {
actionText: this.$t("operations.helpManual"),
onAction: () => {
window.open(
- "https://github.com/mzz2017/V2RayA#%E4%BD%BF%E7%94%A8",
+ "https://github.com/mzz2017/v2rayA#%E4%BD%BF%E7%94%A8",
"_blank"
);
}
diff --git a/gui/vue.config.js b/gui/vue.config.js
index e18ed6fa..54ebe305 100644
--- a/gui/vue.config.js
+++ b/gui/vue.config.js
@@ -49,12 +49,12 @@ module.exports = {
},
// publicPath:process.env.NODE_ENV === 'production'
- // ? '/V2RayA/'
+ // ? '/v2rayA/'
// : '/',
outputDir: "../web",
pwa: {
- name: "V2RayA",
+ name: "v2rayA",
themeColor: "#FFDD57",
msTileColor: "#fff",
appleMobileWebAppCapable: "yes",
diff --git a/install/aur/v2raya-bin/.SRCINFO b/install/aur/v2raya-bin/.SRCINFO
index a8c0053d..5c483b5f 100644
--- a/install/aur/v2raya-bin/.SRCINFO
+++ b/install/aur/v2raya-bin/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = v2raya-bin
pkgdesc = A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and PingTunnel protocols
pkgver = {{pkgver}}
pkgrel = 1
- url = https://github.com/mzz2017/V2RayA
+ url = https://github.com/mzz2017/v2rayA
install = .INSTALL
arch = i686
arch = x86_64
diff --git a/install/aur/v2raya-bin/PKGBUILD b/install/aur/v2raya-bin/PKGBUILD
index 016acb26..7afba4ac 100644
--- a/install/aur/v2raya-bin/PKGBUILD
+++ b/install/aur/v2raya-bin/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
install=.INSTALL
pkgdesc="A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and PingTunnel protocols"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
-url="https://github.com/mzz2017/V2RayA"
+url="https://github.com/mzz2017/v2rayA"
license=('GPL')
depends=('glibc' 'v2ray')
provides=('v2raya')
diff --git a/install/aur/v2raya/.SRCINFO b/install/aur/v2raya/.SRCINFO
index 42d90aa4..57b7fd3c 100644
--- a/install/aur/v2raya/.SRCINFO
+++ b/install/aur/v2raya/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = v2raya
pkgdesc = A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and PingTunnel protocols
pkgver = {{pkgver}}
pkgrel = 1
- url = https://github.com/mzz2017/V2RayA
+ url = https://github.com/mzz2017/v2rayA
install = .INSTALL
arch = i686
arch = x86_64
@@ -13,7 +13,7 @@ pkgbase = v2raya
makedepends = go>=2:1.11.3-1
depends = glibc
depends = v2ray
- source = v2raya-{{pkgver}}.tar.gz::https://github.com/mzz2017/V2RayA/archive/v{{pkgver}}.tar.gz
+ source = v2raya-{{pkgver}}.tar.gz::https://github.com/mzz2017/v2rayA/archive/v{{pkgver}}.tar.gz
sha512sums = SKIP
pkgname = v2raya
diff --git a/install/aur/v2raya/PKGBUILD b/install/aur/v2raya/PKGBUILD
index e9ca440e..6fcfc9a9 100644
--- a/install/aur/v2raya/PKGBUILD
+++ b/install/aur/v2raya/PKGBUILD
@@ -6,22 +6,22 @@ pkgrel=1
install=.INSTALL
pkgdesc="A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and PingTunnel protocols"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
-url="https://github.com/mzz2017/V2RayA"
+url="https://github.com/mzz2017/v2rayA"
license=('GPL')
depends=('glibc' 'v2ray')
makedepends=('go>=2:1.12.3-1')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mzz2017/V2RayA/archive/v$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mzz2017/v2rayA/archive/v$pkgver.tar.gz")
sha512sums=('SKIP')
build() {
- cd "V2RayA-$pkgver/service"
+ cd "v2rayA-$pkgver/service"
export GO111MODULE=on
export GOPROXY=https://goproxy.io
- go build -ldflags="-X V2RayA/global.Version=$pkgver" -o v2raya
+ go build -ldflags="-X v2rayA/global.Version=$pkgver" -o v2raya
}
package() {
- cd "$srcdir/V2RayA-$pkgver"
+ cd "$srcdir/v2rayA-$pkgver"
install -Dm644 "install/universal/v2raya.service" "$pkgdir/usr/lib/systemd/system/v2raya.service"
install -Dm755 "service/v2raya" -t "$pkgdir/usr/bin/"
diff --git a/install/universal/v2raya.desktop b/install/universal/v2raya.desktop
index 6c60717c..57bda615 100644
--- a/install/universal/v2raya.desktop
+++ b/install/universal/v2raya.desktop
@@ -2,7 +2,7 @@
Version=1.0
Terminal=false
Type=Application
-Name=V2RayA
+Name=v2rayA
Keywords=Internet;VPN;Proxy;v2ray;v2raya
Exec=python -m webbrowser "https://v2raya.mzz.pub"
Icon=/usr/share/icons/v2raya.png
\ No newline at end of file
diff --git a/install/universal/v2raya.service b/install/universal/v2raya.service
index ffa52d62..250f8205 100644
--- a/install/universal/v2raya.service
+++ b/install/universal/v2raya.service
@@ -1,6 +1,6 @@
[Unit]
-Description=V2RayA Service
-Documentation=https://github.com/mzz2017/V2RayA/blob/master/README.md
+Description=v2rayA Service
+Documentation=https://github.com/mzz2017/v2rayA/blob/master/README.md
After=network.target
Wants=network.target
diff --git a/service/.gitignore b/service/.gitignore
index 541b18f7..546a311c 100644
--- a/service/.gitignore
+++ b/service/.gitignore
@@ -1,5 +1,6 @@
/v2raya
/main.test.go
+/v2rayA*
/V2RayA*
/v2raya*
/.tr
diff --git a/service/common/httpClient/httpClient.go b/service/common/httpClient/httpClient.go
index 86953f4c..0fbfe835 100644
--- a/service/common/httpClient/httpClient.go
+++ b/service/common/httpClient/httpClient.go
@@ -1,10 +1,10 @@
package httpClient
import (
- "V2RayA/common"
- "V2RayA/core/v2ray"
- "V2RayA/extra/proxyWithHttp"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/core/v2ray"
+ "v2rayA/extra/proxyWithHttp"
+ "v2rayA/persistence/configure"
"net/http"
"net/url"
"os/exec"
@@ -26,7 +26,7 @@ func GetHttpClientWithProxy(proxyURL string) (client *http.Client, err error) {
return
}
-func GetHttpClientWithV2RayAProxy() (client *http.Client, err error) {
+func GetHttpClientWithv2rayAProxy() (client *http.Client, err error) {
host := "127.0.0.1"
//是否在docker环境
if common.IsInDocker() {
@@ -41,7 +41,7 @@ func GetHttpClientWithV2RayAProxy() (client *http.Client, err error) {
return GetHttpClientWithProxy("socks5://" + host + ":20170")
}
-func GetHttpClientWithV2RayAPac() (client *http.Client, err error) {
+func GetHttpClientWithv2rayAPac() (client *http.Client, err error) {
host := "127.0.0.1"
//是否在docker环境
if common.IsInDocker() {
@@ -63,9 +63,9 @@ func GetHttpClientAutomatically() (c *http.Client, err error) {
setting := configure.GetSettingNotNil()
switch setting.ProxyModeWhenSubscribe {
case configure.ProxyModePac:
- c, err = GetHttpClientWithV2RayAPac()
+ c, err = GetHttpClientWithv2rayAPac()
case configure.ProxyModeProxy:
- c, err = GetHttpClientWithV2RayAProxy()
+ c, err = GetHttpClientWithv2rayAProxy()
default:
c = http.DefaultClient
}
diff --git a/service/common/jwt/jwtTools.go b/service/common/jwt/jwtTools.go
index e8f8777e..132ffc72 100644
--- a/service/common/jwt/jwtTools.go
+++ b/service/common/jwt/jwtTools.go
@@ -1,7 +1,7 @@
package jwt
import (
- "V2RayA/common"
+ "v2rayA/common"
"encoding/base64"
"fmt"
"github.com/dgrijalva/jwt-go"
diff --git a/service/common/netTools/ipaddress.go b/service/common/netTools/ipaddress.go
index e1f81ca0..8c67accb 100644
--- a/service/common/netTools/ipaddress.go
+++ b/service/common/netTools/ipaddress.go
@@ -1,7 +1,7 @@
package netTools
import (
- Trie "V2RayA/dataStructure/trie"
+ Trie "v2rayA/dataStructure/trie"
"strconv"
"strings"
)
diff --git a/service/common/netTools/ports/port.go b/service/common/netTools/ports/port.go
index 3b7f9780..2a5a6cff 100644
--- a/service/common/netTools/ports/port.go
+++ b/service/common/netTools/ports/port.go
@@ -1,7 +1,7 @@
package ports
import (
- "V2RayA/common/netTools/netstat"
+ "v2rayA/common/netTools/netstat"
"strconv"
"strings"
)
diff --git a/service/common/ntp/ntp.go b/service/common/ntp/ntp.go
index 5df13d64..36b400ef 100644
--- a/service/common/ntp/ntp.go
+++ b/service/common/ntp/ntp.go
@@ -1,7 +1,7 @@
package ntp
import (
- "V2RayA/common"
+ "v2rayA/common"
"github.com/beevik/ntp"
"time"
)
diff --git a/service/controller/account.go b/service/controller/account.go
index dbda01df..2ac8e038 100644
--- a/service/controller/account.go
+++ b/service/controller/account.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
"sync"
"time"
diff --git a/service/controller/connection.go b/service/controller/connection.go
index 2233974a..700c5036 100644
--- a/service/controller/connection.go
+++ b/service/controller/connection.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/customPac.go b/service/controller/customPac.go
index 4c9aedb8..6a6909e9 100644
--- a/service/controller/customPac.go
+++ b/service/controller/customPac.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/v2ray/asset"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/dohlist.go b/service/controller/dohlist.go
index 0da8f3e7..5663123f 100644
--- a/service/controller/dohlist.go
+++ b/service/controller/dohlist.go
@@ -1,8 +1,8 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
"github.com/gin-gonic/gin"
"strings"
)
diff --git a/service/controller/gfwlist.go b/service/controller/gfwlist.go
index b9419562..d61d8e30 100644
--- a/service/controller/gfwlist.go
+++ b/service/controller/gfwlist.go
@@ -1,8 +1,8 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/v2ray/asset/gfwlist"
+ "v2rayA/common"
+ "v2rayA/core/v2ray/asset/gfwlist"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/import.go b/service/controller/import.go
index 8b55f1d9..9af8517f 100644
--- a/service/controller/import.go
+++ b/service/controller/import.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/latency.go b/service/controller/latency.go
index 83416527..59818a38 100644
--- a/service/controller/latency.go
+++ b/service/controller/latency.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
"github.com/json-iterator/go"
"time"
diff --git a/service/controller/portWhiteList.go b/service/controller/portWhiteList.go
index 9e1beca4..b0e1ae29 100644
--- a/service/controller/portWhiteList.go
+++ b/service/controller/portWhiteList.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/global"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
"strconv"
"strings"
diff --git a/service/controller/portWhiteList_test.go b/service/controller/portWhiteList_test.go
index 1aea2b31..da3c95be 100644
--- a/service/controller/portWhiteList_test.go
+++ b/service/controller/portWhiteList_test.go
@@ -1,7 +1,7 @@
package controller
import (
- "V2RayA/persistence/configure"
+ "v2rayA/persistence/configure"
"testing"
)
diff --git a/service/controller/ports.go b/service/controller/ports.go
index e0697fd0..e1180e82 100644
--- a/service/controller/ports.go
+++ b/service/controller/ports.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/routingA.go b/service/controller/routingA.go
index 2acce238..095ef288 100644
--- a/service/controller/routingA.go
+++ b/service/controller/routingA.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/routingA"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/core/routingA"
+ "v2rayA/persistence/configure"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/setting.go b/service/controller/setting.go
index 5453ac54..c4f6c841 100644
--- a/service/controller/setting.go
+++ b/service/controller/setting.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/v2ray/asset"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/sharingAddress.go b/service/controller/sharingAddress.go
index b0b84608..6bde5b07 100644
--- a/service/controller/sharingAddress.go
+++ b/service/controller/sharingAddress.go
@@ -1,9 +1,9 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
"github.com/json-iterator/go"
)
diff --git a/service/controller/subscription.go b/service/controller/subscription.go
index 7e619f72..24c90da2 100644
--- a/service/controller/subscription.go
+++ b/service/controller/subscription.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/touch"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/core/touch"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/touch.go b/service/controller/touch.go
index 2c7544dd..dd0e01bb 100644
--- a/service/controller/touch.go
+++ b/service/controller/touch.go
@@ -1,11 +1,11 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/touch"
- "V2RayA/core/v2ray"
- "V2RayA/persistence/configure"
- "V2RayA/service"
+ "v2rayA/common"
+ "v2rayA/core/touch"
+ "v2rayA/core/v2ray"
+ "v2rayA/persistence/configure"
+ "v2rayA/service"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/v2ray.go b/service/controller/v2ray.go
index 64557714..05e293f0 100644
--- a/service/controller/v2ray.go
+++ b/service/controller/v2ray.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/v2ray"
- "V2RayA/global"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/core/v2ray"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
"github.com/gin-gonic/gin"
)
diff --git a/service/controller/version.go b/service/controller/version.go
index 47b0e1fc..0bad149c 100644
--- a/service/controller/version.go
+++ b/service/controller/version.go
@@ -1,10 +1,10 @@
package controller
import (
- "V2RayA/common"
- "V2RayA/core/v2ray"
- "V2RayA/core/v2ray/asset/gfwlist"
- "V2RayA/global"
+ "v2rayA/common"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/v2ray/asset/gfwlist"
+ "v2rayA/global"
"github.com/gin-gonic/gin"
"net/http"
)
diff --git a/service/core/dnsPoison/dnsPoison.go b/service/core/dnsPoison/dnsPoison.go
index 6d94e27b..730ab752 100644
--- a/service/core/dnsPoison/dnsPoison.go
+++ b/service/core/dnsPoison/dnsPoison.go
@@ -1,8 +1,8 @@
package dnsPoison
import (
- "V2RayA/common"
- "V2RayA/common/netTools"
+ "v2rayA/common"
+ "v2rayA/common/netTools"
"fmt"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
diff --git a/service/core/dnsPoison/entity/entity.go b/service/core/dnsPoison/entity/entity.go
index 4b04b990..608f46a1 100644
--- a/service/core/dnsPoison/entity/entity.go
+++ b/service/core/dnsPoison/entity/entity.go
@@ -1,9 +1,9 @@
package entity
import (
- "V2RayA/common/netTools"
- "V2RayA/core/dnsPoison"
- "V2RayA/core/v2ray/asset"
+ "v2rayA/common/netTools"
+ "v2rayA/core/dnsPoison"
+ "v2rayA/core/v2ray/asset"
"log"
"sync"
"time"
diff --git a/service/core/iptables/iptables.go b/service/core/iptables/iptables.go
index fc476994..8a6fb1ac 100644
--- a/service/core/iptables/iptables.go
+++ b/service/core/iptables/iptables.go
@@ -1,8 +1,8 @@
package iptables
import (
- "V2RayA/common"
- "V2RayA/common/cmds"
+ "v2rayA/common"
+ "v2rayA/common/cmds"
"strings"
)
diff --git a/service/core/iptables/redirect.go b/service/core/iptables/redirect.go
index 844727ac..2af754e8 100644
--- a/service/core/iptables/redirect.go
+++ b/service/core/iptables/redirect.go
@@ -1,7 +1,7 @@
package iptables
import (
- "V2RayA/common/cmds"
+ "v2rayA/common/cmds"
)
type redirect struct{ iptablesSetter }
diff --git a/service/core/iptables/spoofingFilter.go b/service/core/iptables/spoofingFilter.go
index 2bc375b3..eada1ebf 100644
--- a/service/core/iptables/spoofingFilter.go
+++ b/service/core/iptables/spoofingFilter.go
@@ -1,6 +1,6 @@
package iptables
-import "V2RayA/common/cmds"
+import "v2rayA/common/cmds"
type spoofingFilter struct{ iptablesSetter }
diff --git a/service/core/iptables/tproxy.go b/service/core/iptables/tproxy.go
index feb11dcf..cd13b008 100644
--- a/service/core/iptables/tproxy.go
+++ b/service/core/iptables/tproxy.go
@@ -1,6 +1,6 @@
package iptables
-import "V2RayA/common/cmds"
+import "v2rayA/common/cmds"
type tproxy struct{ iptablesSetter }
diff --git a/service/core/nodeData/nodeData.go b/service/core/nodeData/nodeData.go
index 3c2aebd2..13874002 100644
--- a/service/core/nodeData/nodeData.go
+++ b/service/core/nodeData/nodeData.go
@@ -1,8 +1,8 @@
package nodeData
import (
- "V2RayA/core/vmessInfo"
- "V2RayA/persistence/configure"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/persistence/configure"
)
/*
diff --git a/service/core/routingA/syntaxTree.go b/service/core/routingA/syntaxTree.go
index bc7f3763..fca0ea36 100644
--- a/service/core/routingA/syntaxTree.go
+++ b/service/core/routingA/syntaxTree.go
@@ -1,8 +1,8 @@
package routingA
import (
- "V2RayA/common"
- "V2RayA/global"
+ "v2rayA/common"
+ "v2rayA/global"
"v2ray.com/core/common/errors"
"fmt"
"strconv"
diff --git a/service/core/touch/touch.go b/service/core/touch/touch.go
index a07b52c9..1800321c 100644
--- a/service/core/touch/touch.go
+++ b/service/core/touch/touch.go
@@ -1,7 +1,7 @@
package touch
import (
- "V2RayA/persistence/configure"
+ "v2rayA/persistence/configure"
"fmt"
"net/url"
"time"
diff --git a/service/core/v2ray/asset/asset.go b/service/core/v2ray/asset/asset.go
index 41612926..596ec236 100644
--- a/service/core/v2ray/asset/asset.go
+++ b/service/core/v2ray/asset/asset.go
@@ -1,9 +1,9 @@
package asset
import (
- "V2RayA/common/files"
- "V2RayA/core/dnsPoison"
- "V2RayA/global"
+ "v2rayA/common/files"
+ "v2rayA/core/dnsPoison"
+ "v2rayA/global"
"github.com/gogo/protobuf/proto"
"github.com/muhammadmuzzammil1998/jsonc"
"io/ioutil"
diff --git a/service/core/v2ray/asset/gfwlist/gfwlist.go b/service/core/v2ray/asset/gfwlist/gfwlist.go
index 21eb6282..56abc2c8 100644
--- a/service/core/v2ray/asset/gfwlist/gfwlist.go
+++ b/service/core/v2ray/asset/gfwlist/gfwlist.go
@@ -1,12 +1,12 @@
package gfwlist
import (
- "V2RayA/common/files"
- "V2RayA/common/httpClient"
- "V2RayA/core/v2ray"
- "V2RayA/core/v2ray/asset"
- "V2RayA/extra/gopeed"
- "V2RayA/persistence/configure"
+ "v2rayA/common/files"
+ "v2rayA/common/httpClient"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/extra/gopeed"
+ "v2rayA/persistence/configure"
"fmt"
"github.com/tidwall/gjson"
"io/ioutil"
diff --git a/service/core/v2ray/status.go b/service/core/v2ray/status.go
index 16da730d..e8321114 100644
--- a/service/core/v2ray/status.go
+++ b/service/core/v2ray/status.go
@@ -1,14 +1,14 @@
package v2ray
import (
- "V2RayA/common/netTools/netstat"
- "V2RayA/common/ntp"
- "V2RayA/core/dnsPoison/entity"
- "V2RayA/core/v2ray/asset"
- "V2RayA/core/vmessInfo"
- "V2RayA/global"
- "V2RayA/persistence/configure"
- "V2RayA/plugins"
+ "v2rayA/common/netTools/netstat"
+ "v2rayA/common/ntp"
+ "v2rayA/core/dnsPoison/entity"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
+ "v2rayA/plugins"
"bytes"
"fmt"
netstat2 "github.com/cakturk/go-netstat/netstat"
diff --git a/service/core/v2ray/transparent.go b/service/core/v2ray/transparent.go
index abbf1e5a..6da0a532 100644
--- a/service/core/v2ray/transparent.go
+++ b/service/core/v2ray/transparent.go
@@ -1,11 +1,11 @@
package v2ray
import (
- "V2RayA/common/netTools/netstat"
- "V2RayA/common/netTools/ports"
- "V2RayA/core/iptables"
- "V2RayA/global"
- "V2RayA/persistence/configure"
+ "v2rayA/common/netTools/netstat"
+ "v2rayA/common/netTools/ports"
+ "v2rayA/core/iptables"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
"log"
"strings"
)
diff --git a/service/core/v2ray/v2rayService.go b/service/core/v2ray/v2rayService.go
index faa95ed9..fe7f85ee 100644
--- a/service/core/v2ray/v2rayService.go
+++ b/service/core/v2ray/v2rayService.go
@@ -1,9 +1,9 @@
package v2ray
import (
- "V2RayA/common"
- "V2RayA/core/v2ray/asset"
- "V2RayA/global"
+ "v2rayA/common"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/global"
"bytes"
"fmt"
"io/ioutil"
diff --git a/service/core/v2ray/v2rayTmpl.go b/service/core/v2ray/v2rayTmpl.go
index b374b208..73b695e9 100644
--- a/service/core/v2ray/v2rayTmpl.go
+++ b/service/core/v2ray/v2rayTmpl.go
@@ -1,12 +1,12 @@
package v2ray
import (
- "V2RayA/core/dnsPoison/entity"
- "V2RayA/core/routingA"
- "V2RayA/core/v2ray/asset"
- "V2RayA/core/vmessInfo"
- "V2RayA/global"
- "V2RayA/persistence/configure"
+ "v2rayA/core/dnsPoison/entity"
+ "v2rayA/core/routingA"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
"bytes"
"fmt"
jsoniter "github.com/json-iterator/go"
@@ -430,8 +430,8 @@ func (t *Template) SetDNS(v vmessInfo.VmessInfo, supportUDP bool, setting *confi
"geosite:cn", // 国内白名单走DNSPod
"domain:ntp.org", // NTP 服务器
"domain:dogedoge.com", // mzz2017爱用的多吉
- "full:v2raya.mzz.pub", // V2RayA demo
- "full:v.mzz.pub", // V2RayA demo
+ "full:v2raya.mzz.pub", // v2rayA demo
+ "full:v.mzz.pub", // v2rayA demo
},
}
if len(dohDomains) > 0 {
diff --git a/service/core/vmessInfo/vmessInfo.go b/service/core/vmessInfo/vmessInfo.go
index 9da41ea6..250d40bb 100644
--- a/service/core/vmessInfo/vmessInfo.go
+++ b/service/core/vmessInfo/vmessInfo.go
@@ -1,7 +1,7 @@
package vmessInfo
import (
- "V2RayA/common"
+ "v2rayA/common"
"encoding/base64"
"fmt"
"github.com/json-iterator/go"
diff --git a/service/extra/gopeed/down.go b/service/extra/gopeed/down.go
index 56b6e48a..3b9e09dc 100644
--- a/service/extra/gopeed/down.go
+++ b/service/extra/gopeed/down.go
@@ -1,8 +1,8 @@
package gopeed
import (
- "V2RayA/extra/copyfile"
- "V2RayA/common"
+ "v2rayA/extra/copyfile"
+ "v2rayA/common"
"fmt"
gonanoid "github.com/matoous/go-nanoid"
"io"
diff --git a/service/extra/proxy/socks5/socks5.go b/service/extra/proxy/socks5/socks5.go
index c402333d..fc01e16b 100644
--- a/service/extra/proxy/socks5/socks5.go
+++ b/service/extra/proxy/socks5/socks5.go
@@ -10,7 +10,7 @@
package socks5
import (
- "V2RayA/extra/proxy"
+ "v2rayA/extra/proxy"
"github.com/mzz2017/shadowsocksR/tools/leakybuf"
"github.com/nadoo/glider/common/socks"
"io"
diff --git a/service/extra/proxy/ssr/proxy.go b/service/extra/proxy/ssr/proxy.go
index 93accb92..81206146 100644
--- a/service/extra/proxy/ssr/proxy.go
+++ b/service/extra/proxy/ssr/proxy.go
@@ -1,7 +1,7 @@
package ssr
import (
- "V2RayA/extra/proxy"
+ "v2rayA/extra/proxy"
"net"
)
diff --git a/service/extra/proxy/ssr/ssr.go b/service/extra/proxy/ssr/ssr.go
index 8a1182fa..8701601c 100644
--- a/service/extra/proxy/ssr/ssr.go
+++ b/service/extra/proxy/ssr/ssr.go
@@ -11,7 +11,7 @@ import (
"github.com/mzz2017/shadowsocksR/protocol"
"github.com/mzz2017/shadowsocksR/ssr"
- "V2RayA/extra/proxy"
+ "v2rayA/extra/proxy"
"github.com/nadoo/glider/common/socks"
"log"
)
diff --git a/service/extra/proxy/trojan/proxy.go b/service/extra/proxy/trojan/proxy.go
index 38a23ecf..cd3e33c0 100644
--- a/service/extra/proxy/trojan/proxy.go
+++ b/service/extra/proxy/trojan/proxy.go
@@ -1,7 +1,7 @@
package trojan
import (
- "V2RayA/extra/proxy"
+ "v2rayA/extra/proxy"
"net"
)
diff --git a/service/extra/proxy/trojan/trojan.go b/service/extra/proxy/trojan/trojan.go
index f6c4783c..d1998f2a 100644
--- a/service/extra/proxy/trojan/trojan.go
+++ b/service/extra/proxy/trojan/trojan.go
@@ -6,7 +6,7 @@
package trojan
import (
- "V2RayA/extra/proxy"
+ "v2rayA/extra/proxy"
"bytes"
"crypto/sha256"
"crypto/tls"
diff --git a/service/global/environmentConfig.go b/service/global/environmentConfig.go
index f0ab3c76..8542a3d1 100644
--- a/service/global/environmentConfig.go
+++ b/service/global/environmentConfig.go
@@ -10,7 +10,7 @@ import (
type Params struct {
Address string `id:"address" short:"a" default:"0.0.0.0:2017" desc:"Listening address"`
- Config string `id:"config" short:"c" default:"/etc/v2ray/v2raya.json" desc:"V2RayA configure path"`
+ Config string `id:"config" short:"c" default:"/etc/v2ray/v2raya.json" desc:"v2rayA configure path"`
Mode string `id:"mode" short:"m" desc:"Options: systemctl, service, universal. Auto-detect if not set"`
PluginListenPort int `short:"s" default:"12346" desc:"Plugin outbound port"`
PassCheckRoot bool `desc:"Skip privilege checking. Use it only when you cannot start v2raya but confirm you have root privilege"`
diff --git a/service/global/variable.go b/service/global/variable.go
index 74cf434f..54b2be8c 100644
--- a/service/global/variable.go
+++ b/service/global/variable.go
@@ -1,7 +1,7 @@
package global
import (
- "V2RayA/plugins"
+ "v2rayA/plugins"
"os"
)
diff --git a/service/go.mod b/service/go.mod
index 82903b2b..502cf152 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -1,4 +1,4 @@
-module V2RayA
+module v2rayA
go 1.12
diff --git a/service/main.go b/service/main.go
index 99b3cb49..04aec96f 100644
--- a/service/main.go
+++ b/service/main.go
@@ -1,9 +1,9 @@
package main
import (
- _ "V2RayA/plugins/pingtunnel"
- _ "V2RayA/plugins/shadowsocksr"
- _ "V2RayA/plugins/trojan"
+ _ "v2rayA/plugins/pingtunnel"
+ _ "v2rayA/plugins/shadowsocksr"
+ _ "v2rayA/plugins/trojan"
"github.com/gin-gonic/gin"
"log"
)
diff --git a/service/persistence/configure/configure.go b/service/persistence/configure/configure.go
index 34d0f98f..3b5d6083 100644
--- a/service/persistence/configure/configure.go
+++ b/service/persistence/configure/configure.go
@@ -1,9 +1,9 @@
package configure
import (
- "V2RayA/core/ipforward"
- "V2RayA/global"
- "V2RayA/persistence"
+ "v2rayA/core/ipforward"
+ "v2rayA/global"
+ "v2rayA/persistence"
"bytes"
"encoding/hex"
"fmt"
diff --git a/service/persistence/configure/raw.go b/service/persistence/configure/raw.go
index ab647545..496cc381 100644
--- a/service/persistence/configure/raw.go
+++ b/service/persistence/configure/raw.go
@@ -1,6 +1,6 @@
package configure
-import "V2RayA/core/vmessInfo"
+import "v2rayA/core/vmessInfo"
type ServerRaw struct {
VmessInfo vmessInfo.VmessInfo `json:"vmessInfo"`
diff --git a/service/persistence/fileOperator.go b/service/persistence/fileOperator.go
index 91ec22e3..4d1ee0f5 100644
--- a/service/persistence/fileOperator.go
+++ b/service/persistence/fileOperator.go
@@ -1,7 +1,7 @@
package persistence
import (
- "V2RayA/global"
+ "v2rayA/global"
"bytes"
"github.com/json-iterator/go"
"github.com/tidwall/gjson"
diff --git a/service/plugins/pingtunnel/pingtunnel.go b/service/plugins/pingtunnel/pingtunnel.go
index c297da48..23921a8b 100644
--- a/service/plugins/pingtunnel/pingtunnel.go
+++ b/service/plugins/pingtunnel/pingtunnel.go
@@ -4,10 +4,10 @@
package pingtunnel
import (
- "V2RayA/common/netTools/ports"
- "V2RayA/core/vmessInfo"
- "V2RayA/global"
- "V2RayA/plugins"
+ "v2rayA/common/netTools/ports"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/global"
+ "v2rayA/plugins"
"github.com/mzz2017/go-engine/src/loggo"
"github.com/mzz2017/go-engine/src/pingtunnel"
"log"
diff --git a/service/plugins/plugins.go b/service/plugins/plugins.go
index 1a52d8bd..585fe911 100644
--- a/service/plugins/plugins.go
+++ b/service/plugins/plugins.go
@@ -1,7 +1,7 @@
package plugins
import (
- "V2RayA/core/vmessInfo"
+ "v2rayA/core/vmessInfo"
"strings"
"sync"
)
diff --git a/service/plugins/shadowsocksr/ssr.go b/service/plugins/shadowsocksr/ssr.go
index df52e2d5..a8652d30 100644
--- a/service/plugins/shadowsocksr/ssr.go
+++ b/service/plugins/shadowsocksr/ssr.go
@@ -1,11 +1,11 @@
package shadowsocksr
import (
- "V2RayA/common/netTools/ports"
- "V2RayA/core/vmessInfo"
- "V2RayA/extra/proxy/socks5"
- "V2RayA/extra/proxy/ssr"
- "V2RayA/plugins"
+ "v2rayA/common/netTools/ports"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/extra/proxy/socks5"
+ "v2rayA/extra/proxy/ssr"
+ "v2rayA/plugins"
"fmt"
"log"
"net/url"
diff --git a/service/plugins/trojan/trojan.go b/service/plugins/trojan/trojan.go
index f9118e95..7888d27b 100644
--- a/service/plugins/trojan/trojan.go
+++ b/service/plugins/trojan/trojan.go
@@ -4,12 +4,12 @@
package trojan
import (
- "V2RayA/common"
- "V2RayA/common/netTools/ports"
- "V2RayA/core/vmessInfo"
- "V2RayA/extra/proxy/socks5"
- "V2RayA/extra/proxy/trojan"
- "V2RayA/plugins"
+ "v2rayA/common"
+ "v2rayA/common/netTools/ports"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/extra/proxy/socks5"
+ "v2rayA/extra/proxy/trojan"
+ "v2rayA/plugins"
"fmt"
"log"
"net/url"
diff --git a/service/pre.go b/service/pre.go
index dc67bffd..73c75a18 100644
--- a/service/pre.go
+++ b/service/pre.go
@@ -1,17 +1,17 @@
package main
import (
- "V2RayA/common/netTools/ports"
- "V2RayA/core/ipforward"
- "V2RayA/core/iptables"
- "V2RayA/core/v2ray"
- "V2RayA/core/v2ray/asset"
- "V2RayA/core/v2ray/asset/gfwlist"
- "V2RayA/extra/gopeed"
- "V2RayA/global"
- "V2RayA/persistence/configure"
- "V2RayA/router"
- "V2RayA/service"
+ "v2rayA/common/netTools/ports"
+ "v2rayA/core/ipforward"
+ "v2rayA/core/iptables"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/core/v2ray/asset/gfwlist"
+ "v2rayA/extra/gopeed"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
+ "v2rayA/router"
+ "v2rayA/service"
"fmt"
"github.com/gookit/color"
jsonIteratorExtra "github.com/json-iterator/go/extra"
@@ -59,7 +59,7 @@ func testTproxy() {
}
func checkEnvironment() {
if runtime.GOOS == "windows" {
- fmt.Println("windows不支持直接运行,请配合docker使用。见https://github.com/mzz2017/V2RayA")
+ fmt.Println("windows不支持直接运行,请配合docker使用。见https://github.com/mzz2017/v2rayA")
fmt.Println("请按任意键继续...")
_, _ = fmt.Scanf("\n")
os.Exit(1)
@@ -88,7 +88,7 @@ func checkEnvironment() {
}
process, err := socket.Process()
if err == nil {
- log.Fatalf("V2RayA启动失败,%v端口已被%v/%v占用", port, process.Name, process.PID)
+ log.Fatalf("v2rayA启动失败,%v端口已被%v/%v占用", port, process.Name, process.PID)
}
}
testTproxy()
@@ -182,7 +182,7 @@ func hello() {
wd, _ := asset.GetV2rayWorkingDir()
color.Red.Println("V2Ray binary is at", wd+"/v2ray")
wd, _ = os.Getwd()
- color.Red.Println("V2RayA working directory is", wd)
+ color.Red.Println("v2rayA working directory is", wd)
color.Red.Println("Version:", global.Version)
}
diff --git a/service/router/index.go b/service/router/index.go
index c68b1e60..0fea0a75 100644
--- a/service/router/index.go
+++ b/service/router/index.go
@@ -1,11 +1,11 @@
package router
import (
- "V2RayA/common"
- "V2RayA/common/jwt"
- "V2RayA/controller"
- "V2RayA/global"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/common/jwt"
+ "v2rayA/controller"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/gookit/color"
@@ -23,7 +23,7 @@ func Run() error {
engine.Use(cors.New(corsConfig))
engine.GET("/", func(ctx *gin.Context) {
ctx.Header("Content-Type", "text/html; charset=utf-8")
- ctx.String(418, `Here is V2RayA backend. Reference: https://github.com/mzz2017/V2RayA `)
+ ctx.String(418, `Here is v2rayA backend. Reference: https://github.com/mzz2017/v2rayA `)
})
noAuth := engine.Group("api")
{
@@ -74,7 +74,7 @@ func Run() error {
auth.GET("routingA", controller.GetRoutingA)
auth.PUT("routingA", controller.PutRoutingA)
}
- color.Red.Println("V2RayA is running at", global.GetEnvironmentConfig().Address)
+ color.Red.Println("v2rayA is running at", global.GetEnvironmentConfig().Address)
color.Red.Println("GUI demo: https://v2raya.mzz.pub")
app := global.GetEnvironmentConfig()
return engine.Run(app.Address)
diff --git a/service/service/account.go b/service/service/account.go
index b3fd8b58..c7b43a8c 100644
--- a/service/service/account.go
+++ b/service/service/account.go
@@ -1,9 +1,9 @@
package service
import (
- "V2RayA/common"
- "V2RayA/common/jwt"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/common/jwt"
+ "v2rayA/persistence/configure"
"time"
)
diff --git a/service/service/connect.go b/service/service/connect.go
index ca329087..de3a9912 100644
--- a/service/service/connect.go
+++ b/service/service/connect.go
@@ -1,10 +1,10 @@
package service
import (
- "V2RayA/core/v2ray"
- "V2RayA/core/v2ray/asset/gfwlist"
- "V2RayA/global"
- "V2RayA/persistence/configure"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/v2ray/asset/gfwlist"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
"log"
)
diff --git a/service/service/import.go b/service/service/import.go
index 530a84b6..9dfcf9d8 100644
--- a/service/service/import.go
+++ b/service/service/import.go
@@ -1,11 +1,11 @@
package service
import (
- "V2RayA/common/httpClient"
- "V2RayA/core/nodeData"
- "V2RayA/core/touch"
- "V2RayA/core/v2ray"
- "V2RayA/persistence/configure"
+ "v2rayA/common/httpClient"
+ "v2rayA/core/nodeData"
+ "v2rayA/core/touch"
+ "v2rayA/core/v2ray"
+ "v2rayA/persistence/configure"
"strings"
"time"
)
diff --git a/service/service/latency.go b/service/service/latency.go
index 27da0099..dd4bf23f 100644
--- a/service/service/latency.go
+++ b/service/service/latency.go
@@ -1,13 +1,13 @@
package service
import (
- "V2RayA/common/httpClient"
- "V2RayA/common/netTools/netstat"
- "V2RayA/core/v2ray"
- "V2RayA/core/vmessInfo"
- "V2RayA/global"
- "V2RayA/persistence/configure"
- "V2RayA/plugins"
+ "v2rayA/common/httpClient"
+ "v2rayA/common/netTools/netstat"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/vmessInfo"
+ "v2rayA/global"
+ "v2rayA/persistence/configure"
+ "v2rayA/plugins"
"fmt"
"log"
"net/http"
diff --git a/service/service/ports.go b/service/service/ports.go
index bbf56a49..ac500b3f 100644
--- a/service/service/ports.go
+++ b/service/service/ports.go
@@ -1,10 +1,10 @@
package service
import (
- "V2RayA/common/netTools/netstat"
- ports2 "V2RayA/common/netTools/ports"
- "V2RayA/core/v2ray"
- "V2RayA/persistence/configure"
+ "v2rayA/common/netTools/netstat"
+ ports2 "v2rayA/common/netTools/ports"
+ "v2rayA/core/v2ray"
+ "v2rayA/persistence/configure"
"fmt"
"strconv"
)
diff --git a/service/service/resolve.go b/service/service/resolve.go
index 3dd094f3..21177e64 100644
--- a/service/service/resolve.go
+++ b/service/service/resolve.go
@@ -1,9 +1,9 @@
package service
import (
- "V2RayA/common"
- "V2RayA/core/nodeData"
- "V2RayA/core/vmessInfo"
+ "v2rayA/common"
+ "v2rayA/core/nodeData"
+ "v2rayA/core/vmessInfo"
"github.com/json-iterator/go"
"log"
"net/url"
diff --git a/service/service/setting.go b/service/service/setting.go
index cdac8c6b..f5341181 100644
--- a/service/service/setting.go
+++ b/service/service/setting.go
@@ -1,10 +1,10 @@
package service
import (
- "V2RayA/core/ipforward"
- "V2RayA/core/v2ray"
- "V2RayA/core/v2ray/asset"
- "V2RayA/persistence/configure"
+ "v2rayA/core/ipforward"
+ "v2rayA/core/v2ray"
+ "v2rayA/core/v2ray/asset"
+ "v2rayA/persistence/configure"
)
func GetSetting() *configure.Setting {
diff --git a/service/service/share.go b/service/service/share.go
index fea6d264..8af71d40 100644
--- a/service/service/share.go
+++ b/service/service/share.go
@@ -1,7 +1,7 @@
package service
import (
- "V2RayA/persistence/configure"
+ "v2rayA/persistence/configure"
)
func GetSharingAddress(w *configure.Which) (addr string, err error) {
diff --git a/service/service/siteDatFiles.go b/service/service/siteDatFiles.go
index e6effe07..5684dac8 100644
--- a/service/service/siteDatFiles.go
+++ b/service/service/siteDatFiles.go
@@ -1,8 +1,8 @@
package service
import (
- "V2RayA/core/siteDat"
- "V2RayA/core/v2ray/asset"
+ "v2rayA/core/siteDat"
+ "v2rayA/core/v2ray/asset"
"github.com/gogo/protobuf/proto"
"io/ioutil"
"log"
diff --git a/service/service/subscription.go b/service/service/subscription.go
index 52d17917..13f9658f 100644
--- a/service/service/subscription.go
+++ b/service/service/subscription.go
@@ -1,11 +1,11 @@
package service
import (
- "V2RayA/common"
- "V2RayA/common/httpClient"
- "V2RayA/core/nodeData"
- "V2RayA/core/touch"
- "V2RayA/persistence/configure"
+ "v2rayA/common"
+ "v2rayA/common/httpClient"
+ "v2rayA/core/nodeData"
+ "v2rayA/core/touch"
+ "v2rayA/persistence/configure"
"bytes"
"log"
"net/http"
diff --git a/service/service/touch.go b/service/service/touch.go
index e1dcb65d..00c82cca 100644
--- a/service/service/touch.go
+++ b/service/service/touch.go
@@ -1,7 +1,7 @@
package service
import (
- "V2RayA/persistence/configure"
+ "v2rayA/persistence/configure"
)
func DeleteWhich(ws []configure.Which) (err error) {
diff --git a/service/service/update.go b/service/service/update.go
index 16edd4c3..44eeda6e 100644
--- a/service/service/update.go
+++ b/service/service/update.go
@@ -1,8 +1,8 @@
package service
import (
- "V2RayA/common"
- "V2RayA/global"
+ "v2rayA/common"
+ "v2rayA/global"
"bytes"
"net/http"
"strings"