registry

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package registry defines interfaces that kateway will use to register its running instance health and meta data.

gk will use this meta data to check out online kateway instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Register(id string, data []byte)

	Deregister(id string, data []byte) error

	WatchInstances() ([]string, <-chan zk.Event, error)

	// Name of the registry backend.
	Name() string
}
var Default Backend

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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