zitadel/internal/eventstore/query/handler.go
Fabi b9aae0b2e3
feat(eventstore): add spooler (#78)
* add spooler to eventstore

* Update internal/eventstore/spooler/spooler.go

Co-Authored-By: Silvan <silvan.reusser@gmail.com>

* Update internal/eventstore/spooler/spooler_test.go

Co-Authored-By: Silvan <silvan.reusser@gmail.com>

* remove comments

* fix race condition in test

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-04-29 12:11:13 +02:00

12 lines
201 B
Go
Executable File

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