Skip to content
Sections
>> Trisquel >> Packages >> etiona >> devel >> golang-github-ngaut-go-zookeeper-dev
etiona  ] [  nabia  ] [  aramo  ]

Package: golang-github-ngaut-go-zookeeper-dev (0.0~git20150813.0.9c3719e-5)

Native ZooKeeper client for Go

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

Other Packages Related to golang-github-ngaut-go-zookeeper-dev

  • depends
  • recommends
  • suggests

Download golang-github-ngaut-go-zookeeper-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 18.0 kB93 kB [list of files]