Versions in this module Expand all Collapse all v1 v1.0.0 Oct 17, 2023 Changes in this version + type DNSDiscovery struct + func (hd *DNSDiscovery) List(service string, opt ...discovery.Option) (nodes []*registry.Node, err error) + type Discovery struct + var DefaultDiscovery *Discovery + func New(options ...Option) (*Discovery, error) + func (d *Discovery) List(serviceName string, opts ...tdiscovery.Option) ([]*registry.Node, error) + func (d *Discovery) ListAll(serviceName string, opts ...tdiscovery.Option) (healthyNodes []*registry.Node, unhealthyNodes []*registry.Node, err error) + type Option func(options *Options) + func WithClient(client *api.Client) Option + type Options struct