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 tracing.
func NewEventStore ¶
func NewEventStore(eventStore eh.EventStore) *EventStore
NewEventStore creates a new EventStore.
func (*EventStore) GetTrace ¶
func (s *EventStore) GetTrace() []eh.Event
GetTrace returns the events that happened during the tracing.
func (*EventStore) StartTracing ¶
func (s *EventStore) StartTracing()
StartTracing starts the tracing of events.
func (*EventStore) StopTracing ¶
func (s *EventStore) StopTracing()
StopTracing stops the tracing of events.
Click to show internal directories.
Click to hide internal directories.