Skip to content

tuoeg/zk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native Go Zookeeper Client Library

GoDoc Build Status Coverage Status

why fork repo

  1. When using the original repo to connect zookeeper server,goroutine leakage will occur
  2. when connect timeout, loop can't quit

how to use context

ctx, cancelfunc := context.WithTimeout(context.Background(), 1*time.Second)
defer cancelfunc()
c, _, err := zk.Connect(ctx, []string{"host:port"}, 0)

License

3-clause BSD. See LICENSE file.

About

Native ZooKeeper client for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Makefile 0.7%