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
216db146
Commit
216db146
authored
Nov 15, 2015
by
Jeromy
Browse files
more vendoring
parent
e1427950
Changes
146
Show whitespace changes
Inline
Side-by-side
p2p/net/swarm/addr/addr_test.go
View file @
216db146
...
...
@@ -3,8 +3,8 @@ package addrutil
import
(
"testing"
ma
"
github.com/jbenet
/go-multiaddr"
manet
"
github.com/jbenet
/go-multiaddr-net"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
manet
"
QmanZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
)
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
p2p/net/swarm/dial_test.go
View file @
216db146
...
...
@@ -13,8 +13,8 @@ import (
testutil
"util/testutil"
ci
"util/testutil/ci"
ma
"
github.com/jbenet
/go-multiaddr"
manet
"
github.com/jbenet
/go-multiaddr-net"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
manet
"
QmanZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/peers_test.go
View file @
216db146
...
...
@@ -5,7 +5,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/simul_test.go
View file @
216db146
...
...
@@ -9,7 +9,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ci
"util/testutil/ci"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm.go
View file @
216db146
...
...
@@ -16,14 +16,14 @@ import (
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ma
"github.com/jbenet/go-multiaddr"
mafilter
"QmVdADza4QFVAR9xqAxRQjt9vTZJ6UrVLgBstKua1Xg7he/multiaddr-filter"
ma
"QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
pst
"github.com/jbenet/go-stream-muxer"
psmss
"github.com/jbenet/go-stream-muxer/multistream"
"github.com/jbenet/goprocess"
goprocessctx
"github.com/jbenet/goprocess/context"
prom
"github.com/prometheus/client_golang/prometheus"
mafilter
"github.com/whyrusleeping/multiaddr-filter"
context
"golang.org/x/net/context"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
...
...
p2p/net/swarm/swarm_addr.go
View file @
216db146
...
...
@@ -4,7 +4,7 @@ import (
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"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
)
// ListenAddresses returns a list of addresses at which this swarm listens.
...
...
p2p/net/swarm/swarm_addr_test.go
View file @
216db146
...
...
@@ -8,7 +8,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
testutil
"util/testutil"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_conn.go
View file @
216db146
...
...
@@ -8,7 +8,7 @@ import (
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_dial.go
View file @
216db146
...
...
@@ -8,13 +8,13 @@ import (
"sync"
"time"
"
github.com/jbenet
/go-multiaddr-net"
"
QmanZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
lgbl
"util/eventlog/loggables"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_listen.go
View file @
216db146
...
...
@@ -9,7 +9,7 @@ import (
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
lgbl
"util/eventlog/loggables"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_net.go
View file @
216db146
...
...
@@ -8,7 +8,7 @@ import (
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
inet
"github.com/ipfs/go-libp2p/p2p/net"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
"github.com/jbenet/goprocess"
context
"golang.org/x/net/context"
)
...
...
p2p/net/swarm/swarm_notif_test.go
View file @
216db146
...
...
@@ -4,7 +4,7 @@ import (
"testing"
"time"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
inet
"github.com/ipfs/go-libp2p/p2p/net"
...
...
p2p/net/swarm/swarm_test.go
View file @
216db146
...
...
@@ -14,7 +14,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
testutil
"util/testutil"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
context
"golang.org/x/net/context"
)
...
...
p2p/net/transport/tcp.go
View file @
216db146
...
...
@@ -6,8 +6,8 @@ import (
"sync"
"time"
ma
"
github.com/jbenet
/go-multiaddr"
manet
"
github.com/jbenet
/go-multiaddr-net"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
manet
"
QmanZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
reuseport
"github.com/jbenet/go-reuseport"
context
"golang.org/x/net/context"
lgbl
"util/eventlog/loggables"
...
...
p2p/net/transport/transport.go
View file @
216db146
...
...
@@ -5,8 +5,8 @@ import (
"time"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
ma
"
github.com/jbenet
/go-multiaddr"
manet
"
github.com/jbenet
/go-multiaddr-net"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
manet
"
QmanZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
)
var
log
=
logging
.
Logger
(
"transport"
)
...
...
p2p/peer/addr/addrsrcs.go
View file @
216db146
...
...
@@ -2,7 +2,7 @@
package
addr
import
(
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
)
// AddrSource is a source of addresses. It allows clients to retrieve
...
...
p2p/peer/addr/addrsrcs_test.go
View file @
216db146
...
...
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
)
func
newAddrOrFatal
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
p2p/peer/addr_manager.go
View file @
216db146
...
...
@@ -4,7 +4,7 @@ import (
"sync"
"time"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
)
const
(
...
...
p2p/peer/addr_manager_test.go
View file @
216db146
...
...
@@ -4,7 +4,7 @@ import (
"testing"
"time"
ma
"
github.com/jbenet
/go-multiaddr"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
)
func
IDS
(
t
*
testing
.
T
,
ids
string
)
ID
{
...
...
p2p/peer/peer.go
View file @
216db146
...
...
@@ -7,9 +7,9 @@ import (
"fmt"
"strings"
b58
"
github.com/jbenet
/go-base58"
ma
"
github.com/jbenet
/go-multiaddr"
mh
"
github.com/jbenet
/go-multihash"
b58
"
QmNsoHoCVhgXcv1Yg45jtkMgimxorTAN36fV9AQMFXHHAQ
/go-base58"
ma
"
QmaA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
mh
"
QmdeauTdyf38KDQB4Cc4CurPWRRb5pej27NCXPA7kbPTJy
/go-multihash"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
ic
"github.com/ipfs/go-libp2p/p2p/crypto"
...
...
Prev
1
2
3
4
5
6
…
8
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