mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 12:31:31 +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
|
||
|
}
|