Documentation ¶
Index ¶
- type ZkClient
- func (cli *ZkClient) Children(path string) ([]string, error)
- func (cli *ZkClient) Close()
- func (cli *ZkClient) Create(path string, flags int32, data []byte) error
- func (cli *ZkClient) Delete(path string) error
- func (cli *ZkClient) Exists(path string) (bool, error)
- func (cli *ZkClient) Get(path string) ([]byte, error)
- func (cli *ZkClient) Lock(path string) (*zk.Lock, error)
- func (cli *ZkClient) Modify(path string, data []byte) error
- func (cli *ZkClient) Unlock(lock *zk.Lock) error
- type ZkConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZkClient ¶
type ZkClient struct {
// contains filtered or unexported fields
}
func InitZookeeper ¶
Click to show internal directories.
Click to hide internal directories.