Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct { Events []*models.SearchDataImportModel Error error EventUpdated chan bool }
EventHandler provides a mock implementation that captures events to check.
func NewEventHandler ¶
func NewEventHandler() *EventHandler
NewEventHandler returns a new mock event handler to capture event
func (*EventHandler) Handle ¶
func (handler *EventHandler) Handle(ctx context.Context, url string, events []*models.SearchDataImportModel) error
Handle captures the given event and stores it for later assertions
Click to show internal directories.
Click to hide internal directories.