sm_yamux

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 4 Imported by: 48

README

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

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

Installation

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

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 is a go-peerstream transport that constructs yamux-backed 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) (smux.Conn, error)

Jump to

Keyboard shortcuts

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