package
0.13.0
Repository: https://github.com/go-kit/kit.git
Documentation: pkg.go.dev

# Functions

ACL returns an Option specifying a non-default ACL for creating parent nodes.
ConnectTimeout returns an Option specifying a non-default connection timeout when we try to establish a connection to a ZooKeeper server.
Credentials returns an Option specifying a user/password combination which the client will use to authenticate itself with.
EventHandler returns an Option specifying a callback function to handle incoming zk.Event payloads (ZooKeeper connection events).
NewClient returns a ZooKeeper client with a connection to the server cluster.
NewInstancer returns a ZooKeeper Instancer.
NewRegistrar returns a ZooKeeper Registrar acting on the provided catalog registration.
Payload returns an Option specifying non-default data values for each znode created by CreateParentNodes.
SessionTimeout returns an Option specifying a non-default session timeout.

# Constants

DefaultConnectTimeout is the default timeout to establish a connection to a ZooKeeper node.
DefaultSessionTimeout is the default timeout to keep the current ZooKeeper session alive during a temporary disconnect.

# Variables

DefaultACL is the default ACL to use for creating znodes.
DefaultACL is the default ACL to use for creating znodes.
DefaultACL is the default ACL to use for creating znodes.
DefaultACL is the default ACL to use for creating znodes.
DefaultACL is the default ACL to use for creating znodes.

# Structs

Instancer yield instances stored in a certain ZooKeeper path.
Registrar registers service instance liveness information to ZooKeeper.
Service holds the root path, service name and instance identifying data you want to publish to ZooKeeper.

# Interfaces

Client is a wrapper around a lower level ZooKeeper client implementation.

# Type aliases

Option functions enable friendly APIs.