discovery

package
v0.0.0-...-4a97e6e Latest Latest
Warning

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

Go to latest
Published: May 16, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultDiscovery = newDiscovery()
	ErrNotFound      = errors.New("not found")
	HeartbeatTopic   = "micro.discovery.heartbeat"
	WatchTopic       = "micro.discovery.watch"

	TickInterval = time.Duration(time.Minute)
	History      = int64(3600)
)

Functions

func Init

func Init(s micro.Service)

func Run

func Run()

Types

This section is empty.

Jump to

Keyboard shortcuts

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