Versions in this module Expand all Collapse all v1 v1.2.0 Feb 2, 2021 Changes in this version + type Agent interface + ServiceDeregister func(serviceID string) error + ServiceRegister func(service *api.AgentServiceRegistration) error + ServicesWithFilter func(filter string) (map[string]*api.AgentService, error) + type Registry struct + func NewRegistry(agent Agent, tag consul.Tag) *Registry + func (r *Registry) Deregister(ctx context.Context, service *core.Service) error + func (r *Registry) Fetch(_ context.Context) (core.Services, error) + func (r *Registry) Register(ctx context.Context, service *core.Service) error + func (r *Registry) WithLogger(logger core.LoggerInterface)