周玉环 d906a41c2e first commit 2 dní pred
..
.gitignore d906a41c2e first commit 2 dní pred
.golangci.yml d906a41c2e first commit 2 dní pred
LICENSE d906a41c2e first commit 2 dní pred
README.md d906a41c2e first commit 2 dní pred
codecov.yml d906a41c2e first commit 2 dní pred
config.go d906a41c2e first commit 2 dní pred
conn.go d906a41c2e first commit 2 dní pred
errors.go d906a41c2e first commit 2 dní pred
mdns.go d906a41c2e first commit 2 dní pred
renovate.json d906a41c2e first commit 2 dní pred

README.md


Pion mDNS

A Go implementation of mDNS

Pion mDNS Slack Widget
Build Status GoDoc Coverage Status Go Report Card


Go mDNS implementation. The original user is Pion WebRTC, but we would love to see it work for everyone.

Running Server

For a mDNS server that responds to queries for pion-test.local

go run examples/listen/main.go

Running Client

To query using Pion you can run the query example

go run examples/query/main.go

You can use the macOS client

dns-sd -q pion-test.local

Or the avahi client

avahi-resolve -a pion-test.local

References

https://tools.ietf.org/html/rfc6762 https://tools.ietf.org/id/draft-ietf-rtcweb-mdns-ice-candidates-02.html

Community

Pion has an active community on the Golang Slack. Sign up and join the #pion channel for discussions and support. You can also use Pion mailing list.

We are always looking to support your projects. Please reach out if you have something to build!

If you need commercial support or don't want to use public methods you can contact us at team@pion.ly

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible:

License

MIT License - see LICENSE for full text