file

package
v0.1.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDiscoveryService

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

func (*FileDiscoveryService) Fetch

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

func (*FileDiscoveryService) Initialize

func (s *FileDiscoveryService) Initialize(path string, heartbeat int) error

func (*FileDiscoveryService) Register

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

func (*FileDiscoveryService) Watch

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

Jump to

Keyboard shortcuts

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