package etcd

import "github.com/xordataexchange/crypt/backend/etcd"

Index

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) 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

etcd.go

Version
v0.0.2 (latest)
Published
Oct 27, 2014
Platform
linux/amd64
Imports
3 packages
Last checked
2 weeks ago

Tools for package owners.