github.com/sagernet/sing-box@v1.9.0-rc.20/transport/v2raywebsocket/deadline.go (about)

     1  package v2raywebsocket
     2  
     3  import (
     4  	"net"
     5  	"time"
     6  )
     7  
     8  type deadConn struct {
     9  	net.Conn
    10  }
    11  
    12  func (c *deadConn) SetDeadline(t time.Time) error {
    13  	return nil
    14  }
    15  
    16  func (c *deadConn) SetReadDeadline(t time.Time) error {
    17  	return nil
    18  }
    19  
    20  func (c *deadConn) SetWriteDeadline(t time.Time) error {
    21  	return nil
    22  }