Documentation ¶
Overview ¶
Package processor provides a framework for creating processors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProcessor ¶
type Processor ¶
type Processor[In any, Out any] struct { // Name of the processor. Name string `json:"name"` // Description of the processor. Description string `json:"description"` // Transform function. Func shared.Run[In, Out] `json:"-"` // State of the processor. State status.Status `json:"state"` }
Processor definition.
func (*Processor[In, Out]) GetDescription ¶
GetDescription returns the `Description` of the processor.
Click to show internal directories.
Click to hide internal directories.