mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-25 20:38:48 +00:00
18 lines
384 B
Go
18 lines
384 B
Go
|
|
package handler
|
||
|
|
|
||
|
|
import "github.com/caos/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
|
||
|
|
}
|