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
f54e0c74
Commit
f54e0c74
authored
Jan 18, 2015
by
Brian Tiger Chow
Browse files
move generic packages to thirdparty (see thirdparty/README.md)
parent
9c45696a
Changes
16
Hide whitespace changes
Inline
Side-by-side
crypto/secio/protocol.go
View file @
f54e0c74
...
...
@@ -13,8 +13,8 @@ import (
ci
"github.com/jbenet/go-ipfs/p2p/crypto"
pb
"github.com/jbenet/go-ipfs/p2p/crypto/secio/internal/pb"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
eventlog
"github.com/jbenet/go-ipfs/thirdparty/eventlog"
u
"github.com/jbenet/go-ipfs/util"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
)
var
log
=
eventlog
.
Logger
(
"secio"
)
...
...
host/basic/basic_host.go
View file @
f54e0c74
...
...
@@ -3,7 +3,7 @@ package basichost
import
(
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
inet
"github.com/jbenet/go-ipfs/p2p/net"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
...
...
host/host.go
View file @
f54e0c74
...
...
@@ -3,11 +3,10 @@ package host
import
(
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
inet
"github.com/jbenet/go-ipfs/p2p/net"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
eventlog
"github.com/jbenet/go-ipfs/thirdparty/eventlog"
)
var
log
=
eventlog
.
Logger
(
"p2p/host"
)
...
...
net/conn/conn.go
View file @
f54e0c74
...
...
@@ -13,8 +13,8 @@ import (
ic
"github.com/jbenet/go-ipfs/p2p/crypto"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
eventlog
"github.com/jbenet/go-ipfs/thirdparty/eventlog"
u
"github.com/jbenet/go-ipfs/util"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
)
var
log
=
eventlog
.
Logger
(
"conn"
)
...
...
net/mock/mock.go
View file @
f54e0c74
package
mocknet
import
(
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
)
...
...
net/swarm/addr/addr.go
View file @
f54e0c74
...
...
@@ -3,7 +3,7 @@ package addrutil
import
(
"fmt"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
ma
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
...
...
net/swarm/swarm.go
View file @
f54e0c74
...
...
@@ -9,7 +9,7 @@ import (
inet
"github.com/jbenet/go-ipfs/p2p/net"
addrutil
"github.com/jbenet/go-ipfs/p2p/net/swarm/addr"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
ctxgroup
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup"
...
...
net/swarm/swarm_listen.go
View file @
f54e0c74
...
...
@@ -10,7 +10,7 @@ import (
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
ma
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
ps
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream"
multierr
"github.com/jbenet/go-ipfs/
util
/multierr"
multierr
"github.com/jbenet/go-ipfs/
thirdparty
/multierr"
)
// Open listeners for each network the swarm should listen on
...
...
peer/queue/sync.go
View file @
f54e0c74
...
...
@@ -4,7 +4,7 @@ import (
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
)
var
log
=
eventlog
.
Logger
(
"peerqueue"
)
...
...
protocol/identify/id.go
View file @
f54e0c74
...
...
@@ -9,14 +9,12 @@ import (
semver
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/coreos/go-semver/semver"
ma
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
config
"github.com/jbenet/go-ipfs/repo/config"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
host
"github.com/jbenet/go-ipfs/p2p/host"
inet
"github.com/jbenet/go-ipfs/p2p/net"
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
pb
"github.com/jbenet/go-ipfs/p2p/protocol/identify/pb"
config
"github.com/jbenet/go-ipfs/repo/config"
eventlog
"github.com/jbenet/go-ipfs/thirdparty/eventlog"
)
var
log
=
eventlog
.
Logger
(
"net/identify"
)
...
...
protocol/mux.go
View file @
f54e0c74
...
...
@@ -8,7 +8,7 @@ import (
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
inet
"github.com/jbenet/go-ipfs/p2p/net"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
lgbl
"github.com/jbenet/go-ipfs/util/eventlog/loggables"
)
...
...
protocol/relay/relay.go
View file @
f54e0c74
...
...
@@ -10,7 +10,7 @@ import (
inet
"github.com/jbenet/go-ipfs/p2p/net"
peer
"github.com/jbenet/go-ipfs/p2p/peer"
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
)
var
log
=
eventlog
.
Logger
(
"p2p/protocol/relay"
)
...
...
protocol/relay/relay_test.go
View file @
f54e0c74
...
...
@@ -8,7 +8,7 @@ import (
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
relay
"github.com/jbenet/go-ipfs/p2p/protocol/relay"
testutil
"github.com/jbenet/go-ipfs/p2p/test/util"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
)
...
...
test/backpressure/backpressure_test.go
View file @
f54e0c74
...
...
@@ -12,7 +12,7 @@ import (
peer
"github.com/jbenet/go-ipfs/p2p/peer"
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
testutil
"github.com/jbenet/go-ipfs/p2p/test/util"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
)
...
...
test/reconnects/reconnect_test.go
View file @
f54e0c74
...
...
@@ -13,7 +13,7 @@ import (
swarm
"github.com/jbenet/go-ipfs/p2p/net/swarm"
protocol
"github.com/jbenet/go-ipfs/p2p/protocol"
testutil
"github.com/jbenet/go-ipfs/p2p/test/util"
eventlog
"github.com/jbenet/go-ipfs/
util
/eventlog"
eventlog
"github.com/jbenet/go-ipfs/
thirdparty
/eventlog"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
ps
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream"
...
...
test/util/key.go
View file @
f54e0c74
...
...
@@ -5,8 +5,8 @@ import (
"io"
"testing"
eventlog
"github.com/jbenet/go-ipfs/thirdparty/eventlog"
u
"github.com/jbenet/go-ipfs/util"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
testutil
"github.com/jbenet/go-ipfs/util/testutil"
ic
"github.com/jbenet/go-ipfs/p2p/crypto"
...
...
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