Registry / networking / go-zookeeper-zk

go-zookeeper-zk

JSON →
library1.0.4gogounverified

Package zk is a native Go client library for the ZooKeeper orchestration service.

go get github.com/go-zookeeper/zk
INSTALL
IMPORT
SIG · GO-ZOOKEEPER-ZK
G
go-zookeeper-zk
networkinggov1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zk
github.com/go-zookeeper/zk

Connects to ZooKeeper and lists root children.

package main import ( "fmt" "github.com/go-zookeeper/zk" ) func main() { conn, _, err := zk.Connect([]string{"localhost:2181"}, 1e9) if err != nil { panic(err) } defer conn.Close() children, _, _ := conn.Children("/") fmt.Println(children) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-zookeeper-zk — go get go-zookeeper-zk · libregistry