remove deprecated mux package (#265)

This commit is contained in:
Marten Seemann 2022-06-24 14:57:41 +02:00 committed by GitHub
parent 58f60d8483
commit 0c14794e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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