Documentation ¶
Index ¶
- func GetChildConf(key string) (map[string]string, error)
- func GetChildKey(key string) ([]string, error)
- func GetConf(key string) (string, error)
- func GetUnmarshalConf(key string, target any) error
- func RegisterAfterConnected(handler func())
- type Client
- func (z *Client) ChildrenW(path string) ([]string, *zk.Stat, <-chan zk.Event, error)
- func (z *Client) Close()
- func (z *Client) Create(path string, data []byte, flag int32, acl []zk.ACL) (string, error)
- func (z *Client) Delete(path string, version int32) error
- func (z *Client) Exists(path string) (bool, *zk.Stat, error)
- func (z *Client) Get(path string) ([]byte, *zk.Stat, error)
- func (z *Client) GetW(path string) ([]byte, *zk.Stat, <-chan zk.Event, error)
- func (z *Client) State() zk.State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChildKey ¶
func GetUnmarshalConf ¶
func RegisterAfterConnected ¶
func RegisterAfterConnected(handler func())
Types ¶
Click to show internal directories.
Click to hide internal directories.