v2ray 9 anni fa
parent
commit
d9884b4010
2 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 1 3
      transport/internet/ws/ws_test.go
  2. 1 2
      transport/internet/ws/wsconn.go

+ 1 - 3
transport/internet/ws/ws_test.go

@@ -4,11 +4,9 @@ import (
 	"testing"
 	"time"
 
+	v2net "github.com/v2ray/v2ray-core/common/net"
 	"github.com/v2ray/v2ray-core/testing/assert"
-
 	. "github.com/v2ray/v2ray-core/transport/internet/ws"
-
-	v2net "github.com/v2ray/v2ray-core/common/net"
 )
 
 func Test_Connect_ws(t *testing.T) {

+ 1 - 2
transport/internet/ws/wsconn.go

@@ -7,9 +7,8 @@ import (
 	"sync"
 	"time"
 
-	"github.com/v2ray/v2ray-core/common/log"
-
 	"github.com/gorilla/websocket"
+	"github.com/v2ray/v2ray-core/common/log"
 )
 
 type wsconn struct {