discovery

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery interface {
	Register() error
	Deregister() error
	GetInstances() ([]Instance, error)
	Watch(chan<- struct{})
}

Discovery represents discovery interface

type Instance

type Instance struct {
	ID      string
	Meta    map[string]string
	Address string
	Status  string
}

Instance represents discovered node information

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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