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
b0ad2072
Commit
b0ad2072
authored
Apr 27, 2016
by
Jeromy
Browse files
rewrite all package paths to dvcs
parent
0d7301a7
Changes
65
Hide whitespace changes
Inline
Side-by-side
p2p/net/filter/filter.go
View file @
b0ad2072
...
@@ -4,8 +4,8 @@ import (
...
@@ -4,8 +4,8 @@ import (
"net"
"net"
"sync"
"sync"
ma
net
"gx/ipfs/QmTrxSBY8Wqd5aBB4MeizeSzS5xFbK8dQBrYaMsiGnCBhb
/go-multiaddr
-net
"
ma
"github.com/jbenet
/go-multiaddr"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz
/go-multiaddr"
ma
net
"github.com/jbenet
/go-multiaddr
-net
"
)
)
type
Filters
struct
{
type
Filters
struct
{
...
...
p2p/net/filter/filter_test.go
View file @
b0ad2072
...
@@ -4,7 +4,7 @@ import (
...
@@ -4,7 +4,7 @@ import (
"net"
"net"
"testing"
"testing"
ma
"g
x/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz
/go-multiaddr"
ma
"g
ithub.com/jbenet
/go-multiaddr"
)
)
func
TestFilter
(
t
*
testing
.
T
)
{
func
TestFilter
(
t
*
testing
.
T
)
{
...
...
p2p/net/interface.go
View file @
b0ad2072
...
@@ -3,11 +3,11 @@ package net
...
@@ -3,11 +3,11 @@ package net
import
(
import
(
"io"
"io"
peer
"github.com/ipfs/go-libp2p-peer"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess"
ma
"github.com/jbenet/go-multiaddr"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
"github.com/jbenet/goprocess"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
context
"golang.org/x/net/context"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr"
)
)
// MessageSizeMax is a soft (recommended) maximum for network messages.
// MessageSizeMax is a soft (recommended) maximum for network messages.
...
...
p2p/net/mock/interface.go
View file @
b0ad2072
...
@@ -7,14 +7,14 @@
...
@@ -7,14 +7,14 @@
package
mocknet
package
mocknet
import
(
import
(
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
host
"github.com/ipfs/go-libp2p/p2p/host"
host
"github.com/ipfs/go-libp2p/p2p/host"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
ic
"gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
"io"
"io"
"time"
"time"
ma
"g
x/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz
/go-multiaddr"
ma
"g
ithub.com/jbenet
/go-multiaddr"
)
)
type
Mocknet
interface
{
type
Mocknet
interface
{
...
...
p2p/net/mock/mock.go
View file @
b0ad2072
package
mocknet
package
mocknet
import
(
import
(
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context
"
logging
"github.com/ipfs/go-log
"
logging
"gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log
"
context
"golang.org/x/net/context
"
)
)
var
log
=
logging
.
Logger
(
"mocknet"
)
var
log
=
logging
.
Logger
(
"mocknet"
)
...
...
p2p/net/mock/mock_conn.go
View file @
b0ad2072
...
@@ -4,11 +4,11 @@ import (
...
@@ -4,11 +4,11 @@ import (
"container/list"
"container/list"
"sync"
"sync"
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
process
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess"
ma
"github.com/jbenet/go-multiaddr"
ic
"gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto"
process
"github.com/jbenet/goprocess"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr"
)
)
// conn represents one side's perspective of a
// conn represents one side's perspective of a
...
...
p2p/net/mock/mock_link.go
View file @
b0ad2072
...
@@ -6,8 +6,8 @@ import (
...
@@ -6,8 +6,8 @@ import (
"sync"
"sync"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
)
)
// link implements mocknet.Link
// link implements mocknet.Link
...
...
p2p/net/mock/mock_net.go
View file @
b0ad2072
...
@@ -5,18 +5,18 @@ import (
...
@@ -5,18 +5,18 @@ import (
"sort"
"sort"
"sync"
"sync"
ic
"github.com/ipfs/go-libp2p-crypto"
peer
"github.com/ipfs/go-libp2p-peer"
host
"github.com/ipfs/go-libp2p/p2p/host"
host
"github.com/ipfs/go-libp2p/p2p/host"
bhost
"github.com/ipfs/go-libp2p/p2p/host/basic"
bhost
"github.com/ipfs/go-libp2p/p2p/host/basic"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
p2putil
"github.com/ipfs/go-libp2p/p2p/test/util"
p2putil
"github.com/ipfs/go-libp2p/p2p/test/util"
testutil
"github.com/ipfs/go-libp2p/testutil"
testutil
"github.com/ipfs/go-libp2p/testutil"
ic
"gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess
"
ma
"github.com/jbenet/go-multiaddr
"
goprocessctx
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn
/goprocess
/context
"
"github.com/jbenet
/goprocess"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net
/context"
goprocessctx
"github.com/jbenet/goprocess
/context"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr
"
context
"golang.org/x/net/context
"
)
)
// mocknet implements mocknet.Mocknet
// mocknet implements mocknet.Mocknet
...
...
p2p/net/mock/mock_notif_test.go
View file @
b0ad2072
...
@@ -4,10 +4,10 @@ import (
...
@@ -4,10 +4,10 @@ import (
"testing"
"testing"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
ma
"github.com/jbenet/go-multiaddr"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
context
"golang.org/x/net/context"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr"
)
)
func
TestNotifications
(
t
*
testing
.
T
)
{
func
TestNotifications
(
t
*
testing
.
T
)
{
...
...
p2p/net/mock/mock_peernet.go
View file @
b0ad2072
...
@@ -5,12 +5,12 @@ import (
...
@@ -5,12 +5,12 @@ import (
"math/rand"
"math/rand"
"sync"
"sync"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess"
ma
"github.com/jbenet/go-multiaddr"
goprocessctx
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess/context"
"github.com/jbenet/goprocess"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
goprocessctx
"github.com/jbenet/goprocess/context"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
context
"golang.org/x/net/context"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr"
)
)
// peernet implements inet.Network
// peernet implements inet.Network
...
...
p2p/net/mock/mock_printer.go
View file @
b0ad2072
...
@@ -4,8 +4,8 @@ import (
...
@@ -4,8 +4,8 @@ import (
"fmt"
"fmt"
"io"
"io"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
)
)
// separate object so our interfaces are separate :)
// separate object so our interfaces are separate :)
...
...
p2p/net/mock/mock_stream.go
View file @
b0ad2072
...
@@ -6,7 +6,7 @@ import (
...
@@ -6,7 +6,7 @@ import (
"time"
"time"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
process
"g
x/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn
/goprocess"
process
"g
ithub.com/jbenet
/goprocess"
)
)
// stream implements inet.Stream
// stream implements inet.Stream
...
...
p2p/net/mock/mock_test.go
View file @
b0ad2072
...
@@ -9,13 +9,13 @@ import (
...
@@ -9,13 +9,13 @@ import (
"testing"
"testing"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
protocol
"github.com/ipfs/go-libp2p/p2p/protocol"
protocol
"github.com/ipfs/go-libp2p/p2p/protocol"
testutil
"github.com/ipfs/go-libp2p/testutil"
testutil
"github.com/ipfs/go-libp2p/testutil"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
detectrace
"g
x/ipfs/QmQHGMVmrsgmqUG8ih3puNXUJneSpi13dkcZpzLKkskUkH
/go-detect-race"
detectrace
"g
ithub.com/jbenet
/go-detect-race"
context
"g
x/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-
net/context"
context
"g
olang.org/x/
net/context"
)
)
func
randPeer
(
t
*
testing
.
T
)
peer
.
ID
{
func
randPeer
(
t
*
testing
.
T
)
peer
.
ID
{
...
...
p2p/net/swarm/addr/addr.go
View file @
b0ad2072
...
@@ -3,10 +3,10 @@ package addrutil
...
@@ -3,10 +3,10 @@ package addrutil
import
(
import
(
"fmt"
"fmt"
manet
"gx/ipfs/QmTrxSBY8Wqd5aBB4MeizeSzS5xFbK8dQBrYaMsiGnCBhb/go-multiaddr-net
"
logging
"github.com/ipfs/go-log
"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context
"
ma
"github.com/jbenet/go-multiaddr
"
logging
"gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log
"
manet
"github.com/jbenet/go-multiaddr-net
"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr
"
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/ipfs/go-libp2p/p2p/net/swarm/addr"
)
...
...
p2p/net/swarm/addr/addr_test.go
View file @
b0ad2072
...
@@ -3,8 +3,8 @@ package addrutil
...
@@ -3,8 +3,8 @@ package addrutil
import
(
import
(
"testing"
"testing"
ma
net
"gx/ipfs/QmTrxSBY8Wqd5aBB4MeizeSzS5xFbK8dQBrYaMsiGnCBhb
/go-multiaddr
-net
"
ma
"github.com/jbenet
/go-multiaddr"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz
/go-multiaddr"
ma
net
"github.com/jbenet
/go-multiaddr
-net
"
)
)
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
p2p/net/swarm/dial_test.go
View file @
b0ad2072
...
@@ -7,14 +7,14 @@ import (
...
@@ -7,14 +7,14 @@ import (
"testing"
"testing"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
testutil
"github.com/ipfs/go-libp2p/testutil"
testutil
"github.com/ipfs/go-libp2p/testutil"
ci
"github.com/ipfs/go-libp2p/testutil/ci"
ci
"github.com/ipfs/go-libp2p/testutil/ci"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
ma
net
"gx/ipfs/QmTrxSBY8Wqd5aBB4MeizeSzS5xFbK8dQBrYaMsiGnCBhb
/go-multiaddr
-net
"
ma
"github.com/jbenet
/go-multiaddr"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/contex
t"
manet
"github.com/jbenet/go-multiaddr-ne
t"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr
"
context
"golang.org/x/net/context
"
)
)
func
closeSwarms
(
swarms
[]
*
Swarm
)
{
func
closeSwarms
(
swarms
[]
*
Swarm
)
{
...
...
p2p/net/swarm/peers_test.go
View file @
b0ad2072
...
@@ -3,9 +3,9 @@ package swarm
...
@@ -3,9 +3,9 @@ package swarm
import
(
import
(
"testing"
"testing"
peer
"g
x/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt
/go-libp2p-peer"
peer
"g
ithub.com/ipfs
/go-libp2p-peer"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context
"
ma
"github.com/jbenet/go-multiaddr
"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr
"
context
"golang.org/x/net/context
"
)
)
func
TestPeers
(
t
*
testing
.
T
)
{
func
TestPeers
(
t
*
testing
.
T
)
{
...
...
p2p/net/swarm/simul_test.go
View file @
b0ad2072
...
@@ -6,11 +6,11 @@ import (
...
@@ -6,11 +6,11 @@ import (
"testing"
"testing"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
ci
"github.com/ipfs/go-libp2p/testutil/ci"
ci
"github.com/ipfs/go-libp2p/testutil/ci"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context
"
ma
"github.com/jbenet/go-multiaddr
"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr
"
context
"golang.org/x/net/context
"
)
)
func
TestSimultOpen
(
t
*
testing
.
T
)
{
func
TestSimultOpen
(
t
*
testing
.
T
)
{
...
...
p2p/net/swarm/swarm.go
View file @
b0ad2072
...
@@ -8,25 +8,25 @@ import (
...
@@ -8,25 +8,25 @@ import (
"sync"
"sync"
"time"
"time"
peer
"github.com/ipfs/go-libp2p-peer"
transport
"github.com/ipfs/go-libp2p-transport"
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
mconn
"github.com/ipfs/go-libp2p/p2p/metrics/conn"
mconn
"github.com/ipfs/go-libp2p/p2p/metrics/conn"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
filter
"github.com/ipfs/go-libp2p/p2p/net/filter"
filter
"github.com/ipfs/go-libp2p/p2p/net/filter"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess"
logging
"github.com/ipfs/go-log"
goprocessctx
"gx/ipfs/QmQopLATEYMNg7dVqZRNDfeE2S1yKy8zrRh5xnYiuqeZBn/goprocess/context"
ma
"github.com/jbenet/go-multiaddr"
transport
"gx/ipfs/QmRHqYZs3Diy8YC3bW16zvs8VDDwS2ARKBuKwALxEMqibc/go-libp2p-transport"
ps
"github.com/jbenet/go-peerstream"
pst
"gx/ipfs/QmWSJzRkCMJFHYUQZxKwPX8WA7XipaPtfiwMPARP51ymfn/go-stream-muxer"
pst
"github.com/jbenet/go-stream-muxer"
psmss
"gx/ipfs/QmWSJzRkCMJFHYUQZxKwPX8WA7XipaPtfiwMPARP51ymfn/go-stream-muxer/multistream"
psmss
"github.com/jbenet/go-stream-muxer/multistream"
spdy
"gx/ipfs/QmWSJzRkCMJFHYUQZxKwPX8WA7XipaPtfiwMPARP51ymfn/go-stream-muxer/spdystream"
spdy
"github.com/jbenet/go-stream-muxer/spdystream"
yamux
"gx/ipfs/QmWSJzRkCMJFHYUQZxKwPX8WA7XipaPtfiwMPARP51ymfn/go-stream-muxer/yamux"
yamux
"github.com/jbenet/go-stream-muxer/yamux"
ps
"gx/ipfs/QmZK81vcgMhpb2t7GNbozk7qzt6Rj4zFqitpvsWT9mduW8/go-peerstream"
"github.com/jbenet/goprocess"
peer
"gx/ipfs/QmZwZjMVGss5rqYsJVGy18gNbkTJffFyq2x1uJ4e4p3ZAt/go-libp2p-peer"
goprocessctx
"github.com/jbenet/goprocess/context"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
mafilter
"github.com/whyrusleeping/multiaddr-filter"
logging
"gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log"
context
"golang.org/x/net/context"
ma
"gx/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz/go-multiaddr"
mafilter
"gx/ipfs/Qme8dipKnZAChkp5Kfgj2MYYyBbzjqqPXmxQx3g9v3MoxP/multiaddr-filter"
)
)
var
log
=
logging
.
Logger
(
"swarm2"
)
var
log
=
logging
.
Logger
(
"swarm2"
)
...
...
p2p/net/swarm/swarm_addr.go
View file @
b0ad2072
...
@@ -4,7 +4,7 @@ import (
...
@@ -4,7 +4,7 @@ import (
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
ma
"g
x/ipfs/QmcobAGsCjYt5DXoq9et9L8yR8er7o7Cu3DTvpaq12jYSz
/go-multiaddr"
ma
"g
ithub.com/jbenet
/go-multiaddr"
)
)
// ListenAddresses returns a list of addresses at which this swarm listens.
// ListenAddresses returns a list of addresses at which this swarm listens.
...
...
Prev
1
2
3
4
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