Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProcessorTypeNotFound = errors.New("processor type not found")
Functions ¶
This section is empty.
Types ¶
type DefaultProcessorFactory ¶
type DefaultProcessorFactory struct {
// contains filtered or unexported fields
}
DefaultProcessorFactory is an implementation of ProcessorFactory.
func NewDefaultProcessorFactory ¶
func NewDefaultProcessorFactory() *DefaultProcessorFactory
NewDefaultProcessorFactory creates a new DefaultProcessorFactory.
func (*DefaultProcessorFactory) GetProcessor ¶
func (f *DefaultProcessorFactory) GetProcessor(typeName string) (definitions.Processor, error)
func (*DefaultProcessorFactory) RegisterProcessor ¶
func (f *DefaultProcessorFactory) RegisterProcessor(processor definitions.Processor)
RegisterProcessor registers a processor type with the factory.
Click to show internal directories.
Click to hide internal directories.