mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-05 21:06:43 +00:00
23 lines
296 B
Go
23 lines
296 B
Go
|
package v2raywebsocket
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type deadConn struct {
|
||
|
net.Conn
|
||
|
}
|
||
|
|
||
|
func (c *deadConn) SetDeadline(t time.Time) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (c *deadConn) SetReadDeadline(t time.Time) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (c *deadConn) SetWriteDeadline(t time.Time) error {
|
||
|
return nil
|
||
|
}
|