Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2021 Changes in this version + type AddrMetadataGRPCLB struct + AddrType AddressType + ServerName string + type AddressType uint8 + const Backend + const GRPCLB + type Operation uint8 + const Add + const Delete + type Resolver interface + Resolve func(target string) (Watcher, error) + func NewDNSResolver() (Resolver, error) + func NewDNSResolverWithFreq(freq time.Duration) (Resolver, error) + type Update struct + Addr string + Metadata interface{} + Op Operation + type Watcher interface + Close func() + Next func() ([]*Update, error)