peerstream_multiplex

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 3 Imported by: 57

README

go-libp2p-mplex - 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/libp2p/go-libp2p-mplex
cd $GOPATH/src/github.com/libp2p/go-libp2p-mplex
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) (mux.MuxedConn, error)

Jump to

Keyboard shortcuts

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