Skip to content

ejholmes/hookshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godoc

Hookshot is a Go http router that de-multiplexes and authorizes GitHub Webhooks.

Usage

r := hookshot.NewRouter()

r.Handle("deployment_status", DeploymentStatusHandler)
r.Handle("deployment", DeploymentHandler)

To automatically verify the X-Hub-Signature:

r.Handle("deployment", hookshot.Authorize(DeploymentHandler, "secret"))

About

A Go http router that de-multiplexes and authorizes GitHub Webhooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published