store

package
v0.0.0-...-85b3d98 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Etcd

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

func NewEtcd

func NewEtcd(etcdEndpoint string) (*Etcd, error)

func (*Etcd) Delete

func (c *Etcd) Delete(key string) error

func (*Etcd) DeleteDir

func (c *Etcd) DeleteDir(key string, recursive bool) error

func (*Etcd) Get

func (c *Etcd) Get(key string) (string, error)

func (*Etcd) HasKey

func (c *Etcd) HasKey(key string) bool

func (*Etcd) List

func (c *Etcd) List(key string, recursive bool) ([]string, error)

func (*Etcd) Mkdir

func (c *Etcd) Mkdir(key string) error

func (*Etcd) Set

func (c *Etcd) Set(key, value string) error

Jump to

Keyboard shortcuts

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