peerstream_multiplex

package module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 5 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 Transport

Functions

This section is empty.

Types

type Transport

type Transport struct{}

Transport implements mux.Multiplexer that constructs mplex-backed muxed 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