zitadel/internal/eventstore/handler/reduce.go
Florian Forster fa9f581d56
chore(v2): move to new org (#3499)
* chore: move to new org

* logging

* fix: org rename caos -> zitadel

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2022-04-26 23:01:45 +00:00

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
}