Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-ngaut-go-zookeeper-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-ngaut-go-zookeeper  ]

套件: golang-github-ngaut-go-zookeeper-dev (0.0~git20150813.0.9c3719e-6)

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.2 kB91 kB [文件列表]