A libp2p transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers
Go to file
web3-bot 41a3151f0a
sync: update CI config files (#51)
* bump go.mod to Go 1.17 and run go fix

* bump go.mod to Go 1.17 and run go fix

* bump go.mod to Go 1.17 and run go fix

* bump go.mod to Go 1.17 and run go fix

* add version.json file

* update .github/workflows/automerge.yml

* update .github/workflows/go-test.yml

* update .github/workflows/go-check.yml

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
2022-04-06 12:57:18 +02:00
.github/workflows sync: update CI config files (#51) 2022-04-06 12:57:18 +02:00
examples sync: update CI config files (#51) 2022-04-06 12:57:18 +02:00
.gitignore Initial POC 2018-09-30 21:33:55 +02:00
LICENSE Create LICENSE 2018-12-31 13:41:55 +01:00
README.md Update dependencies 2019-04-19 09:22:41 +02:00
conn.go fix staticcheck 2021-05-19 10:48:02 -07:00
go.mod sync: update CI config files (#51) 2022-04-06 12:57:18 +02:00
go.sum sync: update CI config files (#47) 2021-11-19 15:19:01 +01:00
listener.go fix staticcheck 2021-05-19 10:48:02 -07:00
signaling.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
stream.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
transport.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00
version.json sync: update CI config files (#51) 2022-04-06 12:57:18 +02:00
webrtcdirect.go Migrate to webrtc v2.0.16 and go-libp2p-core 2019-08-05 21:29:38 +02:00
webrtcdirect_test.go upgrading dependencies to pass build, commpatible with go-libp2p v0.13.0 and webrtc/v3 v3.0.16 2021-03-21 14:31:43 +01:00

README.md

go-libp2p-webrtc-direct

GoDoc CoverageStatus BuildStatus

A transport that enables browser-to-server, and server-to-server, direct communication over WebRTC without requiring signalling servers. This is the Go counterpart to js-libp2p-webrtc-direct.

⚠️ Status: Alpha. ⚠️

Lead maintainer: @backkem

Special thanks to @pion for their fantastic WebRTC Go library, which made this libp2p transport possible.

Install

This package supports gomod builds.

go get github.com/libp2p/go-libp2p-webrtc-direct

Usage

Check out the GoDocs.

Examples

Check the examples folder for usage and integration examples.

Contribute

Feel free to join in. All welcome. Open an issue or send a PR.

This repository falls under the IPFS Code of Conduct.

License

MIT