sm_yamux

package module
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 5 Imported by: 1

README

go-libp2p-yamux

GoDoc Coverage Status Build Status Discourse posts

An adapter to integrate the yamux multiplexer into libp2p as a stream muxer.

Install

go get github.com/libp2p/go-libp2p-yamux

Usage

Check out the GoDocs.

License

Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport yamux.Config

Transport implements mux.Multiplexer that constructs yamux-backed muxed connections.

var DefaultTransport *Transport

func (*Transport) Config

func (t *Transport) Config() *yamux.Config

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