yamux

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConn

func NewConn(conn net.Conn, conf *yamux.Config) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewConnWithCloser

func NewConnWithCloser(conn net.Conn, conf *yamux.Config, cl closer.Closer) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewListener

func NewListener(ln net.Listener, conf *yamux.Config) (orbit.Listener, error)

Pass a nil yamux config for the default config.

func NewListenerWithCloser

func NewListenerWithCloser(ln net.Listener, conf *yamux.Config, cl closer.Closer) (orbit.Listener, error)

Pass a nil yamux config for the default config.

func NewTCPConn

func NewTCPConn(remoteAddr string, conf *yamux.Config) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewTCPConnWithCloser

func NewTCPConnWithCloser(remoteAddr string, conf *yamux.Config, cl closer.Closer) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewTCPListener

func NewTCPListener(listenAddr string, conf *yamux.Config) (orbit.Listener, error)

Pass a nil yamux config for the default config.

func NewTCPListenerWithCloser

func NewTCPListenerWithCloser(listenAddr string, conf *yamux.Config, cl closer.Closer) (orbit.Listener, error)

Pass a nil yamux config for the default config.

func NewTLSConn

func NewTLSConn(remoteAddr string, tlsConf *tls.Config, conf *yamux.Config) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewTLSConnWithCloser

func NewTLSConnWithCloser(
	remoteAddr string,
	tlsConf *tls.Config,
	conf *yamux.Config,
	cl closer.Closer,
) (orbit.Conn, error)

Pass a nil yamux config for the default config.

func NewTLSListener

func NewTLSListener(listenAddr string, tlsConf *tls.Config, conf *yamux.Config) (orbit.Listener, error)

Pass a nil yamux config for the default config.

func NewTLSListenerWithCloser

func NewTLSListenerWithCloser(
	listenAddr string,
	tlsConf *tls.Config,
	conf *yamux.Config,
	cl closer.Closer,
) (orbit.Listener, error)

Pass a nil yamux config for the default config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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