This package provides a native ZooKeeper (client) library for
communicating with ZooKeeper servers.
.
Example:
func main() {
c, _, err := zk.Connect([]string{"127.0.0.1"}, time.Second) //*10)
if err != nil {
panic(err)
}
children, stat, ch, err := c.ChildrenW("/")
if err != nil {
panic(err)
}
fmt.Printf("%+v %+v\n", children, stat)
e := <-ch
fmt.Printf("%+v\n", e)
}
.
See also: https://godoc.org/github.com/samuel/go-zookeeper/zk
Installed Size: 93.2 kB
Architectures: all