mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 18:15:39 +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
|
||
|
}
|