etcd

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

func New

func New(cfg *config.Config) (cw *Watcher)

func (*Watcher) Init

func (cw *Watcher) Init()

Init etcd watches do not fire an initial event. This method triggers a write to the file systems of the entire keyspace.

func (*Watcher) Register

func (cw *Watcher) Register(cb func(kvb stores.KVBytes))

func (*Watcher) Updated

func (cw *Watcher) Updated(kvs interface{})

func (*Watcher) Watch

func (cw *Watcher) Watch()

Jump to

Keyboard shortcuts

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