Versions in this module Expand all Collapse all v2 v2.4.10 Mar 3, 2020 v2.4.9 Jan 29, 2020 v2.4.8 Jan 27, 2020 v2.4.7 Jan 17, 2020 Changes in this version + func ValidateSignature(isPrivateRepo bool, r *http.Request) error + type Repository struct + ID int + Name string + OwnerName string + URL string + type Webhook struct + AuthorEmail string + AuthorName string + BaseCommit string + Branch string + BuildURL string + Commit string + CommitID int + CommittedAt time.Time + CommitterEmail string + CommitterName string + CompareURL string + Duration int + FinishedAt time.Time + HeadCommit string + ID int + Message string + Number string + PullRequest bool + PullRequestNumber int + PullRequestTitle string + Repository Repository + Result int + ResultMessage string + StartedAt time.Time + State string + Status int + StatusMessage string + Tag string + Type string + func NewFromRequest(r *http.Request) (*Webhook, error) + func (w Webhook) DeploySummary() string + func (w Webhook) IsMatch(branch string, repo string, owner string) bool + func (w Webhook) ShouldDeploy() bool