More data on subscriptions

This commit is contained in:
2022-10-17 05:00:35 +02:00
parent 3699479c5e
commit 4a26fc791c
7 changed files with 199 additions and 50 deletions

View File

@@ -10,7 +10,7 @@ type Storage interface {
CreateEvent(Event) error
GetEvent(string) (*Event, error)
GetEvents(namespaces []string) ([]Event, error)
AddSubscriber(eventid string, subscriber string) error
AddSubscription(eventid string, subscription Subscription) error
}
type StorageImpl struct {
}