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

Paket: 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

Andra paket besläktade med golang-github-ngaut-go-zookeeper-dev

  • beror
  • rekommenderar
  • föreslår

Hämta golang-github-ngaut-go-zookeeper-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 18,0 kbyte93 kbyte [filförteckning]