mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-24 12:29:00 +00:00
refactor(eventstore): rename EventPusher to Command, EventReader to Event, PushEvents to Push and FilterEvents to Filter (#2907)
This commit is contained in:
@@ -10,13 +10,13 @@ type HandlerConfig struct {
|
||||
type Handler struct {
|
||||
Eventstore *eventstore.Eventstore
|
||||
Sub *eventstore.Subscription
|
||||
EventQueue chan eventstore.EventReader
|
||||
EventQueue chan eventstore.Event
|
||||
}
|
||||
|
||||
func NewHandler(config HandlerConfig) Handler {
|
||||
return Handler{
|
||||
Eventstore: config.Eventstore,
|
||||
EventQueue: make(chan eventstore.EventReader, 100),
|
||||
EventQueue: make(chan eventstore.Event, 100),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user