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 ¶
RegistryConfig stores the configurable attributes of the Amalgam8 Registry adapter.
Click to show internal directories.
Click to hide internal directories.