Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Update dependencies #29

Merged
merged 2 commits into from
Apr 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Status](https://travis-ci.org/libp2p/go-libp2p-webrtc-direct.svg?branch=master)]

Lead maintainer: [@backkem](https://github.com/backkem)

Special thanks to [@pions](https://github.com/pions) for their fantastic
[WebRTC Go library](https://github.com/pions/webrtc), which made this
Special thanks to [@pion](https://github.com/pion) for their fantastic
[WebRTC Go library](https://github.com/pion/webrtc), which made this
libp2p transport possible.

## Install
Expand Down
4 changes: 2 additions & 2 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
smux "github.com/libp2p/go-stream-muxer"
ma "github.com/multiformats/go-multiaddr"
manet "github.com/multiformats/go-multiaddr-net"
"github.com/pions/datachannel"
"github.com/pions/webrtc"
"github.com/pion/datachannel"
"github.com/pion/webrtc/v2"
)

type connConfig struct {
Expand Down
20 changes: 20 additions & 0 deletions examples/libp2p-echo/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module github.com/libp2p/go-libp2p-webrtc-direct/examples/libp2p-echo

go 1.12

require (
github.com/ipfs/go-log v0.0.1
github.com/libp2p/go-libp2p v0.0.3
github.com/libp2p/go-libp2p-crypto v0.0.1
github.com/libp2p/go-libp2p-host v0.0.1
github.com/libp2p/go-libp2p-net v0.0.1
github.com/libp2p/go-libp2p-peer v0.1.0
github.com/libp2p/go-libp2p-peerstore v0.0.1
github.com/libp2p/go-libp2p-webrtc-direct v0.0.0-00010101000000-000000000000
github.com/multiformats/go-multiaddr v0.0.2
github.com/pion/webrtc/v2 v2.0.5
github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc
github.com/whyrusleeping/go-smux-multiplex v3.0.16+incompatible
)

replace github.com/libp2p/go-libp2p-webrtc-direct => ../../
283 changes: 283 additions & 0 deletions examples/libp2p-echo/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/libp2p-echo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
gologging "github.com/whyrusleeping/go-logging"

direct "github.com/libp2p/go-libp2p-webrtc-direct"
"github.com/pions/webrtc"
"github.com/pion/webrtc/v2"
mplex "github.com/whyrusleeping/go-smux-multiplex"
)

Expand Down
14 changes: 14 additions & 0 deletions examples/standalone/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module github.com/libp2p/go-libp2p-webrtc-direct/examples/standalone

go 1.12

require (
github.com/libp2p/go-libp2p-transport v0.0.4
github.com/libp2p/go-libp2p-webrtc-direct v0.0.0-00010101000000-000000000000
github.com/libp2p/go-stream-muxer v0.0.1
github.com/multiformats/go-multiaddr v0.0.2
github.com/pion/webrtc/v2 v2.0.5
github.com/whyrusleeping/go-smux-multiplex v3.0.16+incompatible
)

replace github.com/libp2p/go-libp2p-webrtc-direct => ../../
194 changes: 194 additions & 0 deletions examples/standalone/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/standalone/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
direct "github.com/libp2p/go-libp2p-webrtc-direct"
smux "github.com/libp2p/go-stream-muxer"
ma "github.com/multiformats/go-multiaddr"
"github.com/pions/webrtc"
"github.com/pion/webrtc/v2"
mplex "github.com/whyrusleeping/go-smux-multiplex"
)

Expand Down
14 changes: 14 additions & 0 deletions examples/wasm/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module github.com/libp2p/go-libp2p-webrtc-direct/examples/wasm

go 1.12

require (
github.com/libp2p/go-libp2p-transport v0.0.4
github.com/libp2p/go-libp2p-webrtc-direct v0.0.0-00010101000000-000000000000
github.com/libp2p/go-stream-muxer v0.0.1
github.com/multiformats/go-multiaddr v0.0.2
github.com/pion/webrtc/v2 v2.0.5
github.com/whyrusleeping/go-smux-multiplex v3.0.16+incompatible
)

replace github.com/libp2p/go-libp2p-webrtc-direct => ../../
194 changes: 194 additions & 0 deletions examples/wasm/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/wasm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
direct "github.com/libp2p/go-libp2p-webrtc-direct"
smux "github.com/libp2p/go-stream-muxer"
ma "github.com/multiformats/go-multiaddr"
"github.com/pions/webrtc"
"github.com/pion/webrtc/v2"
mplex "github.com/whyrusleeping/go-smux-multiplex"
)

Expand Down
19 changes: 3 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,17 @@ module github.com/libp2p/go-libp2p-webrtc-direct
go 1.12

require (
github.com/cloudflare/sidh v0.0.0-20190228162259-d2f0f90e08aa // indirect
github.com/golang/protobuf v1.3.1 // indirect
github.com/ipfs/go-log v0.0.1
github.com/libp2p/go-libp2p v0.0.3
github.com/libp2p/go-libp2p-crypto v0.0.1
github.com/libp2p/go-libp2p-host v0.0.2
github.com/libp2p/go-libp2p-net v0.0.1
github.com/libp2p/go-libp2p-peer v0.1.0
github.com/libp2p/go-libp2p-peerstore v0.0.1
github.com/libp2p/go-libp2p-transport v0.0.4
github.com/libp2p/go-mplex v0.0.1 // indirect
github.com/libp2p/go-stream-muxer v0.0.1
github.com/multiformats/go-multiaddr v0.0.2
github.com/multiformats/go-multiaddr-fmt v0.0.1
github.com/multiformats/go-multiaddr-net v0.0.1
github.com/multiformats/go-multibase v0.0.1
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/pions/datachannel v1.2.2-0.20190402055840-9276b506f1f3
github.com/pions/quic-go v0.10.2 // indirect
github.com/pions/webrtc v1.2.1-0.20190402062217-69e5725007d2
github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc
github.com/pion/datachannel v1.3.0
github.com/pion/webrtc/v2 v2.0.5
github.com/whyrusleeping/go-smux-multiplex v3.0.16+incompatible
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect
golang.org/x/net v0.0.0-20190328230028-74de082e2cca // indirect
golang.org/x/sys v0.0.0-20190402054613-e4093980e83e // indirect
gopkg.in/yaml.v2 v2.2.2 // indirect
)
Loading