Registry / networking / grandcat-zeroconf

grandcat-zeroconf

JSON →
library1.0.0gogounverified

Package zeroconf is a pure Golang library that employs Multicast DNS-SD for browsing and resolving services in your network and registering own services in the local network.

go get github.com/grandcat/zeroconf
INSTALL
IMPORT
SIG · GRANDCAT-ZEROCONF
G
grandcat-zeroconf
networkinggov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zeroconf
github.com/grandcat/zeroconf

Browse for HTTP services on the local network.

package main import ( "fmt" "github.com/grandcat/zeroconf" ) func main() { resolver, _ := zeroconf.NewResolver(nil) entries := make(chan *zeroconf.ServiceEntry) go func() { for entry := range entries { fmt.Println(entry.Instance) } }() resolver.Browse("_http._tcp", "local.", entries) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
grandcat-zeroconf — go get grandcat-zeroconf · libregistry