Skip to content

Commit

Permalink
Merge pull request multiformats#22 from libp2p/feat/consolidate-abstr…
Browse files Browse the repository at this point in the history
…actions

Consolidate abstractions and core types into go-libp2p-core (multiformats#28)
  • Loading branch information
Stebalien authored May 24, 2019
2 parents dba55de + 6e27891 commit ca6f70c
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 109 deletions.
12 changes: 6 additions & 6 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package stream
import (
"fmt"

inet "github.com/libp2p/go-libp2p-net"
transport "github.com/libp2p/go-libp2p-transport"
smux "github.com/libp2p/go-stream-muxer"
mux "github.com/libp2p/go-libp2p-core/mux"
network "github.com/libp2p/go-libp2p-core/network"
transport "github.com/libp2p/go-libp2p-core/transport"
)

type transportConn struct {
smux.Conn
inet.ConnMultiaddrs
inet.ConnSecurity
mux.MuxedConn
network.ConnMultiaddrs
network.ConnSecurity
transport transport.Transport
}

Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ module github.com/libp2p/go-libp2p-transport-upgrader
require (
github.com/ipfs/go-log v0.0.1
github.com/jbenet/go-temp-err-catcher v0.0.0-20150120210811-aac704a3f4f2
github.com/libp2p/go-conn-security v0.0.1
github.com/libp2p/go-libp2p-interface-pnet v0.0.1
github.com/libp2p/go-libp2p-core v0.0.1
github.com/libp2p/go-libp2p-mplex v0.1.1
github.com/libp2p/go-libp2p-net v0.0.1
github.com/libp2p/go-libp2p-peer v0.0.1
github.com/libp2p/go-libp2p-transport v0.0.1
github.com/libp2p/go-maddr-filter v0.0.1
github.com/libp2p/go-stream-muxer v0.0.1
github.com/multiformats/go-multiaddr v0.0.1
github.com/libp2p/go-libp2p-testing v0.0.2 // indirect
github.com/libp2p/go-maddr-filter v0.0.4
github.com/libp2p/go-mplex v0.0.4 // indirect
github.com/libp2p/go-stream-muxer v0.1.0 // indirect
github.com/multiformats/go-multiaddr v0.0.4
github.com/multiformats/go-multiaddr-dns v0.0.2 // indirect
github.com/multiformats/go-multiaddr-net v0.0.1
github.com/onsi/ginkgo v1.7.0
github.com/onsi/gomega v1.4.3
github.com/multiformats/go-multihash v0.0.5 // indirect
github.com/onsi/ginkgo v1.8.0
github.com/onsi/gomega v1.5.0
)
Loading

0 comments on commit ca6f70c

Please sign in to comment.