webhook

package
v0.0.80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package webhook implements github webhook handlers for the github provider

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGitHubAppWebhook

func HandleGitHubAppWebhook(
	store db.Store,
	ghService service.GitHubProviderService,
	mt metrics.Metrics,
	publisher interfaces.Publisher,
) http.HandlerFunc

HandleGitHubAppWebhook handles incoming GitHub App webhooks

func HandleWebhookEvent

func HandleWebhookEvent(
	mt metrics.Metrics,
	publisher interfaces.Publisher,
	whconfig *server.WebhookConfig,
) http.HandlerFunc

HandleWebhookEvent is the main entry point for processing github webhook events

func NoopWebhookHandler

func NoopWebhookHandler(
	mt metrics.Metrics,
) http.HandlerFunc

NoopWebhookHandler is a no-op handler for webhooks

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL