zitadel/internal/view/model/view.go
Silvan dd5e4acd24
fix(event handling): use internal pubsub for view update (#1118)
* start sub

* start implement subsciptions

* start subscription

* implementation for member done

* admin done

* fix: tests

* extend handlers

* prepary notification

* no errors in adminapi

* changed current sequence in all packages

* ignore mocks

* works

* subscriptions as singleton

* tests

* refactor: rename function scope var
2020-12-18 16:47:45 +01:00

15 lines
260 B
Go

package model
import (
"time"
)
type View struct {
Database string
ViewName string
CurrentSequence uint64
EventTimestamp time.Time
LastSuccessfulSpoolerRun time.Time
AggregateType string
}