MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / GetWebhookByEventName

Method GetWebhookByEventName

internal/storage/provider.go:78–78  ·  view source on GitHub ↗

GetWebhookByEventName to get webhook by event_name

(ctx context.Context, eventName string)

Source from the content-addressed store, hash-verified

76 GetWebhookByID(ctx context.Context, webhookID string) (*schemas.Webhook, error)
77 // GetWebhookByEventName to get webhook by event_name
78 GetWebhookByEventName(ctx context.Context, eventName string) ([]*schemas.Webhook, error)
79 // DeleteWebhook to delete webhook
80 DeleteWebhook(ctx context.Context, webhook *schemas.Webhook) error
81

Callers 5

TestUpdateWebhookTestFunction · 0.65
TestAddWebhookTestFunction · 0.65
TestDeleteWebhookTestFunction · 0.65
testWebhookOperationsFunction · 0.65
RegisterEventMethod · 0.65

Calls

no outgoing calls

Tested by 4

TestUpdateWebhookTestFunction · 0.52
TestAddWebhookTestFunction · 0.52
TestDeleteWebhookTestFunction · 0.52
testWebhookOperationsFunction · 0.52