feat: go mod supported

This commit is contained in:
exfly
2019-08-10 11:10:01 +08:00
parent 25e71790c1
commit 5fcbeb60aa
302 changed files with 237 additions and 62683 deletions

View File

@@ -12,7 +12,7 @@ import (
"github.com/cnlh/nps/lib/mux"
"github.com/cnlh/nps/lib/pool"
"github.com/cnlh/nps/lib/rate"
"github.com/cnlh/nps/vender/github.com/xtaci/kcp"
"github.com/xtaci/kcp-go"
"io"
"net"
"net/http"

View File

@@ -1,8 +1,8 @@
package conn
import (
"github.com/cnlh/nps/vender/github.com/astaxie/beego/logs"
"github.com/cnlh/nps/vender/github.com/xtaci/kcp"
"github.com/astaxie/beego/logs"
"github.com/xtaci/kcp-go"
"net"
"strings"
)

View File

@@ -2,7 +2,7 @@ package conn
import (
"github.com/cnlh/nps/lib/pool"
"github.com/cnlh/nps/vender/github.com/golang/snappy"
"github.com/golang/snappy"
"io"
)