Documentation
¶
Index ¶
Constants ¶
View Source
const ( DirectScheme = "direct" EtcdScheme = "etcd" ConsulScheme = "consul" )
Variables ¶
This section is empty.
Functions ¶
func RegisterResolver ¶
func RegisterResolver()
Types ¶
type ResolverTarget ¶
type ResolverTarget struct {
EtcdConf etcdv3.EtcdConf
DirectConf []string
ConsulConf consul.ConsulConf
}
func (*ResolverTarget) Build ¶
func (r *ResolverTarget) Build(scheme string) (target string)
Click to show internal directories.
Click to hide internal directories.