etcd

package
v0.0.0-...-9b90ccc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdClient

type EtcdClient struct {
	// contains filtered or unexported fields
}

func CreateEtcdClient

func CreateEtcdClient(uris []string) EtcdClient

func (EtcdClient) CreateKey

func (etcd EtcdClient) CreateKey(key string, value string) error

func (EtcdClient) GetKey

func (etcd EtcdClient) GetKey(key string) (string, error)

func (EtcdClient) KeyExist

func (etcd EtcdClient) KeyExist(key string) bool

func (EtcdClient) ListKeys

func (etcd EtcdClient) ListKeys(key string) (client.Nodes, error)

func (EtcdClient) SetKey

func (etcd EtcdClient) SetKey(key string, value string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL