listener

package
v0.0.0-...-c328704 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrListenerClosed = errors.New("listener closed")
)

Functions

func NewWebsocketConn

func NewWebsocketConn(conn *websocket.Conn) net.Conn

func Pipe

func Pipe() (ln net.Listener, dial func() (net.Conn, error))

func Websocket

func Websocket(accepts <-chan *websocket.Conn, closeFn func() error, addr net.Addr) net.Listener

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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