Documentation
¶
Overview ¶
Package webhook provides an HTTP server to receive and validate push event notifications from GitHub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements an HTTP handler that listens for inbound repository notifications, validates their signatures, and triggers the monitor.
func NewService ¶
NewService initializes a new Service with the required config.Config and a shared channel to signal updates to the orchestrator.
func (*Service) Start ¶
Start launches the HTTP server and blocks until it is shut down. It exposes the /webhook endpoint on the configured config.WebhookPort.
Click to show internal directories.
Click to hide internal directories.