Registry / networking / hashicorp-mdns

hashicorp-mdns

JSON →
library1.0.7gogounverified

A Go package for multicast DNS (mDNS) service discovery.

go get github.com/hashicorp/mdns
INSTALL
IMPORT
SIG · HASHICORP-MDNS
H
hashicorp-mdns
networkinggov1.0.7
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.

mdns
github.com/hashicorp/mdns

Query for mDNS services

package main import ( "fmt" "github.com/hashicorp/mdns" ) func main() { service := "_http._tcp" entries := make(chan *mdns.ServiceEntry, 4) go func() { for entry := range entries { fmt.Printf("Found service: %s\n", entry.Name) } }() mdns.Query(&mdns.QueryParam{ Service: service, Domain: "local", Entries: entries, }) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
hashicorp-mdns — go get hashicorp-mdns · libregistry