Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
func (*Webhook) Latest ¶
Latest returns the most recent commit within a branch by comparing the already cached version, if any, with the compared version cmp. If the cache is empty for the underlying branch key, then cmp is returned.
func (*Webhook) Update ¶
Update implements PushEventHandleFunc. We bind this method to the webhook endpoint that Github is POSTing push events to.
https://docs.github.com/en/webhooks/webhook-events-and-payloads#push https://pkg.go.dev/github.com/cbrgm/githubevents/v2@v2.5.0/githubevents#PushEventHandleFunc
Click to show internal directories.
Click to hide internal directories.