Documentation ¶
Index ¶
Constants ¶
View Source
const ROUTE = "/{user:.*}/{name:.*}/"
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a new http.Handler that handles github webhooks from the github API. After receiving a hook the handler will push the message onto the specified NSQ Queue.
producer is the connection to the NSQD instance. secret is the secret provided when you register the webhook in the github UI. logger is the standard logger for the application
Types ¶
Click to show internal directories.
Click to hide internal directories.