aboutsummaryrefslogtreecommitdiff
path: root/internal/net/wsconn.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 17:31:50 -0400
committerhistoria <[not public]>2026-10-05 17:31:50 -0400
commit516fd29da423432ef6dfded21a984f1d15dcab1a (patch)
treeeb2dabe325a1335dedac28a93453df643ef986f2 /internal/net/wsconn.go
parente42952469dadfb3535633c66c881050ac128703c (diff)
downloadthehouseoficarus-516fd29da423432ef6dfded21a984f1d15dcab1a.tar.gz
fix: slop casino and economy fixes
Diffstat (limited to 'internal/net/wsconn.go')
-rw-r--r--internal/net/wsconn.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/net/wsconn.go b/internal/net/wsconn.go
index 95f714c..e7763aa 100644
--- a/internal/net/wsconn.go
+++ b/internal/net/wsconn.go
@@ -41,6 +41,11 @@ func (w *wsConn) SetWriteDeadline(ts time.Time) error {
return w.conn.SetWriteDeadline(ts)
}
+// SetReadDeadline delegates to the underlying websocket connection.
+func (w *wsConn) SetReadDeadline(ts time.Time) error {
+ return w.conn.SetReadDeadline(ts)
+}
+
func (w *wsConn) Close() error {
return w.conn.Close()
}