Browse Source

rename the yamux package (#1452)

tcp-tests-yamux
Marten Seemann 3 years ago
committed by GitHub
parent
commit
43e4e51b74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/muxer_test.go
  2. 2
      defaults.go
  3. 2
      p2p/muxer/yamux/conn.go
  4. 2
      p2p/muxer/yamux/stream.go
  5. 2
      p2p/muxer/yamux/transport.go
  6. 2
      p2p/muxer/yamux/transport_test.go
  7. 2
      p2p/net/swarm/dial_worker_test.go
  8. 2
      p2p/net/swarm/testing/testing.go

2
config/muxer_test.go

@ -4,7 +4,7 @@ import (
"testing"
bhost "github.com/libp2p/go-libp2p/p2p/host/basic"
yamux "github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/muxer/yamux"
swarmt "github.com/libp2p/go-libp2p/p2p/net/swarm/testing"
"github.com/libp2p/go-libp2p-core/host"

2
defaults.go

@ -5,7 +5,7 @@ package libp2p
import (
"crypto/rand"
yamux "github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/net/connmgr"
quic "github.com/libp2p/go-libp2p/p2p/transport/quic"
"github.com/libp2p/go-libp2p/p2p/transport/tcp"

2
p2p/muxer/yamux/conn.go

@ -1,4 +1,4 @@
package sm_yamux
package yamux
import (
"context"

2
p2p/muxer/yamux/stream.go

@ -1,4 +1,4 @@
package sm_yamux
package yamux
import (
"time"

2
p2p/muxer/yamux/transport.go

@ -1,4 +1,4 @@
package sm_yamux
package yamux
import (
"io/ioutil"

2
p2p/muxer/yamux/transport_test.go

@ -1,4 +1,4 @@
package sm_yamux
package yamux
import (
"testing"

2
p2p/net/swarm/dial_worker_test.go

@ -8,7 +8,7 @@ import (
"testing"
"time"
yamux "github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/muxer/yamux"
quic "github.com/libp2p/go-libp2p/p2p/transport/quic"
"github.com/libp2p/go-libp2p/p2p/transport/tcp"

2
p2p/net/swarm/testing/testing.go

@ -4,7 +4,7 @@ import (
"testing"
"time"
yamux "github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/muxer/yamux"
"github.com/libp2p/go-libp2p/p2p/net/swarm"
quic "github.com/libp2p/go-libp2p/p2p/transport/quic"
"github.com/libp2p/go-libp2p/p2p/transport/tcp"

Loading…
Cancel
Save