mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
681541f41b
adds possibilities to cap authenticated requests and execution seconds of actions on a defined intervall
12 lines
379 B
Go
12 lines
379 B
Go
package quota
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/eventstore"
|
|
)
|
|
|
|
func RegisterEventMappers(es *eventstore.Eventstore) {
|
|
es.RegisterFilterEventMapper(AggregateType, AddedEventType, AddedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, NotifiedEventType, NotifiedEventMapper).
|
|
RegisterFilterEventMapper(AggregateType, RemovedEventType, RemovedEventMapper)
|
|
}
|