mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +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
|
||
|
}
|