go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket

Coder has just adopted nhooyr/websocket which unfortunately changes the import path.

`github.com/coder/coder` imports `tailscale.com/net/wsconn` which was still pointing
to `nhooyr.io/websocket`, but this change updates it.

See https://coder.com/blog/websocket

Updates #13154

Change-Id: I3dec6512472b14eae337ae22c5bcc1e3758888d5
Signed-off-by: Kyle Carberry <kyle@carberry.com>
This commit is contained in:
Kyle Carberry
2024-08-09 15:32:24 -04:00
committed by Brad Fitzpatrick
parent f8f9f05ffe
commit 6c852fa817
15 changed files with 30 additions and 30 deletions

View File

@@ -3,7 +3,7 @@
// Package wsconn contains an adapter type that turns
// a websocket connection into a net.Conn. It a temporary fork of the
// netconn.go file from the nhooyr.io/websocket package while we wait for
// netconn.go file from the github.com/coder/websocket package while we wait for
// https://github.com/nhooyr/websocket/pull/350 to be merged.
package wsconn
@@ -18,7 +18,7 @@ import (
"sync/atomic"
"time"
"nhooyr.io/websocket"
"github.com/coder/websocket"
)
// NetConn converts a *websocket.Conn into a net.Conn.