Documentation
¶
Index ¶
- func NewConn(conn net.Conn, conf *yamux.Config) (orbit.Conn, error)
- func NewConnWithCloser(conn net.Conn, conf *yamux.Config, cl closer.Closer) (orbit.Conn, error)
- func NewListener(ln net.Listener, conf *yamux.Config) (orbit.Listener, error)
- func NewListenerWithCloser(ln net.Listener, conf *yamux.Config, cl closer.Closer) (orbit.Listener, error)
- func NewTCPConn(remoteAddr string, conf *yamux.Config) (orbit.Conn, error)
- func NewTCPConnWithCloser(remoteAddr string, conf *yamux.Config, cl closer.Closer) (orbit.Conn, error)
- func NewTCPListener(listenAddr string, conf *yamux.Config) (orbit.Listener, error)
- func NewTCPListenerWithCloser(listenAddr string, conf *yamux.Config, cl closer.Closer) (orbit.Listener, error)
- func NewTLSConn(remoteAddr string, tlsConf *tls.Config, conf *yamux.Config) (orbit.Conn, error)
- func NewTLSConnWithCloser(remoteAddr string, tlsConf *tls.Config, conf *yamux.Config, cl closer.Closer) (orbit.Conn, error)
- func NewTLSListener(listenAddr string, tlsConf *tls.Config, conf *yamux.Config) (orbit.Listener, error)
- func NewTLSListenerWithCloser(listenAddr string, tlsConf *tls.Config, conf *yamux.Config, cl closer.Closer) (orbit.Listener, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnWithCloser ¶
Pass a nil yamux config for the default config.
func NewListener ¶
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 ¶
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 ¶
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 ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.