Versions in this module Expand all Collapse all v2 v2.9.1 Jul 3, 2020 Changes in this version type Config + GetMachineIP GetMachineIP + LocalhostChecking bool + type GetMachineIP func() net.IP v2.9.0 Jun 12, 2020 v2.9.0-rc5 Jun 11, 2020 v2.9.0-rc4 Jun 11, 2020 v2.9.0-rc1 Jun 11, 2020 v2.8.0 May 31, 2020 v2.7.0 May 18, 2020 v2.6.0 May 1, 2020 v2.5.0 Apr 15, 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 + Iface *net.Interface + Port int + Zone Zone + type DNSSDService struct + MDNSService *MDNSService + func (s *DNSSDService) Records(q dns.Question) []dns.RR + 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 Other modules containing this package github.com/micro/go-micro/v3