registry

package
v0.0.0-...-a75c791 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: AGPL-3.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 Registry

type Registry interface {
	Name() string
	Init() error
	WatchServiceUpdates() chan ServiceUpdate
	Shutdown() error
}

type Service

type Service struct {
}

type ServiceUpdate

type ServiceUpdate struct {
	Type    ServiceUpdateType
	Service *Service
	Target  *Target
}

type ServiceUpdateType

type ServiceUpdateType int
const (
	ServiceUpdateTypeUnkown ServiceUpdateType = 0
	ServiceUpdateTypeAdd    ServiceUpdateType = 1
	ServiceUpdateTypeRemove ServiceUpdateType = 2
)

type Target

type Target struct {
	Address string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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