Class ConsulServerUtils
- Namespace
- Steeltoe.Consul.Util
- Assembly
- Steeltoe.Discovery.ConsulBase.dll
public static class ConsulServerUtils
- Inheritance
-
ConsulServerUtils
- Inherited Members
Methods
FindHost(ServiceEntry)
public static string FindHost(ServiceEntry healthService)
Parameters
healthServiceServiceEntry
Returns
FixIPv6Address(string)
public static string FixIPv6Address(string address)
Parameters
addressstring
Returns
GetMetadata(ServiceEntry)
public static IDictionary<string, string> GetMetadata(ServiceEntry healthService)
Parameters
healthServiceServiceEntry
Returns
GetMetadata(IList<string>)
public static IDictionary<string, string> GetMetadata(IList<string> tags)