Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulServiceDiscoveryService ¶
type ConsulServiceDiscoveryService struct { ConsulAddress string ConsulScheme string ConfigurationReader config.ConfigurationReader }
ConsulServiceDiscoveryService uses Consul to resolve available services in the network.
func (ConsulServiceDiscoveryService) ResolveService ¶
func (consulServiceDiscoveryService ConsulServiceDiscoveryService) ResolveService(serviceName string) ([]contract.DiscoveredServiceInfo, error)
ResolveService resolves the provided service name by returning the list of services providing the same functionality. serviceName: Mandatory. The name of the service to resolve Returns either the collection of available service information or error if something goes wrong.
Click to show internal directories.
Click to hide internal directories.