file

package
v0.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v0.3.0

func Init()

Init is exported

Types

type Discovery added in v0.3.0

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

Discovery is exported

func (*Discovery) Initialize added in v0.3.0

func (s *Discovery) Initialize(path string, heartbeat time.Duration, ttl time.Duration) error

Initialize is exported

func (*Discovery) Register added in v0.3.0

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

Register is exported

func (*Discovery) Watch added in v0.3.0

func (s *Discovery) Watch(stopCh <-chan struct{}) (<-chan discovery.Entries, <-chan error)

Watch is exported

Jump to

Keyboard shortcuts

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