Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DirectScheme stands for direct scheme. DirectScheme = "direct" // DiscovScheme stands for discov scheme. DiscovScheme = "discov" // EtcdScheme stands for etcd scheme. EtcdScheme = "etcd" // EndpointSepChar is the separator cha in endpoints. EndpointSepChar = ',' )
Variables ¶
View Source
var ( // EndpointSep is the separator string in endpoints. EndpointSep = fmt.Sprintf("%c", EndpointSepChar) )
Functions ¶
func RegisterResolver ¶
func RegisterResolver()
RegisterResolver registers the direct and discov schemes to the resolver.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.