Giter Site home page Giter Site logo

Go build error about universal-connectivity HOT 3 CLOSED

libp2p avatar libp2p commented on July 28, 2024
Go build error

from universal-connectivity.

Comments (3)

maschad avatar maschad commented on July 28, 2024 1

Running go mod tidy with go v1.21.1 should solve this, we currently have a PR open

from universal-connectivity.

maschad avatar maschad commented on July 28, 2024 1

You can dial the rust peer over QUIC via the CLI and the js-peer over webtransport via the web page. It shouldn't be difficult to add websocket to the go version, I believe adding the transport here should suffice, but feel free to explore the go-libp2p repo for clearer docs.

from universal-connectivity.

MichaelJCole avatar MichaelJCole commented on July 28, 2024

That worked, thank you!

I got the go version up and running, but I don't see how to connect it to the rust and browser version.

The only place I can add a multiaddr is on the web page, and all the go version's addresses are quic:

│Listening on: /ip4/127.0.0.1/udp/9095/quic-v1/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo                                                       │
│Listening on: /ip4/127.0.0.1/udp/9095/quic-v1/webtransport/certhash/uEiDkbBzN7UzKA9UukoT-qJ58WMsG-WCZuga_eoZV0WHpLA/certhash/uEiAVKuA_YV1zymqLb9dY6QSOAn8j4gQ│
│g9rbwL87hESwVOA/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo                                                                                     │
│Listening on: /ip4/192.168.50.93/udp/9095/quic-v1/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo                                                   │
│Listening on: /ip4/192.168.50.93/udp/9095/quic-v1/webtransport/certhash/uEiDkbBzN7UzKA9UukoT-qJ58WMsG-WCZuga_eoZV0WHpLA/certhash/uEiAVKuA_YV1zymqLb9dY6QSOAn8│
│j4gQg9rbwL87hESwVOA/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo  

Would it be difficult to add the websocket protocol to the go version? Just a thought, thanks for this library!

from universal-connectivity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.