types

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigUpdater

type ConfigUpdater interface {
	ApplyConfig(string)
	Start() error
	Run() error
}

type MetadataPoller

type MetadataPoller interface {
	GetHealthCheckServices() (services []Service, err error)
	OnChange(do func(string))
	Init(string) error
}

type Server

type Server struct {
	UUID    string
	Address string
}

type Service

type Service struct {
	UUID        string
	HealthCheck metadata.HealthCheck
	Servers     []Server
}

Jump to

Keyboard shortcuts

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