Documentation
¶
Overview ¶
Package webhook provides HTTP handlers for processing GitHub webhook events, including signature validation and event extraction for broadcasting to subscribers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPRURL ¶
ExtractPRURL extracts the pull request URL from various event types.
func VerifySignature ¶
VerifySignature validates the GitHub webhook signature.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles GitHub webhook events.
func NewHandler ¶
NewHandler creates a new webhook handler.
Click to show internal directories.
Click to hide internal directories.