Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface {
Handle(ctx context.Context, cfg *config.Config, contentPublished *models.ContentPublished) error
}
Handler represents a handler for processing a single event.
type Marshaller ¶ added in v0.2.0
Marshaller defines a type for marshalling the requested object into the required format.
type SearchDataImportProducer ¶ added in v0.2.0
type SearchDataImportProducer struct {
Marshaller Marshaller
Producer kafka.IProducer
}
SearchDataImportProducer produces kafka messages for instances which have been successfully processed.
func (SearchDataImportProducer) SearchDataImport ¶ added in v0.2.0
func (p SearchDataImportProducer) SearchDataImport(ctx context.Context, event models.SearchDataImport) error
SearchDataImport produce a kafka message for an instance which has been successfully processed.
Click to show internal directories.
Click to hide internal directories.