core

package
v0.0.0-...-78a1898 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(components map[string]ComponentInterface)

Types

type ComponentInterface

type ComponentInterface interface {
	// It must return two functions, a stop() function to terminate component run at any time, and a
	// wait() function to block until component run fails.
	// If component can not be launched error must be returned
	Run() (stop func(), wait func() error, err error)
}

Jump to

Keyboard shortcuts

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