mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-23 13:07:54 +00:00
init
This commit is contained in:
21
backend/storage/eventstore/event_store.go
Normal file
21
backend/storage/eventstore/event_store.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package eventstore
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/zitadel/zitadel/backend/storage/database"
|
||||
)
|
||||
|
||||
type Eventstore struct {
|
||||
executor database.Executor
|
||||
}
|
||||
|
||||
func New(executor database.Executor) *Eventstore {
|
||||
return &Eventstore{executor: executor}
|
||||
}
|
||||
|
||||
type Event interface{}
|
||||
|
||||
func (e *Eventstore) Push(ctx context.Context, events ...Event) error {
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user