Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2013 Changes in this version + const HTTP + const HTTPS + func CloseDebug() + func OpenDebug() + type Client struct + func NewClient() *Client + func (c *Client) Delete(key string) (*store.Response, error) + func (c *Client) Get(key string) ([]*store.Response, error) + func (c *Client) GetFrom(key string, addr string) ([]*store.Response, error) + func (c *Client) Set(key string, value string, ttl uint64) (*store.Response, error) + func (c *Client) SetCertAndKey(cert string, key string) (bool, error) + func (c *Client) SetCluster(machines []string) bool + func (c *Client) SetScheme(scheme int) (bool, error) + func (c *Client) SetTo(key string, value string, ttl uint64, addr string) (*store.Response, error) + func (c *Client) SyncCluster() bool + func (c *Client) TestAndSet(key string, prevValue string, value string, ttl uint64) (*store.Response, bool, error) + func (c *Client) Watch(prefix string, sinceIndex uint64, receiver chan *store.Response, ...) (*store.Response, error) + type Cluster struct + Leader string + Machines []string + type Config struct + CertFile string + KeyFile string + Scheme string + Timeout time.Duration + type EtcdError struct + Cause string + ErrorCode int + Message string + func (e EtcdError) Error() string