2026-09-10 14:15:13: merge [main:14224c2de53289839839d51f5885722051e41349];

This commit is contained in:
txix committed 2026-09-10 14:15:13 +03:00
1 parent 554123722d
commit 5cb3885330
2726 files changed
+779293 -2185

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
//go:build !js
package websocket
import "net"
func (nc *netConn) RemoteAddr() net.Addr {
if unc, ok := nc.c.rwc.(net.Conn); ok {
return unc.RemoteAddr()
}
return websocketAddr{}
}
func (nc *netConn) LocalAddr() net.Addr {
if unc, ok := nc.c.rwc.(net.Conn); ok {
return unc.LocalAddr()
}
return websocketAddr{}
}