repository
0.0.0-20231029160241-8dfeaa5bff6a
Repository: https://github.com/berkaroad/squat.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
squat
Domain-Driven Design framework, event sourcing supported, base on EDA and CQRS.
Feature List
-
- Event Sourcing
Save eventstream when aggregate changed. And also can been restored from eventstreams and snapshot.
-
- Save
eventstream
toeventstore
- Save
-
- Publish
eventstream
toeventpublisher
- Publish
-
- Support taking snapshot for
aggregate
tosnapshotstore
- Support taking snapshot for
-
- EDA
Publish events and handle them. In event handler, you can also publish another events.
-
- Support user-customized
proxy
for event handler
- Support user-customized
-
- Support notify when command-id related eventstream handled
-
- Support parallel handling events by different mailbox's name
-
- Record published eventstream to
publishedstore
when published to eventbus success
- Record published eventstream to
-
- CQRS
Send command to command bus and returns two results: one is when command handled, the other is when command-id related eventstream handled.
-
- Support user-customized
proxy
for command handler
- Support user-customized
-
- Support notify when command handled
-
- Support parallel handling commands by different mailbox's name
-
- Support process manager, for communication with multiple aggregate instances