Versions in this module Expand all Collapse all v1 v1.0.2 Dec 23, 2023 v1.0.0 Dec 7, 2023 Changes in this version + var MULTICAST_ADDR = netip.AddrPortFrom(netip.AddrFrom4([...]byte{ ... }), 5353) + type Browser struct + func NewBrowser() *Browser + func (b *Browser) FullSubscribe(serviceName string) *FullSubscription + func (b *Browser) Listen(socket *net.UDPConn) + func (b *Browser) Services(name string) []Service + func (b *Browser) SetLogger(log *zap.Logger) *Browser + func (b *Browser) Subscribe(serviceName string) *Subscription + type Change struct + Service Service + Type ChangeType + type ChangeType int + const Added + const Removed + const Updated + type FullSubscription struct + Stream <-chan []Service + func (s *FullSubscription) Close() + type Service struct + Addresses []netip.Addr + Hostname string + InstanceName string + Metadata map[string]*string + Port uint16 + ServiceName string + func (s *Service) UserFriendlyName() string + type Subscription struct + Stream <-chan Change + func (s *Subscription) Close()