add files

This commit is contained in:
Adrian Zürcher
2025-04-25 18:56:27 +02:00
parent 2b5a5a7905
commit 85bd8de2a2
14 changed files with 667 additions and 0 deletions

13
subscribtion.go Normal file
View File

@@ -0,0 +1,13 @@
package models
type Subscriptions map[string]*Subscription
type Subscription struct {
OnCreate bool
OnDelete bool
OnChange bool
}
func InitSubscribtion() Subscriptions {
return make(Subscriptions)
}