From 06a620fd633206c0f7fd8fcfcc735cea270954fb Mon Sep 17 00:00:00 2001 From: cnlh Date: Thu, 13 Feb 2020 14:26:03 +0800 Subject: [PATCH] change path --- core/plugin.go | 2 +- server/common/common_inet_proxy_handle.go | 2 +- server/socks5/socks5_check_access_handle.go | 3 +-- server/socks5/socks5_handshake_handle.go | 2 +- server/socks5/socks5_read_access_handle.go | 2 +- server/socks5/socks5_read_request_handle.go | 2 +- server/socks5/socks5_server.go | 4 ++-- 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/core/plugin.go b/core/plugin.go index f95fd75..c315ae9 100644 --- a/core/plugin.go +++ b/core/plugin.go @@ -2,7 +2,7 @@ package core import ( "context" - "github.com/cnlh/nps/bridge" + "ehang.io/nps/bridge" "net" ) diff --git a/server/common/common_inet_proxy_handle.go b/server/common/common_inet_proxy_handle.go index 509bfa6..b198be8 100644 --- a/server/common/common_inet_proxy_handle.go +++ b/server/common/common_inet_proxy_handle.go @@ -3,7 +3,7 @@ package common import ( "context" "fmt" - "github.com/cnlh/nps/core" + "ehang.io/nps/core" "net" "strconv" ) diff --git a/server/socks5/socks5_check_access_handle.go b/server/socks5/socks5_check_access_handle.go index 714c109..0df838c 100644 --- a/server/socks5/socks5_check_access_handle.go +++ b/server/socks5/socks5_check_access_handle.go @@ -2,9 +2,8 @@ package socks5 import ( "context" + "ehang.io/nps/core" "errors" - "fmt" - "github.com/cnlh/nps/core" "net" ) diff --git a/server/socks5/socks5_handshake_handle.go b/server/socks5/socks5_handshake_handle.go index 1e91cff..d17df64 100644 --- a/server/socks5/socks5_handshake_handle.go +++ b/server/socks5/socks5_handshake_handle.go @@ -2,9 +2,9 @@ package socks5 import ( "context" + "ehang.io/nps/core" "errors" "fmt" - "github.com/cnlh/nps/core" "io" ) diff --git a/server/socks5/socks5_read_access_handle.go b/server/socks5/socks5_read_access_handle.go index 0fcf6b8..b975fe5 100644 --- a/server/socks5/socks5_read_access_handle.go +++ b/server/socks5/socks5_read_access_handle.go @@ -2,8 +2,8 @@ package socks5 import ( "context" + "ehang.io/nps/core" "errors" - "github.com/cnlh/nps/core" "io" "net" ) diff --git a/server/socks5/socks5_read_request_handle.go b/server/socks5/socks5_read_request_handle.go index b78df64..35e0e91 100644 --- a/server/socks5/socks5_read_request_handle.go +++ b/server/socks5/socks5_read_request_handle.go @@ -2,9 +2,9 @@ package socks5 import ( "context" + "ehang.io/nps/core" "encoding/binary" "errors" - "github.com/cnlh/nps/core" "io" "net" "strconv" diff --git a/server/socks5/socks5_server.go b/server/socks5/socks5_server.go index 15ba75b..ef3e58d 100644 --- a/server/socks5/socks5_server.go +++ b/server/socks5/socks5_server.go @@ -2,9 +2,9 @@ package socks5 import ( "context" + "ehang.io/nps/core" + "ehang.io/nps/server/common" "fmt" - "github.com/cnlh/nps/core" - "github.com/cnlh/nps/server/common" "net" "strconv" )