示例#1
0
func init() {
	discovery.RegisterBackend("consul", ConfigHook)
}
示例#2
0
func init() {
	discovery.RegisterBackend("etcd", ConfigHook)
}