Versions in this module Expand all Collapse all v3 v3.0.0 Oct 16, 2020 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 + MDNSService *MDNSService + func (s *DNSSDService) Records(q dns.Question) []dns.RR + type GetMachineIP func() net.IP + type MDNSService struct + Domain string + HostName string + IPs []net.IP + Instance string + Port int + Service string + TTL uint32 + TXT []string + func NewMDNSService(instance, service, domain, hostName string, port int, ips []net.IP, ...) (*MDNSService, error) + func (m *MDNSService) Records(q dns.Question) []dns.RR + 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 (s *Server) SendMulticast(msg *dns.Msg) error + func (s *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 Zone interface + Records func(q dns.Question) []dns.RR v3.0.0-beta.3 Sep 29, 2020 v3.0.0-beta.2 Sep 4, 2020 v3.0.0-beta Aug 12, 2020 v3.0.0-alpha Jul 27, 2020 Other modules containing this package github.com/micro/go-micro/v2