Versions in this module Expand all Collapse all v1 v1.0.3 Sep 9, 2021 v1.0.2 Aug 23, 2021 Changes in this version + const DEFAULT_MULTICAST_REPRETITIONS + const IPv4 + const IPv4AndIPv6 + const IPv6 + type ClientOption func(*clientOpts) + func SelectIPTraffic(t IPType) ClientOption + func SelectIfaces(ifaces []net.Interface) ClientOption + type IPType uint8 + type Resolver struct + func NewResolver(options ...ClientOption) (*Resolver, error) + func (r *Resolver) Browse(ctx context.Context, service, domain string, entries chan<- *ServiceEntry) error + func (r *Resolver) Lookup(ctx context.Context, instance, service, domain string, ...) error + type Server struct + func Register(instance, service, domain string, port int, text []string, ...) (*Server, error) + func RegisterProxy(instance, service, domain string, port int, host string, ips []string, ...) (*Server, error) + func (s *Server) SetText(text []string) + func (s *Server) Shutdown() + func (s *Server) TTL(ttl uint32) + type ServiceEntry struct + AddrIPv4 []net.IP + AddrIPv6 []net.IP + HostName string + Port int + TTL uint32 + Text []string + func NewServiceEntry(instance, service string, domain string) *ServiceEntry + type ServiceRecord struct + Domain string + Instance string + Service string + Subtypes []string + func NewServiceRecord(instance, service string, domain string) *ServiceRecord + func (s *ServiceRecord) ServiceInstanceName() string + func (s *ServiceRecord) ServiceName() string + func (s *ServiceRecord) ServiceTypeName() string