mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 09:42:21 +08: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
|
||
|
}
|