Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteKey(key string) error
- func (c *Client) GetKey(key string) (string, error)
- func (c *Client) GetKeys(dir string) (client.Nodes, error)
- func (c *Client) IsKeyExist(key string) bool
- func (c *Client) SetKey(key, value string) error
- func (c *Client) SetKeyIfNotExist(key, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper for the etcd client, and provides our helper methods
func (*Client) SetKeyIfNotExist ¶
SetKeyIfNotExist ...
Click to show internal directories.
Click to hide internal directories.