mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
18 lines
387 B
Go
18 lines
387 B
Go
package handler
|
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
|
|
|
//EventReducer represents the required data
|
|
//to work with events
|
|
type EventReducer struct {
|
|
Event eventstore.EventType
|
|
Reduce Reduce
|
|
}
|
|
|
|
//EventReducer represents the required data
|
|
//to work with aggregates
|
|
type AggregateReducer struct {
|
|
Aggregate eventstore.AggregateType
|
|
EventRedusers []EventReducer
|
|
}
|