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

软件包: 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

其他与 golang-github-ngaut-go-zookeeper-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 golang-github-ngaut-go-zookeeper-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 18.0 kB93 kB [文件列表]