app

package
v0.0.1-0...-a0864a0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is an self contained instance of Prism app.

func NewApp

func NewApp(config config.Config) (*App, error)

NewApp Construct a new instance of Prism App using parsed config, instance still need to be initialized and started.

func (*App) Start

func (a *App) Start(config config.Config) error

Start Starts the app according to starting strategy 1-load plugins 2-init plugins 3-init pipelines 4-start pipelines 5-start plugins

func (*App) Stop

func (a *App) Stop() error

Stop Stop all components gracefully, will stop in the following sequence

1- Input Components.
2- Pipelines.
3- Processor Components.
4- Output Components.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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