Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides a wrapper around the zookeeper client
func New ¶
New returns an *zookeeper.Client with a connection to named machines. It returns an error if a connection to the cluster cannot be made.
func (*Client) WatchPrefix ¶
func (c *Client) WatchPrefix(ctx context.Context, prefix string, opts ...easyKV.WatchOption) (uint64, error)
WatchPrefix watches a specific prefix for changes.
Click to show internal directories.
Click to hide internal directories.