wrap

package
v0.0.2-0...-522c574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 1970 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hijack

func Hijack(w http.ResponseWriter) (net.Conn, error)

func HijackConn

func HijackConn(conn net.Conn, buf io.Reader, err error) (net.Conn, error)

func NetConn

func NetConn(wsconn *websocket.Conn) net.Conn

Types

type Conn

type Conn struct {
	net.Conn
	Buf io.Reader
}

func (*Conn) Read

func (c *Conn) Read(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL