core

package
v0.1.2-0...-6576f98 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
)

Functions

func Start

func Start()

Start initialize server and run it

Types

type Extension

type Extension interface {
	// Run starts the extension, providing a data channel to push message
	// and an event channel to forward SIG
	Start(receive <-chan comm.Message, send chan<- comm.Message) error
	Stop() error
}

Extension describe extension basic behaviour

type Provider

type Provider interface {
	Extension
	RefreshService(msg comm.Message)
}

Provider adds the RefreshService on top of the extension interface allowing the core to request a "refresh" of a given service definition/state

Jump to

Keyboard shortcuts

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