mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 07:12:46 +01:00
16 lines
375 B
Go
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)
|
|
}
|