etcd

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdDiscoveryService

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

func (*EtcdDiscoveryService) Fetch

func (s *EtcdDiscoveryService) Fetch() ([]*discovery.Node, error)

func (*EtcdDiscoveryService) Initialize

func (s *EtcdDiscoveryService) Initialize(uris string, heartbeat int) error

func (*EtcdDiscoveryService) Register

func (s *EtcdDiscoveryService) Register(addr string) error

func (*EtcdDiscoveryService) Watch

func (s *EtcdDiscoveryService) Watch(callback discovery.WatchCallback)

Jump to

Keyboard shortcuts

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