Icarus9913
2835a3a220
examples: stop using deprecated peer.ID.Pretty ( #2563 )
...
Signed-off-by: Icarus9913 <icaruswu66@qq.com >
2023-09-11 07:28:38 -07:00
Marten Seemann
405af03e60
examples: update go-libp2p to v0.30.0 ( #2507 )
2023-08-24 00:39:25 -07:00
Marten Seemann
d2398ee4f2
quic: update quic-go to v0.37.5 ( #2497 )
...
* Small changes for new quic-go API
* Update quic-go dependency
* Manually bump Go version in go-test
* Don't run examples in Go 1.21 yet
Revert this commit when we release a new go-libp2p version compatible
with Go 1.21
* update quic-go to v0.37.5
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io >
2023-08-17 00:26:56 -07:00
VM
8e341f7936
docs: fix some comments ( #2391 )
...
Co-authored-by: DylanYong <dylan.y@nodereal.io >
2023-06-28 10:12:31 -07:00
Marten Seemann
e6ac836f87
examples: update go-libp2p to v0.23.x ( #1803 )
2022-10-06 13:04:44 -07:00
Marten Seemann
60097363b9
fix go vet error in proxy example ( #1377 )
2022-04-10 04:13:07 -07:00
Marten Seemann
b7bee3855c
remove the context from the libp2p and from the Host contructor
2021-09-18 14:06:56 +02:00
Steven Allen
9243a830cb
chore: fix staticcheck errors
2021-05-07 18:43:57 -07:00
Ian Davis
d340059a80
chore: bring examples back into repository
2021-05-05 10:57:48 +01:00
Steven Allen
0ee6c5a218
extract libp2p examples to go-libp2p-examples
...
Repo: https://github.com/libp2p/go-lib2p-examples
2018-07-27 11:41:28 -07:00
Steven Allen
41c6834850
refactor for transport changes
...
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00
Steven Allen
b7c2a0a9b9
make go vet happy
2018-03-02 15:01:17 -08:00
Steven Allen
d2dd60a285
reset on error in proxy example.
2017-09-13 15:51:05 -07:00
Hector Sanjuan
93802a4007
Add http proxy example
...
The example proxies http requests through a libp2p stream.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai >
2017-03-30 11:14:19 +02:00