Преглед изворни кода

update websocket reference

Darien Raymond пре 7 година
родитељ
комит
ffe18d94e4

+ 1 - 1
transport/internet/websocket/connection.go

@@ -5,7 +5,7 @@ import (
 	"net"
 	"time"
 
-	"websocket"
+	"github.com/gorilla/websocket"
 
 	"v2ray.com/core/common/buf"
 	"v2ray.com/core/common/errors"

+ 1 - 1
transport/internet/websocket/dialer.go

@@ -4,7 +4,7 @@ import (
 	"context"
 	"time"
 
-	"websocket"
+	"github.com/gorilla/websocket"
 
 	"v2ray.com/core/common"
 	"v2ray.com/core/common/net"

+ 2 - 1
transport/internet/websocket/hub.go

@@ -7,7 +7,8 @@ import (
 	"strconv"
 	"sync"
 	"time"
-	"websocket"
+
+	"github.com/gorilla/websocket"
 
 	"v2ray.com/core/common"
 	"v2ray.com/core/common/net"