processors

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Processors = map[string]StreamingCreator{}

all processors are streaming processors. cua.Processor processors are upgraded to cua.StreamingProcessor

Functions

func Add

func Add(name string, creator Creator)

Add adds a cua.Processor processor

func AddStreaming

func AddStreaming(name string, creator StreamingCreator)

AddStreaming adds a cua.StreamingProcessor streaming processor

func NewStreamingProcessorFromProcessor

func NewStreamingProcessorFromProcessor(p cua.Processor) cua.StreamingProcessor

NewStreamingProcessorFromProcessor is a converter that turns a standard processor into a streaming processor

Types

type Creator

type Creator func() cua.Processor

type StreamingCreator

type StreamingCreator func() cua.StreamingProcessor

Jump to

Keyboard shortcuts

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