Comments (3)
@yusefnapora I created a pull for the Go getting started example. In its current state, it won't compile. There's no mention of the necessary declaration of ctx
as seen in the last two code snippets of the document.
// The context governs the lifetime of the libp2p node.
// Cancelling it will stop the the host.
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
from docs.
Reach out to other implementations (Python, Nim, Zig, etc) to be included in examples page. Will close the child tickets in favor of this one. @DannyS03 plans to combine the Tutorials and Examples section in the future, so some of this work will be addressed by that.
from docs.
After having touched on this issue (and idea) a few times in the latter half of 2022, the preference among the stewards is to keep the examples in their respective repos.
We also have a general "Guides" section now that provides guides to get started with libp2p, and it will continue to refer to the examples in each repo (for example, as mentioned here). Implementations that do not have a getting started guide will be added shortly.
As a result, let's close this and revisit if necessary.
from docs.
Related Issues (20)
- Internal Markdown links not working HOT 3
- Audit all links HOT 2
- How to generate peerID
- Add DCUtR info to glossary
- Revisit muxer overview text
- Webfonts return 404
- go-libp2p ping-pong no good addresses error HOT 1
- add `/ipfs/0.1.0` to protocols page HOT 4
- js-libp2p ping-pong - TypeError: node.ping is not a function HOT 7
- Broken link HOT 5
- Describe NAT hole punching in the NAT overview
- Homogenize link style
- Incorrect go version requirement
- Broken Link
- Ping section is shuffled in documentation page
- Broken Link
- Getting Started js-libp2p: ERR_PACKAGE_PATH_NOT_EXPORTED
- Question in Stream Multiplexing HOT 1
- Add an example for hole punching
- Upgrade Doks theme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.