Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HeaderDelivery is the GUID of the webhook event. HeaderDelivery = "X-GitHub-Delivery" // HeaderEvent is the event name of the webhook. HeaderEvent = "X-GitHub-Event" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
Transport *ghinstallation.AppsTransport
// Store multiple secrets to allow for rolling updates.
// Only one needs to match for the event to be considered valid.
WebhookSecret [][]byte
Organizations []string
}
Click to show internal directories.
Click to hide internal directories.