registerer

package
v10.338.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registerer

type Registerer interface {

	// Register Processor registers event processors for a certain type of PU
	RegisterProcessor(puType common.PUType, p processor.Processor) error

	GetHandler(puType common.PUType, e common.Event) (common.EventHandler, error)
}

Registerer inteface allows event processors to register themselves with the event server.

func New

func New() Registerer

New returns a new registerer

Jump to

Keyboard shortcuts

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