Versions in this module Expand all Collapse all v1 v1.1.0 Jul 24, 2021 Changes in this version + type Next func() (*registry.Node, error) + func RoundRobin(services *registry.Service) Next + type Option func(*Options) + func WithRegistry(registry registry.Registry) Option + func WithStrategy(strategy Strategy) Option + type Options struct + Registry registry.Registry + Strategy Strategy + type Selector interface + Select func(context.Context, string) (Next, error) + String func() string + func NewSelector(opts ...Option) Selector + type Strategy func(services *registry.Service) Next