Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStore ¶
type EventStore struct { eh.EventStore // contains filtered or unexported fields }
EventStore wraps an EventStore and adds debug event recording.
func NewEventStore ¶
func NewEventStore(eventStore eh.EventStore) *EventStore
NewEventStore creates a new EventStore.
func (*EventStore) GetRecord ¶
func (s *EventStore) GetRecord() []eh.Event
GetRecord returns the events that happened during the recording.
func (*EventStore) StartRecording ¶
func (s *EventStore) StartRecording()
StartRecording starts recording of handled events.
func (*EventStore) StopRecording ¶
func (s *EventStore) StopRecording()
StopRecording stops recording of handled events.
Click to show internal directories.
Click to hide internal directories.