add logic to delete and srore sub

This commit is contained in:
soukainna
2023-02-01 16:04:10 +01:00
parent ffa341b13d
commit 1ce72b2f88
10 changed files with 1751 additions and 103 deletions

View File

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