mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
refactor(eventstore): rename EventPusher to Command, EventReader to Event, PushEvents to Push and FilterEvents to Filter (#2907)
This commit is contained in:
@@ -27,17 +27,17 @@ type BaseEvent struct {
|
||||
Data []byte `json:"-"`
|
||||
}
|
||||
|
||||
// EditorService implements EventPusher
|
||||
// EditorService implements Command
|
||||
func (e *BaseEvent) EditorService() string {
|
||||
return e.Service
|
||||
}
|
||||
|
||||
//EditorUser implements EventPusher
|
||||
//EditorUser implements Command
|
||||
func (e *BaseEvent) EditorUser() string {
|
||||
return e.User
|
||||
}
|
||||
|
||||
//Type implements EventPusher
|
||||
//Type implements Command
|
||||
func (e *BaseEvent) Type() EventType {
|
||||
return e.EventType
|
||||
}
|
||||
|
Reference in New Issue
Block a user