discoveryfactory

package
v0.0.0-...-6719cd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package discoveryfactory constructs service discovery implementations. Users of this package don't need to know which implementation of service discovery they're using.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocator

func NewLocator(ctx context.Context, cfg *config.Locator) (discovery.Locator, error)

NewLocator returns a locator as defined by the configuration. It returns an error if the configuration is invalid or if the underlying implementation cannot create such a locator. Closing the given context will stop the locator from providing any more updates.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL