# Packages
No description provided by the author
# Functions
NewServiceRegistryFromCloudMap starts a new ServiceRegistry wrapper on top of AWS Cloud Map.
NewServiceRegistryFromEtcd uses etcd to create a service registry.
NewServiceRegistryFromServiceDirectory starts a new ServiceRegistry wrapper on top of Google Service Directory.
NewServiceRegistryFromWrapper returns a ServiceRegistry wrapper with a generic service registry.
# Constants
Any is just a way to signal the intention on performing an operation on any namespace/service/endpoint, and is provided just to make your code more readable.
DefaultCacheCleanUpTime is the frequency that the cache will use to purge expired elements.
DefaultCacheExpirationTime is the maximum time an object can stay on cache before being considered stale and thus removed.
# Structs
EndpointOperation contains data and code that will be used to perform an operation on a given endpoint or on any endpoint - e.g.
EndpointsIterator is in charge of retrieving the list of endpoints, running filters and automatically getting the next page of results.
NamespaceOperation contains data and code that will be used to perform an operation on a given namespace or on any namespace - e.g.
NamespacesIterator is in charge of retrieving the list of namespaces, running filters and automatically getting the next page of results.
ServiceOperation contains data and code that will be used to perform an operation on a given service or on any service - e.g.
ServiceRegistry is the "root" object and represents a generic service registry, abstracting the real one that you want to use and allowing you to perform operations using the same API and functions regardless of the actual service registry you chose.
ServicesIterator is in charge of retrieving the list of services, running filters and automatically getting the next page of results.