Source File
doc.go
Belonging Package
github.com/tmc/go-iroh/dns
// Package dns provides DNS-based endpoint discovery for go-iroh: publishing and// resolving endpoint addressing information via DNS using the pkarr signed// packet format.//// It is a port of the Rust crate iroh-dns. The central types are [EndpointData]// (a relay URL, direct addresses, and optional user data about an endpoint) and// [EndpointInfo] (an [key.EndpointID] coupled with its [EndpointData]).//// Records are published under the name "_iroh.<z32-endpoint-id>.<origin>" as TXT// records of the form "key=value" (RFC 1464), with keys "relay", "addr", and// "user-data". [EndpointInfo] converts to and from both TXT record sets and// pkarr signed packets.//// The Go API is not stable before v1 and may change in any v0 release.package dns
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |