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
a0c0e5be
Commit
a0c0e5be
authored
Oct 05, 2016
by
Jeromy Johnson
Committed by
GitHub
Oct 05, 2016
Browse files
Merge pull request #135 from libp2p/fix/relay-import
Fix/relay import
parents
c859385c
fb468895
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gx/lastpubver
View file @
a0c0e5be
4.0.
0
: Qm
X663j2gE9igSEw1zMbtbEGJ2vX1Po3r38yq9GTxtr7Q6
4.0.
1
: Qm
cRa2qn6iCmap9bjp8jAwkvYAq13AUfxdY3rrYiaJbLum
.travis.yml
View file @
a0c0e5be
...
@@ -7,16 +7,18 @@ language: go
...
@@ -7,16 +7,18 @@ language: go
go
:
go
:
-
1.7
-
1.7
env
:
-
GO15VENDOREXPERIMENT=1
install
:
true
install
:
true
script
:
before_install
:
-
make deps
-
make deps
-
gx-go rewrite
-
go test ./p2p/...
#- go vet ./...
script
:
-
go test ./... -v
cache
:
cache
:
directories
:
directories
:
-
$GOPATH/src/gx
-
$GOPATH/src/gx
notifications
:
email
:
false
Makefile
View file @
a0c0e5be
export
IPFS_API
?=
v04x.ipfs.io
gx
:
gx
:
go get
-u
github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx
go get
-u
github.com/whyrusleeping/gx-go
go get github.com/whyrusleeping/gx-go
deps
:
gx
deps
:
gx
gx
--verbose
install
--global
gx
--verbose
install
--global
gx-go rewrite
publish
:
gx-go rewrite
--undo
p2p/protocol/relay/relay.go
View file @
a0c0e5be
...
@@ -9,10 +9,10 @@ import (
...
@@ -9,10 +9,10 @@ import (
host
"github.com/libp2p/go-libp2p-host"
host
"github.com/libp2p/go-libp2p-host"
logging
"github.com/ipfs/go-log"
logging
"github.com/ipfs/go-log"
mh
"github.com/jbenet/go-multihash"
inet
"github.com/libp2p/go-libp2p-net"
inet
"github.com/libp2p/go-libp2p-net"
peer
"github.com/libp2p/go-libp2p-peer"
peer
"github.com/libp2p/go-libp2p-peer"
protocol
"github.com/libp2p/go-libp2p-protocol"
protocol
"github.com/libp2p/go-libp2p-protocol"
mh
"github.com/multiformats/go-multihash"
)
)
var
log
=
logging
.
Logger
(
"protocol/relay"
)
var
log
=
logging
.
Logger
(
"protocol/relay"
)
...
...
package.json
View file @
a0c0e5be
...
@@ -255,6 +255,6 @@
...
@@ -255,6 +255,6 @@
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
"name"
:
"go-libp2p"
,
"name"
:
"go-libp2p"
,
"releaseCmd"
:
"git commit -a -m
\"
gx publish $VERSION
\"
"
,
"releaseCmd"
:
"git commit -a -m
\"
gx publish $VERSION
\"
"
,
"version"
:
"4.0.
0
"
"version"
:
"4.0.
1
"
}
}
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