mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-19 15:01:29 +02:00
10 lines
182 B
Go
10 lines
182 B
Go
//go:build !js
|
|
|
|
package ws
|
|
|
|
// closeConn closes the underlying WebSocket immediately, skipping the close
|
|
// handshake.
|
|
func (c *Conn) closeConn() error {
|
|
return c.Conn.CloseNow()
|
|
}
|