Golang Zookeeper 客户端操作 golang zookeeper 常用客户端 go-zookeeper 文档说明 https://godoc.org/github.com/go-zookeeper/zk gozk 文档说明 https://wiki.ubuntu.com/gozk 连接zookeeper 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 package main import ( "fmt" "time" "github.com/go-zookeeper/zk" ) func main() {