mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
remove deprecated mux package
This commit is contained in:
parent
58f60d8483
commit
136639d7fe
21
mux/mux.go
21
mux/mux.go
@ -1,21 +0,0 @@
|
||||
// Package mux provides stream multiplexing interfaces for libp2p.
|
||||
//
|
||||
// For a conceptual overview of stream multiplexing in libp2p, see
|
||||
// https://docs.libp2p.io/concepts/stream-multiplexing/
|
||||
package mux
|
||||
|
||||
import (
|
||||
"github.com/libp2p/go-libp2p-core/network"
|
||||
)
|
||||
|
||||
// Deprecated: use network.ErrReset instead.
|
||||
var ErrReset = network.ErrReset
|
||||
|
||||
// Deprecated: use network.MuxedStream instead.
|
||||
type MuxedStream = network.MuxedStream
|
||||
|
||||
// Deprecated: use network.MuxedConn instead.
|
||||
type MuxedConn = network.MuxedConn
|
||||
|
||||
// Deprecated: use network.Multiplexer instead.
|
||||
type Multiplexer = network.Multiplexer
|
Loading…
Reference in New Issue
Block a user