Documentation
¶
Overview ¶
Package github implements an HTTP webhook to handle GitHub events (https://docs.github.com/en/webhooks).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSignatureHeader ¶ added in v0.3.0
func CheckSignatureHeader(l *slog.Logger, r listeners.RequestData) int
CheckSignatureHeader is defined by and for GitHub, but also reused by Bitbucket.
func WebhookHandler ¶
func WebhookHandler(ctx context.Context, _ http.ResponseWriter, r listeners.RequestData) int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.