From 2e08edbf59809f898ccddfdfea76d4367d6ec042 Mon Sep 17 00:00:00 2001 From: mzz2017 Date: Sun, 22 Mar 2020 17:14:08 +0800 Subject: [PATCH] fix: problem that cannot auto start in systemd mode --- service/controller/customPac.go | 2 +- service/controller/gfwlist.go | 2 +- service/controller/routingA.go | 2 +- service/controller/setting.go | 2 +- service/controller/subscription.go | 2 +- service/controller/touch.go | 4 ++-- service/controller/v2ray.go | 2 +- service/controller/version.go | 4 ++-- service/{model => core}/dnsPoison/dialer.go | 0 service/{model => core}/dnsPoison/dnsPoison.go | 0 service/{model => core}/dnsPoison/dnsPoison2.go | 0 service/{model => core}/dnsPoison/entity/entity.go | 4 ++-- service/{model => core}/dnsPoison/matcher.go | 0 service/{model => core}/gfwlist/gfwlist.go | 4 ++-- service/{model => core}/ipforward/ipforward.go | 0 service/{model => core}/iptables/iptables.go | 0 service/{model => core}/iptables/redirect.go | 0 service/{model => core}/iptables/spoofingFilter.go | 0 service/{model => core}/iptables/tproxy.go | 0 service/{model => core}/nodeData/nodeData.go | 2 +- service/{model => core}/routingA/parser.go | 0 service/{model => core}/routingA/parser_test.go | 0 service/{model => core}/routingA/rules.go | 0 service/{model => core}/routingA/rules_test.go | 0 service/{model => core}/routingA/semantics.go | 0 service/{model => core}/routingA/symbol.go | 0 service/{model => core}/routingA/syntaxTree.go | 0 .../{model => core}/routingA/syntaxTree_test.go | 0 service/{model => core}/routingA/table.csv | 0 service/{model => core}/routingA/table.go | 0 service/{model => core}/routingA/table_test.go | 0 service/{model => core}/shadowsocksr/ssr.go | 0 service/{model => core}/shadowsocksr/ssrs.go | 0 service/{model => core}/siteDat/siteDat.go | 0 service/{model => core}/touch/touch.go | 0 service/{model => core}/v2ray/asset/asset.go | 2 +- service/{model => core}/v2ray/status.go | 8 ++++---- service/{model => core}/v2ray/templateJson.go | 0 service/{model => core}/v2ray/transparent.go | 2 +- service/{model => core}/v2ray/v2rayService.go | 2 +- service/{model => core}/v2ray/v2rayTmpl.go | 8 ++++---- service/{model => core}/vmessInfo/vmessInfo.go | 0 service/global/variable.go | 4 ++-- service/main.go | 14 +++++++------- service/persistence/configure/configure.go | 2 +- service/persistence/configure/raw.go | 2 +- service/service/connect.go | 2 +- service/service/import.go | 6 +++--- service/service/latency.go | 6 +++--- service/service/ports.go | 2 +- service/service/resolve.go | 4 ++-- service/service/setting.go | 6 +++--- service/service/siteDatFiles.go | 4 ++-- service/service/subscription.go | 4 ++-- service/tools/httpClient/httpClient.go | 2 +- 55 files changed, 55 insertions(+), 55 deletions(-) rename service/{model => core}/dnsPoison/dialer.go (100%) rename service/{model => core}/dnsPoison/dnsPoison.go (100%) rename service/{model => core}/dnsPoison/dnsPoison2.go (100%) rename service/{model => core}/dnsPoison/entity/entity.go (98%) rename service/{model => core}/dnsPoison/matcher.go (100%) rename service/{model => core}/gfwlist/gfwlist.go (98%) rename service/{model => core}/ipforward/ipforward.go (100%) rename service/{model => core}/iptables/iptables.go (100%) rename service/{model => core}/iptables/redirect.go (100%) rename service/{model => core}/iptables/spoofingFilter.go (100%) rename service/{model => core}/iptables/tproxy.go (100%) rename service/{model => core}/nodeData/nodeData.go (93%) rename service/{model => core}/routingA/parser.go (100%) rename service/{model => core}/routingA/parser_test.go (100%) rename service/{model => core}/routingA/rules.go (100%) rename service/{model => core}/routingA/rules_test.go (100%) rename service/{model => core}/routingA/semantics.go (100%) rename service/{model => core}/routingA/symbol.go (100%) rename service/{model => core}/routingA/syntaxTree.go (100%) rename service/{model => core}/routingA/syntaxTree_test.go (100%) rename service/{model => core}/routingA/table.csv (100%) rename service/{model => core}/routingA/table.go (100%) rename service/{model => core}/routingA/table_test.go (100%) rename service/{model => core}/shadowsocksr/ssr.go (100%) rename service/{model => core}/shadowsocksr/ssrs.go (100%) rename service/{model => core}/siteDat/siteDat.go (100%) rename service/{model => core}/touch/touch.go (100%) rename service/{model => core}/v2ray/asset/asset.go (99%) rename service/{model => core}/v2ray/status.go (98%) rename service/{model => core}/v2ray/templateJson.go (100%) rename service/{model => core}/v2ray/transparent.go (98%) rename service/{model => core}/v2ray/v2rayService.go (99%) rename service/{model => core}/v2ray/v2rayTmpl.go (99%) rename service/{model => core}/vmessInfo/vmessInfo.go (100%) diff --git a/service/controller/customPac.go b/service/controller/customPac.go index de95cf16..e4ee593d 100644 --- a/service/controller/customPac.go +++ b/service/controller/customPac.go @@ -1,7 +1,7 @@ package controller import ( - "V2RayA/model/v2ray/asset" + "V2RayA/core/v2ray/asset" "V2RayA/persistence/configure" "V2RayA/service" "V2RayA/tools" diff --git a/service/controller/gfwlist.go b/service/controller/gfwlist.go index 8b0d0fc8..25c4b6b5 100644 --- a/service/controller/gfwlist.go +++ b/service/controller/gfwlist.go @@ -1,7 +1,7 @@ package controller import ( - "V2RayA/model/gfwlist" + "V2RayA/core/gfwlist" "V2RayA/tools" "github.com/gin-gonic/gin" ) diff --git a/service/controller/routingA.go b/service/controller/routingA.go index cd4cadc2..14cca02d 100644 --- a/service/controller/routingA.go +++ b/service/controller/routingA.go @@ -1,7 +1,7 @@ package controller import ( - "V2RayA/model/routingA" + "V2RayA/core/routingA" "V2RayA/persistence/configure" "V2RayA/tools" "errors" diff --git a/service/controller/setting.go b/service/controller/setting.go index e236b5f3..ddac1bc3 100644 --- a/service/controller/setting.go +++ b/service/controller/setting.go @@ -1,7 +1,7 @@ package controller import ( - "V2RayA/model/v2ray/asset" + "V2RayA/core/v2ray/asset" "V2RayA/persistence/configure" "V2RayA/service" "V2RayA/tools" diff --git a/service/controller/subscription.go b/service/controller/subscription.go index 060cff55..07969965 100644 --- a/service/controller/subscription.go +++ b/service/controller/subscription.go @@ -1,7 +1,7 @@ package controller import ( - "V2RayA/model/touch" + "V2RayA/core/touch" "V2RayA/persistence/configure" "V2RayA/service" "V2RayA/tools" diff --git a/service/controller/touch.go b/service/controller/touch.go index 8e16192e..a9675477 100644 --- a/service/controller/touch.go +++ b/service/controller/touch.go @@ -1,8 +1,8 @@ package controller import ( - "V2RayA/model/touch" - "V2RayA/model/v2ray" + "V2RayA/core/touch" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" "V2RayA/service" "V2RayA/tools" diff --git a/service/controller/v2ray.go b/service/controller/v2ray.go index f2fd45bc..8f34e2c2 100644 --- a/service/controller/v2ray.go +++ b/service/controller/v2ray.go @@ -2,7 +2,7 @@ package controller import ( "V2RayA/global" - "V2RayA/model/v2ray" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" "V2RayA/tools" "errors" diff --git a/service/controller/version.go b/service/controller/version.go index 5069d965..fe2a3fe6 100644 --- a/service/controller/version.go +++ b/service/controller/version.go @@ -2,8 +2,8 @@ package controller import ( "V2RayA/global" - "V2RayA/model/gfwlist" - "V2RayA/model/v2ray" + "V2RayA/core/gfwlist" + "V2RayA/core/v2ray" "V2RayA/tools" "github.com/gin-gonic/gin" "net/http" diff --git a/service/model/dnsPoison/dialer.go b/service/core/dnsPoison/dialer.go similarity index 100% rename from service/model/dnsPoison/dialer.go rename to service/core/dnsPoison/dialer.go diff --git a/service/model/dnsPoison/dnsPoison.go b/service/core/dnsPoison/dnsPoison.go similarity index 100% rename from service/model/dnsPoison/dnsPoison.go rename to service/core/dnsPoison/dnsPoison.go diff --git a/service/model/dnsPoison/dnsPoison2.go b/service/core/dnsPoison/dnsPoison2.go similarity index 100% rename from service/model/dnsPoison/dnsPoison2.go rename to service/core/dnsPoison/dnsPoison2.go diff --git a/service/model/dnsPoison/entity/entity.go b/service/core/dnsPoison/entity/entity.go similarity index 98% rename from service/model/dnsPoison/entity/entity.go rename to service/core/dnsPoison/entity/entity.go index b21175f9..899ae85d 100644 --- a/service/model/dnsPoison/entity/entity.go +++ b/service/core/dnsPoison/entity/entity.go @@ -1,8 +1,8 @@ package entity import ( - "V2RayA/model/dnsPoison" - "V2RayA/model/v2ray/asset" + "V2RayA/core/dnsPoison" + "V2RayA/core/v2ray/asset" "V2RayA/tools/netTools" "errors" "log" diff --git a/service/model/dnsPoison/matcher.go b/service/core/dnsPoison/matcher.go similarity index 100% rename from service/model/dnsPoison/matcher.go rename to service/core/dnsPoison/matcher.go diff --git a/service/model/gfwlist/gfwlist.go b/service/core/gfwlist/gfwlist.go similarity index 98% rename from service/model/gfwlist/gfwlist.go rename to service/core/gfwlist/gfwlist.go index 462d7a95..bfbce822 100644 --- a/service/model/gfwlist/gfwlist.go +++ b/service/core/gfwlist/gfwlist.go @@ -2,8 +2,8 @@ package gfwlist import ( "V2RayA/extra/gopeed" - "V2RayA/model/v2ray" - "V2RayA/model/v2ray/asset" + "V2RayA/core/v2ray" + "V2RayA/core/v2ray/asset" "V2RayA/persistence/configure" "V2RayA/tools/files" "V2RayA/tools/httpClient" diff --git a/service/model/ipforward/ipforward.go b/service/core/ipforward/ipforward.go similarity index 100% rename from service/model/ipforward/ipforward.go rename to service/core/ipforward/ipforward.go diff --git a/service/model/iptables/iptables.go b/service/core/iptables/iptables.go similarity index 100% rename from service/model/iptables/iptables.go rename to service/core/iptables/iptables.go diff --git a/service/model/iptables/redirect.go b/service/core/iptables/redirect.go similarity index 100% rename from service/model/iptables/redirect.go rename to service/core/iptables/redirect.go diff --git a/service/model/iptables/spoofingFilter.go b/service/core/iptables/spoofingFilter.go similarity index 100% rename from service/model/iptables/spoofingFilter.go rename to service/core/iptables/spoofingFilter.go diff --git a/service/model/iptables/tproxy.go b/service/core/iptables/tproxy.go similarity index 100% rename from service/model/iptables/tproxy.go rename to service/core/iptables/tproxy.go diff --git a/service/model/nodeData/nodeData.go b/service/core/nodeData/nodeData.go similarity index 93% rename from service/model/nodeData/nodeData.go rename to service/core/nodeData/nodeData.go index 22bbb16e..3c2aebd2 100644 --- a/service/model/nodeData/nodeData.go +++ b/service/core/nodeData/nodeData.go @@ -1,7 +1,7 @@ package nodeData import ( - "V2RayA/model/vmessInfo" + "V2RayA/core/vmessInfo" "V2RayA/persistence/configure" ) diff --git a/service/model/routingA/parser.go b/service/core/routingA/parser.go similarity index 100% rename from service/model/routingA/parser.go rename to service/core/routingA/parser.go diff --git a/service/model/routingA/parser_test.go b/service/core/routingA/parser_test.go similarity index 100% rename from service/model/routingA/parser_test.go rename to service/core/routingA/parser_test.go diff --git a/service/model/routingA/rules.go b/service/core/routingA/rules.go similarity index 100% rename from service/model/routingA/rules.go rename to service/core/routingA/rules.go diff --git a/service/model/routingA/rules_test.go b/service/core/routingA/rules_test.go similarity index 100% rename from service/model/routingA/rules_test.go rename to service/core/routingA/rules_test.go diff --git a/service/model/routingA/semantics.go b/service/core/routingA/semantics.go similarity index 100% rename from service/model/routingA/semantics.go rename to service/core/routingA/semantics.go diff --git a/service/model/routingA/symbol.go b/service/core/routingA/symbol.go similarity index 100% rename from service/model/routingA/symbol.go rename to service/core/routingA/symbol.go diff --git a/service/model/routingA/syntaxTree.go b/service/core/routingA/syntaxTree.go similarity index 100% rename from service/model/routingA/syntaxTree.go rename to service/core/routingA/syntaxTree.go diff --git a/service/model/routingA/syntaxTree_test.go b/service/core/routingA/syntaxTree_test.go similarity index 100% rename from service/model/routingA/syntaxTree_test.go rename to service/core/routingA/syntaxTree_test.go diff --git a/service/model/routingA/table.csv b/service/core/routingA/table.csv similarity index 100% rename from service/model/routingA/table.csv rename to service/core/routingA/table.csv diff --git a/service/model/routingA/table.go b/service/core/routingA/table.go similarity index 100% rename from service/model/routingA/table.go rename to service/core/routingA/table.go diff --git a/service/model/routingA/table_test.go b/service/core/routingA/table_test.go similarity index 100% rename from service/model/routingA/table_test.go rename to service/core/routingA/table_test.go diff --git a/service/model/shadowsocksr/ssr.go b/service/core/shadowsocksr/ssr.go similarity index 100% rename from service/model/shadowsocksr/ssr.go rename to service/core/shadowsocksr/ssr.go diff --git a/service/model/shadowsocksr/ssrs.go b/service/core/shadowsocksr/ssrs.go similarity index 100% rename from service/model/shadowsocksr/ssrs.go rename to service/core/shadowsocksr/ssrs.go diff --git a/service/model/siteDat/siteDat.go b/service/core/siteDat/siteDat.go similarity index 100% rename from service/model/siteDat/siteDat.go rename to service/core/siteDat/siteDat.go diff --git a/service/model/touch/touch.go b/service/core/touch/touch.go similarity index 100% rename from service/model/touch/touch.go rename to service/core/touch/touch.go diff --git a/service/model/v2ray/asset/asset.go b/service/core/v2ray/asset/asset.go similarity index 99% rename from service/model/v2ray/asset/asset.go rename to service/core/v2ray/asset/asset.go index 4330a0ad..7326cd7a 100644 --- a/service/model/v2ray/asset/asset.go +++ b/service/core/v2ray/asset/asset.go @@ -2,7 +2,7 @@ package asset import ( "V2RayA/global" - "V2RayA/model/dnsPoison" + "V2RayA/core/dnsPoison" "V2RayA/tools/files" "errors" "github.com/gogo/protobuf/proto" diff --git a/service/model/v2ray/status.go b/service/core/v2ray/status.go similarity index 98% rename from service/model/v2ray/status.go rename to service/core/v2ray/status.go index 9b303afa..131c6e4e 100644 --- a/service/model/v2ray/status.go +++ b/service/core/v2ray/status.go @@ -2,10 +2,10 @@ package v2ray import ( "V2RayA/global" - "V2RayA/model/dnsPoison/entity" - "V2RayA/model/shadowsocksr" - "V2RayA/model/v2ray/asset" - "V2RayA/model/vmessInfo" + "V2RayA/core/dnsPoison/entity" + "V2RayA/core/shadowsocksr" + "V2RayA/core/v2ray/asset" + "V2RayA/core/vmessInfo" "V2RayA/persistence/configure" "V2RayA/tools/ports" "bytes" diff --git a/service/model/v2ray/templateJson.go b/service/core/v2ray/templateJson.go similarity index 100% rename from service/model/v2ray/templateJson.go rename to service/core/v2ray/templateJson.go diff --git a/service/model/v2ray/transparent.go b/service/core/v2ray/transparent.go similarity index 98% rename from service/model/v2ray/transparent.go rename to service/core/v2ray/transparent.go index cdb341ad..14f6d61b 100644 --- a/service/model/v2ray/transparent.go +++ b/service/core/v2ray/transparent.go @@ -2,7 +2,7 @@ package v2ray import ( "V2RayA/global" - "V2RayA/model/iptables" + "V2RayA/core/iptables" "V2RayA/persistence/configure" "errors" "log" diff --git a/service/model/v2ray/v2rayService.go b/service/core/v2ray/v2rayService.go similarity index 99% rename from service/model/v2ray/v2rayService.go rename to service/core/v2ray/v2rayService.go index c872be2f..b19f69eb 100644 --- a/service/model/v2ray/v2rayService.go +++ b/service/core/v2ray/v2rayService.go @@ -2,7 +2,7 @@ package v2ray import ( "V2RayA/global" - "V2RayA/model/v2ray/asset" + "V2RayA/core/v2ray/asset" "V2RayA/tools" "bytes" "errors" diff --git a/service/model/v2ray/v2rayTmpl.go b/service/core/v2ray/v2rayTmpl.go similarity index 99% rename from service/model/v2ray/v2rayTmpl.go rename to service/core/v2ray/v2rayTmpl.go index f7e7e8f8..8408254d 100644 --- a/service/model/v2ray/v2rayTmpl.go +++ b/service/core/v2ray/v2rayTmpl.go @@ -2,10 +2,10 @@ package v2ray import ( "V2RayA/global" - "V2RayA/model/dnsPoison/entity" - "V2RayA/model/routingA" - "V2RayA/model/v2ray/asset" - "V2RayA/model/vmessInfo" + "V2RayA/core/dnsPoison/entity" + "V2RayA/core/routingA" + "V2RayA/core/v2ray/asset" + "V2RayA/core/vmessInfo" "V2RayA/persistence/configure" "bytes" "errors" diff --git a/service/model/vmessInfo/vmessInfo.go b/service/core/vmessInfo/vmessInfo.go similarity index 100% rename from service/model/vmessInfo/vmessInfo.go rename to service/core/vmessInfo/vmessInfo.go diff --git a/service/global/variable.go b/service/global/variable.go index 03a21d0a..eaad73b6 100644 --- a/service/global/variable.go +++ b/service/global/variable.go @@ -1,14 +1,14 @@ package global import ( - "V2RayA/model/shadowsocksr" + "V2RayA/core/shadowsocksr" "os" ) var Version = "debug" var FoundNew = false var RemoteVersion = "" -var SupportTproxy = true +var SupportTproxy = false var ServiceControlMode SystemServiceControlMode = GetServiceControlMode() diff --git a/service/main.go b/service/main.go index 2ebcc071..e311fa00 100644 --- a/service/main.go +++ b/service/main.go @@ -1,13 +1,13 @@ package main import ( + "V2RayA/core/gfwlist" + "V2RayA/core/ipforward" + "V2RayA/core/iptables" + "V2RayA/core/v2ray" + "V2RayA/core/v2ray/asset" "V2RayA/extra/gopeed" "V2RayA/global" - "V2RayA/model/gfwlist" - "V2RayA/model/ipforward" - "V2RayA/model/iptables" - "V2RayA/model/v2ray" - "V2RayA/model/v2ray/asset" "V2RayA/persistence/configure" "V2RayA/router" "V2RayA/service" @@ -247,8 +247,8 @@ func checkUpdate() { } func run() (err error) { - //判别是否universal模式,需要启动v2ray吗 - if global.ServiceControlMode == global.UniversalMode && configure.GetConnectedServer() != nil { + //判别需要启动v2ray吗 + if configure.GetConnectedServer() != nil { _ = v2ray.RestartV2rayService() } //刷新配置以刷新透明代理、ssr server diff --git a/service/persistence/configure/configure.go b/service/persistence/configure/configure.go index 1dadbec1..abd43c55 100644 --- a/service/persistence/configure/configure.go +++ b/service/persistence/configure/configure.go @@ -2,7 +2,7 @@ package configure import ( "V2RayA/global" - "V2RayA/model/ipforward" + "V2RayA/core/ipforward" "V2RayA/persistence" "bytes" "encoding/hex" diff --git a/service/persistence/configure/raw.go b/service/persistence/configure/raw.go index df68e050..ab647545 100644 --- a/service/persistence/configure/raw.go +++ b/service/persistence/configure/raw.go @@ -1,6 +1,6 @@ package configure -import "V2RayA/model/vmessInfo" +import "V2RayA/core/vmessInfo" type ServerRaw struct { VmessInfo vmessInfo.VmessInfo `json:"vmessInfo"` diff --git a/service/service/connect.go b/service/service/connect.go index 5f481cec..9b45476e 100644 --- a/service/service/connect.go +++ b/service/service/connect.go @@ -2,7 +2,7 @@ package service import ( "V2RayA/global" - "V2RayA/model/v2ray" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" "errors" "log" diff --git a/service/service/import.go b/service/service/import.go index 16bb9e4f..be8b25b0 100644 --- a/service/service/import.go +++ b/service/service/import.go @@ -1,9 +1,9 @@ package service import ( - "V2RayA/model/nodeData" - "V2RayA/model/touch" - "V2RayA/model/v2ray" + "V2RayA/core/nodeData" + "V2RayA/core/touch" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" "V2RayA/tools/httpClient" "errors" diff --git a/service/service/latency.go b/service/service/latency.go index 4e1b3e44..e2787c9f 100644 --- a/service/service/latency.go +++ b/service/service/latency.go @@ -2,9 +2,9 @@ package service import ( "V2RayA/global" - "V2RayA/model/shadowsocksr" - "V2RayA/model/v2ray" - "V2RayA/model/vmessInfo" + "V2RayA/core/shadowsocksr" + "V2RayA/core/v2ray" + "V2RayA/core/vmessInfo" "V2RayA/persistence/configure" "V2RayA/tools/httpClient" "V2RayA/tools/ports" diff --git a/service/service/ports.go b/service/service/ports.go index 80f7969e..cc7cbb89 100644 --- a/service/service/ports.go +++ b/service/service/ports.go @@ -1,7 +1,7 @@ package service import ( - "V2RayA/model/v2ray" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" ports2 "V2RayA/tools/ports" "errors" diff --git a/service/service/resolve.go b/service/service/resolve.go index b72e634a..ab230d59 100644 --- a/service/service/resolve.go +++ b/service/service/resolve.go @@ -1,8 +1,8 @@ package service import ( - "V2RayA/model/nodeData" - "V2RayA/model/vmessInfo" + "V2RayA/core/nodeData" + "V2RayA/core/vmessInfo" "V2RayA/tools" "errors" "github.com/json-iterator/go" diff --git a/service/service/setting.go b/service/service/setting.go index 3689c6dd..bd7866e6 100644 --- a/service/service/setting.go +++ b/service/service/setting.go @@ -1,9 +1,9 @@ package service import ( - "V2RayA/model/ipforward" - "V2RayA/model/v2ray" - "V2RayA/model/v2ray/asset" + "V2RayA/core/ipforward" + "V2RayA/core/v2ray" + "V2RayA/core/v2ray/asset" "V2RayA/persistence/configure" "errors" ) diff --git a/service/service/siteDatFiles.go b/service/service/siteDatFiles.go index 85c65c88..e6effe07 100644 --- a/service/service/siteDatFiles.go +++ b/service/service/siteDatFiles.go @@ -1,8 +1,8 @@ package service import ( - "V2RayA/model/siteDat" - "V2RayA/model/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 27865b4a..ecb72bcb 100644 --- a/service/service/subscription.go +++ b/service/service/subscription.go @@ -1,8 +1,8 @@ package service import ( - "V2RayA/model/nodeData" - "V2RayA/model/touch" + "V2RayA/core/nodeData" + "V2RayA/core/touch" "V2RayA/persistence/configure" "V2RayA/tools" "V2RayA/tools/httpClient" diff --git a/service/tools/httpClient/httpClient.go b/service/tools/httpClient/httpClient.go index cad50d5e..cc90fd83 100644 --- a/service/tools/httpClient/httpClient.go +++ b/service/tools/httpClient/httpClient.go @@ -2,7 +2,7 @@ package httpClient import ( "V2RayA/extra/proxyWithHttp" - "V2RayA/model/v2ray" + "V2RayA/core/v2ray" "V2RayA/persistence/configure" "V2RayA/tools" "net/http"