store

package
v0.0.0-...-19b261f Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 5 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) Get

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

func (*Etcd) HasKey

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

func (*Etcd) Init

func (c *Etcd) Init(config *config.Config) error

func (*Etcd) List

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

func (*Etcd) ListWithValues

func (c *Etcd) ListWithValues(key string, recursive bool) (*map[string]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