Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Get(key string) ([]byte, error)
- func (c *Client) GetWithContext(ctx context.Context, key string) ([]byte, error)
- func (c *Client) List(key string) (backend.KVPairs, error)
- func (c *Client) ListWithContext(ctx context.Context, key string) (backend.KVPairs, error)
- func (c *Client) Set(key string, value []byte) error
- func (c *Client) SetWithContext(ctx context.Context, key string, value []byte) error
- func (c *Client) Watch(key string, stop chan bool) <-chan *backend.Response
- func (c *Client) WatchWithContext(ctx context.Context, key string, stop chan bool) <-chan *backend.Response
- type ClientV3
Constants ¶
This section is empty.
Variables ¶
View Source
var CliTimeoutKey = "ETCDV3_CLI_TIMEOUT_SECOND"
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetWithContext ¶
func (*Client) ListWithContext ¶
func (*Client) SetWithContext ¶
Click to show internal directories.
Click to hide internal directories.