Commit 4cf170ea by 孙龙

up

parent 51b46590
Showing with 2 additions and 1 deletions
......@@ -21,3 +21,4 @@
addrs = [
"192.168.2.232:2379"
]
password = ""
......@@ -26,7 +26,7 @@ func registryEtcd(){
//registry.WithAddrs([]string{"192.168.2.232:2379"}),
registry.WithAddrs(lib.GetStringSliceConf("base.etcd.addrs")),
registry.WithTimeout(5*time.Second),
registry.WithPasswrod(""),
registry.WithPasswrod("base.etcd.password"),
registry.WithRegistryPath("/ichuntMicroService/"),
registry.WithHeartBeat(5),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment