zitadel/internal/eventstore/query/handler.go
Fabi 3cd3a238c2
fix: all enums same style (#262)
* fix: all enums same style

* fix: rename process to reduce

* add some missing enum renaming

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-06-23 14:47:47 +02:00

13 lines
247 B
Go
Executable File

package query
import (
"github.com/caos/zitadel/internal/eventstore/models"
)
type Handler interface {
ViewModel() string
EventQuery() (*models.SearchQuery, error)
Reduce(*models.Event) error
OnError(event *models.Event, err error) error
}