Documentation
¶
Index ¶
Constants ¶
View Source
const AcceptHeader = "application/vnd.github.v3.raw"
Variables ¶
View Source
var (
Config github
)
Functions ¶
func InvalidBranchError ¶
func InvalidBranchError() error
Types ¶
type WebhookPayload ¶
type WebhookPayload struct {
Ref string `json:"ref"`
HeadCommit struct {
Modified []string `json:"modified"`
} `json:"head_commit"`
Repository struct {
FullName string `json:"full_name"`
} `json:"repository"`
}
WebhookPayload describes the incoming json payload from the Github webhook.
Click to show internal directories.
Click to hide internal directories.