package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

ChildrenRecursive returns the relative path of all the children of the provided node.
Connect to the Zookeeper servers specified in addr addr can be a comma separated list of servers and each server can be a DNS entry with multiple values.
CreateRecursive is a helper function on top of Create.
DeleteRecursive will delete all children of the given path.
NewServer returns a topo.Conn connecting to real Zookeeper processes.
ResolveWildcards resolves paths like: /zk/nyc/vt/tablets/*/action /zk/global/vt/keyspaces/*/shards/*/action /zk/*/vt/tablets/*/action into real existing paths If you send paths that don't contain any wildcard and don't exist, this function will return an empty array.
Time returns a time.Time from a ZK int64 milliseconds since Epoch time.
ZkTime returns a ZK time (int64) from a time.Time.

# Constants

PermDirectory are default permissions for a node.
PermFile allows a zk node to emulate file behavior by disallowing child nodes.

# Structs

Factory is the zookeeper topo.Factory implementation.
Server is the zookeeper topo.Conn implementation.
ZkConn is a wrapper class on top of a zk.Conn.

# Type aliases

ZKVersion is zookeeper's idea of a version.