Documentation ¶
Index ¶
- func DoWatch(zkEvent zk.Event, watcher func(zk.Event))
- type ZK
- func (zookeeper *ZK) Create(path string, data []byte, version int32) error
- func (zookeeper *ZK) Delete(path string, version int32) error
- func (zookeeper *ZK) Exists(path string) (bool, error)
- func (zookeeper *ZK) Get(path string) (string, error)
- func (zookeeper *ZK) GetChildren(path string) ([]string, error)
- func (zookeeper *ZK) GetChildrenW(path string) ([]string, <-chan zk.Event, error)
- func (zookeeper *ZK) GetW(path string) (string, <-chan zk.Event, error)
- func (zookeeper *ZK) Set(path string, data []byte, version int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZK ¶
func (*ZK) GetChildrenW ¶
Click to show internal directories.
Click to hide internal directories.