consul

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulDiscoveryService

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

func (*ConsulDiscoveryService) Fetch

func (s *ConsulDiscoveryService) Fetch() ([]*discovery.Entry, error)

func (*ConsulDiscoveryService) Initialize

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

func (*ConsulDiscoveryService) Register

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

func (*ConsulDiscoveryService) Watch

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

Jump to

Keyboard shortcuts

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