Versions in this module Expand all Collapse all v1 v1.1.0 Jul 24, 2021 Changes in this version + type Node struct + Address string + ID string + Metadata map[string]string + type Option func(*Options) + func WithAddr(address ...string) Option + func WithContext(context context.Context) Option + func WithDebug(debug bool) Option + func WithTimeout(timeout time.Duration) Option + type Options struct + Address []string + Context context.Context + Debug bool + Timeout time.Duration + type Registry interface + Deregister func(context.Context, *Service) error + GetService func(context.Context, string) (*Service, error) + Register func(context.Context, *Service) error + String func() string + type Service struct + Metadata map[string]string + Name string + Nodes []*Node