Documentation ¶ Index ¶ type Client func New(machines []string) (*Client, error) func (c *Client) Get(key string) ([]byte, error) func (c *Client) List(key string) (backend.KVPairs, error) func (c *Client) Set(key string, value []byte) error func (c *Client) Watch(key string, stop chan bool) <-chan *backend.Response 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 } func New ¶ func New(machines []string) (*Client, error) func (*Client) Get ¶ func (c *Client) Get(key string) ([]byte, error) func (*Client) List ¶ added in v0.15.1 func (c *Client) List(key string) (backend.KVPairs, error) func (*Client) Set ¶ func (c *Client) Set(key string, value []byte) error func (*Client) Watch ¶ func (c *Client) Watch(key string, stop chan bool) <-chan *backend.Response Source Files ¶ View all Source files consul.go Click to show internal directories. Click to hide internal directories.