Files
catalyst/reaction/trigger.go
2024-11-04 22:30:20 +01:00

16 lines
375 B
Go

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)
}