Commit Graph

8 Commits

Author SHA1 Message Date
Marten Seemann e6ac836f87
examples: update go-libp2p to v0.23.x (#1803) 2022-10-06 13:04:44 -07:00
web3-bot eff72c4afa
sync: update CI config files (#1678)
* bump go.mod to Go 1.18 and run go fix

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

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

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

* run gofmt -s

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

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

* stop using the deprecated io/ioutil package

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-08-17 01:05:51 -07:00
Marten Seemann 077325cde7 pass notifees to the mDNS constructor, add dedicated Start method 2021-10-05 13:00:44 +01:00
Marten Seemann 64693c6074 use the new mDNS service in the chat-with-mdns example 2021-10-05 12:54:12 +01:00
Marten Seemann b7bee3855c remove the context from the libp2p and from the Host contructor 2021-09-18 14:06:56 +02:00
Marten Seemann ec3c9cbf49
implement the new mDNS spec, move the old mDNS implementation (#1161)
* move the current mdns discovery implementation to discovery_legacy

* use libp2p/zeroconf for mDNS discovery

* rename the discovery package to mdns

* don't store the context

* use a wait group for clean shutdown of the mdns resolver

* add comment about port numbers

* move the mdns packages p2p/discovery
2021-08-18 09:15:56 -07:00
Ian Davis d18fa0f710
Add .gitignore for each example 2021-05-10 11:54:35 +01:00
Ian Davis d340059a80
chore: bring examples back into repository 2021-05-05 10:57:48 +01:00