...
|
...
|
@@ -63,7 +63,7 @@ func WebSocketClient(t *testing.T){ |
|
|
}
|
|
|
|
|
|
for i:=1;i<=num;i++{
|
|
|
u :=url.URL{Scheme:"ws",Host:"127.0.0.1:8080",Path:"/join"}
|
|
|
u :=url.URL{Scheme:"ws",Host:"127.0.0.1:8080",Path:"/upgrage"}
|
|
|
requestHeader :=http.Header{}
|
|
|
requestHeader.Add("uid",fmt.Sprintf("%d",i))
|
|
|
requestHeader.Add("appid",fmt.Sprintf("%d",2))
|
...
|
...
|
|