Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Add(path string, value []byte, flags int32) (string, error)
- func (c *Client) Client() *zk.Conn
- func (c *Client) Delete(path string) error
- func (c *Client) GetValues(keys []string) (map[string]string, error)
- func (c *Client) Lock(path string) *zk.Lock
- func (c *Client) Modify(path string, value []byte) error
- func (c *Client) WatchPrefix(keys []string, waitIndex uint64, stopChan chan bool) (uint64, error)
Constants ¶
View Source
const DefaultSessionTimeout = time.Second * 10
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 NewZookeeperClient ¶
Click to show internal directories.
Click to hide internal directories.