Documentation ¶
Index ¶
- func ConnWithAddr(conn net.Conn, addr net.Addr) net.Conn
- func Hijack(w http.ResponseWriter) (net.Conn, error)
- func HijackConn(conn net.Conn, buf io.Reader, err error) (net.Conn, error)
- func NetConn(wsconn *websocket.Conn) net.Conn
- func NewAddr(network, hostport string) net.Addr
- func Wrconn(w http.ResponseWriter, r *http.Request) (net.Conn, error)
- type Conn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnWithAddr ¶
attach ip info to net.Conn produced by websocket.NetConn
Types ¶
Click to show internal directories.
Click to hide internal directories.