Documentation ¶
Index ¶
Constants ¶
View Source
const ( Mapper = "mapper" Filter = "filter" )
Variables ¶
View Source
var (
ErrProcessorNotSupported = fmt.Errorf("processor not supported")
)
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor interface {
Process(data entities.PipelineEvent) (entities.PipelineEvent, error)
}
type Processors ¶
type Processors struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg config.Processors) (*Processors, error)
func (*Processors) Process ¶
func (p *Processors) Process(_ context.Context, message entities.PipelineEvent) (entities.PipelineEvent, error)
Click to show internal directories.
Click to hide internal directories.