Remove nhooyr.io/websocket from Boundary (#5992)
This commit is contained in:
13 files changed
+42
-46
No files matched your search
@@ -14,6 +14,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coder/websocket"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/proxy"
|
||||
"github.com/hashicorp/boundary/internal/daemon/worker/session"
|
||||
pbs "github.com/hashicorp/boundary/internal/gen/controller/servers/services"
|
||||
@@ -22,7 +23,6 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/types/known/anypb"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
"nhooyr.io/websocket"
|
||||
)
|
||||
|
||||
func TestHandleProxy_Errors(t *testing.T) {
|
||||
|
||||
@@ -12,9 +12,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coder/websocket"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"nhooyr.io/websocket"
|
||||
)
|
||||
|
||||
// TestWsConn creates a websocket client and handler simulating the local websocket proxy
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/coder/websocket"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"nhooyr.io/websocket"
|
||||
)
|
||||
|
||||
type connMsg struct {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
package proxy
|
||||
|
||||
import "nhooyr.io/websocket"
|
||||
import "github.com/coder/websocket"
|
||||
|
||||
const (
|
||||
WebsocketStatusProtocolSetupError websocket.StatusCode = 3000
|
||||
|
||||
Reference in new issue
Block a user