Documentation ¶
Overview ¶
Package hooker can generate github webhooks. It's only real use is for testing endpoints that handle github webhooks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPing = events.Ping{
Zen: "Practicality beats purity.",
}
DefaultPing is a Ping event that makes you feel good.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Secret is a secret to sign request bodies with. Secret string // URL is the url to make requests against. URL string // contains filtered or unexported fields }
Client represents a client that can send GitHub webhooks.
Click to show internal directories.
Click to hide internal directories.