feat: scheduler (#1108)

This commit is contained in:
Jonas Plum
2024-11-04 22:30:20 +01:00
committed by GitHub
parent 42797509f7
commit a2bdeecb0d
8 changed files with 208 additions and 16 deletions

View File

@@ -3,11 +3,13 @@ package reaction
import (
"github.com/pocketbase/pocketbase"
"github.com/SecurityBrewery/catalyst/reaction/schedule"
"github.com/SecurityBrewery/catalyst/reaction/trigger/hook"
"github.com/SecurityBrewery/catalyst/reaction/trigger/webhook"
)
func BindHooks(pb *pocketbase.PocketBase, test bool) {
schedule.Start(pb)
hook.BindHooks(pb, test)
webhook.BindHooks(pb)
}