Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
8744e460
Commit
8744e460
authored
Aug 10, 2016
by
Jeromy
Browse files
update local import paths to reflect org change
parent
c0e2b930
Changes
55
Show whitespace changes
Inline
Side-by-side
p2p/net/mock/mock_conn.go
View file @
8744e460
...
...
@@ -6,9 +6,9 @@ import (
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
ma
"github.com/jbenet/go-multiaddr"
process
"github.com/jbenet/goprocess"
inet
"github.com/libp2p/go-libp2p/p2p/net"
)
// conn represents one side's perspective of a
...
...
p2p/net/mock/mock_link.go
View file @
8744e460
...
...
@@ -7,7 +7,7 @@ import (
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
)
// link implements mocknet.Link
...
...
p2p/net/mock/mock_net.go
View file @
8744e460
...
...
@@ -5,11 +5,11 @@ import (
"sort"
"sync"
host
"github.com/
ipfs
/go-libp2p/p2p/host"
bhost
"github.com/
ipfs
/go-libp2p/p2p/host/basic"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
p2putil
"github.com/
ipfs
/go-libp2p/p2p/test/util"
testutil
"github.com/
ipfs
/go-libp2p/testutil"
host
"github.com/
libp2p
/go-libp2p/p2p/host"
bhost
"github.com/
libp2p
/go-libp2p/p2p/host/basic"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
p2putil
"github.com/
libp2p
/go-libp2p/p2p/test/util"
testutil
"github.com/
libp2p
/go-libp2p/testutil"
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
...
...
p2p/net/mock/mock_notif_test.go
View file @
8744e460
...
...
@@ -5,8 +5,8 @@ import (
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
ma
"github.com/jbenet/go-multiaddr"
inet
"github.com/libp2p/go-libp2p/p2p/net"
context
"golang.org/x/net/context"
)
...
...
p2p/net/mock/mock_peernet.go
View file @
8744e460
...
...
@@ -5,7 +5,7 @@ import (
"math/rand"
"sync"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
peer
"github.com/ipfs/go-libp2p-peer"
pstore
"github.com/ipfs/go-libp2p-peerstore"
...
...
p2p/net/mock/mock_printer.go
View file @
8744e460
...
...
@@ -5,7 +5,7 @@ import (
"io"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
)
// separate object so our interfaces are separate :)
...
...
p2p/net/mock/mock_stream.go
View file @
8744e460
...
...
@@ -5,8 +5,8 @@ import (
"io"
"time"
inet
"github.com/ipfs/go-libp2p/p2p/net"
process
"github.com/jbenet/goprocess"
inet
"github.com/libp2p/go-libp2p/p2p/net"
)
// stream implements inet.Stream
...
...
p2p/net/mock/mock_test.go
View file @
8744e460
...
...
@@ -10,9 +10,9 @@ import (
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
protocol
"github.com/
ipfs
/go-libp2p/p2p/protocol"
testutil
"github.com/
ipfs
/go-libp2p/testutil"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
protocol
"github.com/
libp2p
/go-libp2p/p2p/protocol"
testutil
"github.com/
libp2p
/go-libp2p/testutil"
detectrace
"github.com/jbenet/go-detect-race"
context
"golang.org/x/net/context"
...
...
p2p/net/swarm/addr/addr.go
View file @
8744e460
...
...
@@ -9,7 +9,7 @@ import (
context
"golang.org/x/net/context"
)
var
log
=
logging
.
Logger
(
"github.com/
ipfs
/go-libp2p/p2p/net/swarm/addr"
)
var
log
=
logging
.
Logger
(
"github.com/
libp2p
/go-libp2p/p2p/net/swarm/addr"
)
// SupportedTransportStrings is the list of supported transports for the swarm.
// These are strings of encapsulated multiaddr protocols. E.g.:
...
...
p2p/net/swarm/dial_test.go
View file @
8744e460
...
...
@@ -6,9 +6,9 @@ import (
"testing"
"time"
addrutil
"github.com/
ipfs
/go-libp2p/p2p/net/swarm/addr"
testutil
"github.com/
ipfs
/go-libp2p/testutil"
ci
"github.com/
ipfs
/go-libp2p/testutil/ci"
addrutil
"github.com/
libp2p
/go-libp2p/p2p/net/swarm/addr"
testutil
"github.com/
libp2p
/go-libp2p/testutil"
ci
"github.com/
libp2p
/go-libp2p/testutil/ci"
peer
"github.com/ipfs/go-libp2p-peer"
pstore
"github.com/ipfs/go-libp2p-peerstore"
...
...
p2p/net/swarm/limiter.go
View file @
8744e460
...
...
@@ -7,8 +7,8 @@ import (
ma
"github.com/jbenet/go-multiaddr"
context
"golang.org/x/net/context"
conn
"github.com/
ipfs
/go-libp2p/p2p/net/conn"
addrutil
"github.com/
ipfs
/go-libp2p/p2p/net/swarm/addr"
conn
"github.com/
libp2p
/go-libp2p/p2p/net/conn"
addrutil
"github.com/
libp2p
/go-libp2p/p2p/net/swarm/addr"
)
type
dialResult
struct
{
...
...
p2p/net/swarm/limiter_test.go
View file @
8744e460
...
...
@@ -12,7 +12,7 @@ import (
mafmt
"github.com/whyrusleeping/mafmt"
context
"golang.org/x/net/context"
conn
"github.com/
ipfs
/go-libp2p/p2p/net/conn"
conn
"github.com/
libp2p
/go-libp2p/p2p/net/conn"
)
func
mustAddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
p2p/net/swarm/simul_test.go
View file @
8744e460
...
...
@@ -6,7 +6,7 @@ import (
"testing"
"time"
ci
"github.com/
ipfs
/go-libp2p/testutil/ci"
ci
"github.com/
libp2p
/go-libp2p/testutil/ci"
peer
"github.com/ipfs/go-libp2p-peer"
pstore
"github.com/ipfs/go-libp2p-peerstore"
...
...
p2p/net/swarm/swarm.go
View file @
8744e460
...
...
@@ -13,18 +13,18 @@ import (
peer
"github.com/ipfs/go-libp2p-peer"
pstore
"github.com/ipfs/go-libp2p-peerstore"
transport
"github.com/ipfs/go-libp2p-transport"
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
mconn
"github.com/ipfs/go-libp2p/p2p/metrics/conn"
inet
"github.com/ipfs/go-libp2p/p2p/net"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
filter
"github.com/ipfs/go-libp2p/p2p/net/filter"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
logging
"github.com/ipfs/go-log"
ma
"github.com/jbenet/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
pst
"github.com/jbenet/go-stream-muxer"
"github.com/jbenet/goprocess"
goprocessctx
"github.com/jbenet/goprocess/context"
metrics
"github.com/libp2p/go-libp2p/p2p/metrics"
mconn
"github.com/libp2p/go-libp2p/p2p/metrics/conn"
inet
"github.com/libp2p/go-libp2p/p2p/net"
conn
"github.com/libp2p/go-libp2p/p2p/net/conn"
filter
"github.com/libp2p/go-libp2p/p2p/net/filter"
addrutil
"github.com/libp2p/go-libp2p/p2p/net/swarm/addr"
psmss
"github.com/whyrusleeping/go-smux-multistream"
spdy
"github.com/whyrusleeping/go-smux-spdystream"
yamux
"github.com/whyrusleeping/go-smux-yamux"
...
...
p2p/net/swarm/swarm_addr.go
View file @
8744e460
package
swarm
import
(
conn
"github.com/
ipfs
/go-libp2p/p2p/net/conn"
addrutil
"github.com/
ipfs
/go-libp2p/p2p/net/swarm/addr"
conn
"github.com/
libp2p
/go-libp2p/p2p/net/conn"
addrutil
"github.com/
libp2p
/go-libp2p/p2p/net/swarm/addr"
ma
"github.com/jbenet/go-multiaddr"
)
...
...
p2p/net/swarm/swarm_addr_test.go
View file @
8744e460
...
...
@@ -3,9 +3,9 @@ package swarm
import
(
"testing"
metrics
"github.com/
ipfs
/go-libp2p/p2p/metrics"
addrutil
"github.com/
ipfs
/go-libp2p/p2p/net/swarm/addr"
testutil
"github.com/
ipfs
/go-libp2p/testutil"
metrics
"github.com/
libp2p
/go-libp2p/p2p/metrics"
addrutil
"github.com/
libp2p
/go-libp2p/p2p/net/swarm/addr"
testutil
"github.com/
libp2p
/go-libp2p/testutil"
pstore
"github.com/ipfs/go-libp2p-peerstore"
ma
"github.com/jbenet/go-multiaddr"
...
...
p2p/net/swarm/swarm_conn.go
View file @
8744e460
...
...
@@ -3,8 +3,8 @@ package swarm
import
(
"fmt"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
conn
"github.com/
ipfs
/go-libp2p/p2p/net/conn"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
conn
"github.com/
libp2p
/go-libp2p/p2p/net/conn"
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
...
...
p2p/net/swarm/swarm_dial.go
View file @
8744e460
...
...
@@ -8,9 +8,9 @@ import (
lgbl
"github.com/ipfs/go-libp2p-loggables"
peer
"github.com/ipfs/go-libp2p-peer"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
ma
"github.com/jbenet/go-multiaddr"
conn
"github.com/libp2p/go-libp2p/p2p/net/conn"
addrutil
"github.com/libp2p/go-libp2p/p2p/net/swarm/addr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_listen.go
View file @
8744e460
...
...
@@ -5,11 +5,11 @@ import (
lgbl
"github.com/ipfs/go-libp2p-loggables"
transport
"github.com/ipfs/go-libp2p-transport"
mconn
"github.com/ipfs/go-libp2p/p2p/metrics/conn"
inet
"github.com/ipfs/go-libp2p/p2p/net"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
ma
"github.com/jbenet/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
mconn
"github.com/libp2p/go-libp2p/p2p/metrics/conn"
inet
"github.com/libp2p/go-libp2p/p2p/net"
conn
"github.com/libp2p/go-libp2p/p2p/net/conn"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_net.go
View file @
8744e460
...
...
@@ -5,8 +5,8 @@ import (
peer
"github.com/ipfs/go-libp2p-peer"
pstore
"github.com/ipfs/go-libp2p-peerstore"
metrics
"github.com/
ipfs
/go-libp2p/p2p/metrics"
inet
"github.com/
ipfs
/go-libp2p/p2p/net"
metrics
"github.com/
libp2p
/go-libp2p/p2p/metrics"
inet
"github.com/
libp2p
/go-libp2p/p2p/net"
ma
"github.com/jbenet/go-multiaddr"
"github.com/jbenet/goprocess"
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment