package yamux

Import Path
	github.com/libp2p/go-libp2p/p2p/muxer/yamux (on go.dev)

Dependency Relation
	imports 9 packages, and imported by one package

Involved Source Files conn.go stream.go transport.go
Package-Level Type Names (only one)
/* sort by: | */
Transport implements mux.Multiplexer that constructs yamux-backed muxed connections. AcceptBacklog is used to limit how many streams may be waiting an accept. ConnectionWriteTimeout is meant to be a "safety valve" timeout after we which will suspect a problem with the underlying connection and close it. This is only applied to writes, where's there's generally an expectation that things will move along quickly. EnableKeepalive is used to do a period keep alive messages using a ping. InitialStreamWindowSize is used to control the initial window size that we allow for a stream. KeepAliveInterval is how often to perform the keep alive LogOutput is used to control the log destination MaxIncomingStreams is maximum number of concurrent incoming streams that we accept. If the peer tries to open more streams, those will be reset immediately. MaxMessageSize is the maximum size of a message that we'll send on a stream. This ensures that a single stream doesn't hog a connection. MaxStreamWindowSize is used to control the maximum window size that we allow for a stream. MeasureRTTInterval is how often to re-measure the round trip time PingBacklog is used to limit how many ping acks we can queue. ReadBufSize controls the size of the read buffer. Set to 0 to disable it. WriteCoalesceDelay is the maximum amount of time we'll delay coalescing a packet before sending it. This should be on the order of micro-milliseconds. (*Transport) Config() *yamux.Config (*Transport) NewConn(nc net.Conn, isServer bool, scope network.PeerScope) (network.MuxedConn, error) *Transport : github.com/libp2p/go-libp2p/core/network.Multiplexer var DefaultTransport *Transport
Package-Level Functions (only one)
NewMuxedConn constructs a new MuxedConn from a yamux.Session.
Package-Level Variables (only one)
Package-Level Constants (only one)
const ID = "/yamux/1.0.0"