Documentation ¶
Overview ¶
package multistream implements a peerstream transport using go-multistream to select the underlying stream muxer
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultNegotiateTimeout = time.Second * 60
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { NegotiateTimeout time.Duration OrderPreference []string // contains filtered or unexported fields }
func NewBlankTransport ¶
func NewBlankTransport() *Transport
func (*Transport) AddTransport ¶
func (t *Transport) AddTransport(path string, tpt mux.Multiplexer)
Click to show internal directories.
Click to hide internal directories.