Versions in this module Expand all Collapse all v0 v0.2.0 Mar 21, 2018 v0.1.0 Mar 21, 2018 Changes in this version + var ErrModelNotSet = errors.New("model not set") + type Error struct + BaseErr error + Err error + Namespace string + func (e Error) Error() string + type EventHandler struct + func NewEventHandler(projector Projector, repo eh.ReadWriteRepo) *EventHandler + func (h *EventHandler) HandleEvent(ctx context.Context, event eh.Event) error + func (h *EventHandler) SetEntityFactory(f func() eh.Entity) + type Projector interface + Project func(context.Context, eh.Event, eh.Entity) (eh.Entity, error) + ProjectorType func() Type + type Type string