amalgam8

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCachedDiscoveryAdapter

func NewCachedDiscoveryAdapter(config RegistryConfig, pollInterval time.Duration) (api.ServiceDiscovery, error)

NewCachedDiscoveryAdapter constructs a new ServiceDiscovery adapter for the Amalgam8 Registry using the given configuration, and a local cache refreshed at the frequency specified by the given poll interval.

func NewDiscoveryAdapter

func NewDiscoveryAdapter(config RegistryConfig) (api.ServiceDiscovery, error)

NewDiscoveryAdapter constructs a new ServiceDiscovery adapter for the Amalgam8 Registry using the given configuration.

func NewRegistryAdapter

func NewRegistryAdapter(config RegistryConfig) (api.ServiceRegistry, error)

NewRegistryAdapter constructs a new ServiceRegistry adapter for the Amalgam8 Registry using the given configuration.

Types

type RegistryConfig

type RegistryConfig client.Config

RegistryConfig stores the configurable attributes of the Amalgam8 Registry adapter.

Jump to

Keyboard shortcuts

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