peerstream_multiplex

package
v0.0.0-...-8b9b725 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT, MIT Imports: 3 Imported by: 8

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