Documentation ¶
Index ¶
- Variables
- type Client
- func (w *Client) CleanAllWatch()
- func (client *Client) Close() error
- func (reg *Client) Del(key string) error
- func (w *Client) Get(prefix string, get func(key, value string)) error
- func (reg *Client) Put(key, val string) error
- func (reg *Client) PutWithLease(key, val string) error
- func (reg *Client) SetLease() error
- func (w *Client) UnWatch(prefix string)
- func (w *Client) Watch(prefix string, put func(string, string), del func(string)) error
- type Conf
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWatchExist = errors.New("watch exist")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CleanAllWatch ¶
func (w *Client) CleanAllWatch()
func (*Client) PutWithLease ¶
Click to show internal directories.
Click to hide internal directories.