Browse Source

change path

cnlh 5 years ago
parent
commit
06a620fd63

+ 1 - 1
core/plugin.go

@@ -2,7 +2,7 @@ package core
 
 import (
 	"context"
-	"github.com/cnlh/nps/bridge"
+	"ehang.io/nps/bridge"
 	"net"
 )
 

+ 1 - 1
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"
 )

+ 1 - 2
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"
 )
 

+ 1 - 1
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"
 )
 

+ 1 - 1
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"
 )

+ 1 - 1
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"

+ 2 - 2
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"
 )