processor

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(procs []EventProcessor, evt *event.Event) ([]*event.Event, error)

Types

type Constructor

type Constructor func(conf config.Processor) (EventProcessor, error)

type EventProcessor

type EventProcessor interface {
	Process(*event.Event) ([]*event.Event, error)
}

type ProcessFunc

type ProcessFunc func(*event.Event) ([]*event.Event, error)

type ProcessorWrapper

type ProcessorWrapper func(ProcessFunc) ProcessFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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