peerstream_multiplex

package module
v3.0.16+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: MIT Imports: 3 Imported by: 26

README

go-smux-multiplex - a go-stream-muxer shim for multiplex

This is an implementation of the go-stream-muxer interface for multiplex. For more information, see that repo.

Installation

go get -d github.com/whyrusleeping/go-smux-multiplex
cd $GOPATH/src/github.com/whyrusleeping/go-smux-multiplex
make deps

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTransport = &Transport{}

DefaultTransport has default settings for multiplex

Functions

This section is empty.

Types

type Transport

type Transport struct{}

Transport is a go-peerstream transport that constructs multiplex-backed connections.

func (*Transport) NewConn

func (t *Transport) NewConn(nc net.Conn, isServer bool) (smux.Conn, error)

Jump to

Keyboard shortcuts

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