Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(w http.ResponseWriter, r *http.Request)
Handler processes interception requests.
Extracting the event-type from the GitHub hook event header.
If we don't have a handler for this event-type, the handler returns the body, and a successful response, allowing unknown events through.
Otherwise, they're passed to a handler to decide whether or not to allow the interception to complete.
Types ¶
Click to show internal directories.
Click to hide internal directories.