Documentation ¶
Index ¶
- Variables
- func NewBroker(conf config.Broker) (broker.Broker, error)
- func NewEventProcessor(conf config.Processor) (processor.EventProcessor, error)
- func NewEventProcessorSet(conf []config.Processor) ([]processor.EventProcessor, error)
- func RegisterEventProcessor(name string, proc processor.Constructor)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Brokers = map[string]func(...broker.Option) broker.Broker{ "nsq": nsq.NewDefault, } )
View Source
var ErrInvalidBroker = errors.New("invalid broker")
Functions ¶
func NewEventProcessor ¶
func NewEventProcessor(conf config.Processor) (processor.EventProcessor, error)
func NewEventProcessorSet ¶
func NewEventProcessorSet(conf []config.Processor) ([]processor.EventProcessor, error)
func RegisterEventProcessor ¶
func RegisterEventProcessor(name string, proc processor.Constructor)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.