Table of Contents

Class ConsulServerUtils

Namespace
Steeltoe.Discovery.Consul.Util
Assembly
Steeltoe.Discovery.Consul.dll
public static class ConsulServerUtils
Inheritance
ConsulServerUtils
Inherited Members

Methods

FindHost(ServiceEntry)

public static string FindHost(ServiceEntry healthService)

Parameters

healthService ServiceEntry

Returns

string

FixIPv6Address(string)

public static string FixIPv6Address(string address)

Parameters

address string

Returns

string

GetMetadata(ServiceEntry)

public static IDictionary<string, string> GetMetadata(ServiceEntry healthService)

Parameters

healthService ServiceEntry

Returns

IDictionary<string, string>

GetMetadata(IList<string>)

public static IDictionary<string, string> GetMetadata(IList<string> tags)

Parameters

tags IList<string>

Returns

IDictionary<string, string>