discovery

package
v0.0.0-...-69458df Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEtcdStore

func NewEtcdStore(cafile, certfile, keyfile string, addrs []string) (store.Store, error)

Types

type DiscoveryBackend

type DiscoveryBackend interface {
	Register(entry types.Entry, ttl time.Duration) error
	Deregister(entry types.Entry) error
	Watch() (chan types.Entries, chan error, error)
	Unwatch() error
}

discovery backend

func NewBackend

func NewBackend(s store.Store, ef types.EntryFactory, p string, serv string, hb time.Duration) DiscoveryBackend

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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