Versions in this module Expand all Collapse all v1 v1.2.2 Jan 8, 2024 v1.2.1 Mar 23, 2023 v1.2.0 Mar 7, 2023 v1.1.0 Sep 7, 2022 v1.0.1 Aug 13, 2022 v1.0.0 Aug 1, 2022 v1.0.0-beta-2 Jul 27, 2022 v1.0.0-beta-1 Jul 23, 2022 v1.0.0-beta Jul 17, 2022 v0 v0.6.2 Jun 14, 2022 v0.6.1 Mar 25, 2022 v0.6.0 Mar 10, 2022 Changes in this version + func Listen(entries chan<- *ServiceEntry, exit chan struct{}) error + func Lookup(service string, entries chan<- *ServiceEntry) error + func Query(params *QueryParam) error + type Config struct + GetMachineIP GetMachineIP + IFace *net.Interface + LocalhostChecking bool + Port int + Zone Zone + type DNSSDService struct + ServiceMDNS *ServiceMDNS + func (that *DNSSDService) Records(q dns.Question) []dns.RR + type GetMachineIP func() net.IP + type QueryParam struct + Context context.Context + Domain string + Entries chan<- *ServiceEntry + Interface *net.Interface + Service string + Timeout time.Duration + Type uint16 + WantUniCastResponse bool + func DefaultParams(service string) *QueryParam + type Server struct + func NewServer(config *Config) (*Server, error) + func (that *Server) SendMulticast(msg *dns.Msg) error + func (that *Server) Shutdown() error + type ServiceEntry struct + Addr net.IP + AddrV4 net.IP + AddrV6 net.IP + Host string + Info string + InfoFields []string + Name string + Port int + TTL int + Type uint16 + type ServiceMDNS struct + Domain string + HostName string + IPs []net.IP + Instance string + Port int + Service string + TTL uint32 + TXT []string + func NewServiceMDNS(instance, service, domain, hostName string, port int, ips []net.IP, ...) (*ServiceMDNS, error) + func (that *ServiceMDNS) Records(q dns.Question) []dns.RR + type Zone interface + Records func(q dns.Question) []dns.RR