Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestErr error
TestErr is setable in test scenarios (set CONSUL_IP=testMode) and is what will return on a GetServiceEndpoint call
View Source
var TestURL string
TestURL is setable in test scenarios (set CONSUL_IP=testMode) and is what will return on a GetServiceEndpoint call
Functions ¶
func GetServiceEndpoint ¶
GetServiceEndpoint returns a healthy, round robbined service endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.