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

Method Webhook

internal/graphql/webhook.go:15–19  ·  view source on GitHub ↗

Webhook delegates to the transport-agnostic service layer. Resolver is a thin transport adapter. Permission: authorizer:admin

(ctx context.Context, params *model.WebhookRequest)

Source from the content-addressed store, hash-verified

13//
14// Permission: authorizer:admin
15func (g *graphqlProvider) Webhook(ctx context.Context, params *model.WebhookRequest) (*model.Webhook, error) {
16 gc, _ := utils.GinContextFromContext(ctx)
17 res, _, err := g.adminService().Webhook(ctx, service.MetaFromGin(gc), params)
18 return res, err
19}

Callers

nothing calls this directly

Calls 4

adminServiceMethod · 0.95
GinContextFromContextFunction · 0.92
MetaFromGinFunction · 0.92
WebhookMethod · 0.65

Tested by

no test coverage detected