{"modulePath":"github.com/openshift/origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\nPackage github contains webhook.Plugin implementation of github webhooks according to [https://developer.github.com/webhooks/](https://developer.github.com/webhooks/)\n\n## Types\n\n```go\ntype WebHook struct{}\n```\nWebHook used for processing github webhook requests.\n\n```go\nfunc New() *WebHook\n```\nNew returns github webhook plugin.\n\n```go\nfunc (p *WebHook) Extract(buildCfg *api.BuildConfig, secret, path string, req *http.Request) (revision *api.SourceRevision, envvars []kapi.EnvVar, proceed bool, err error)\n```\nExtract services webhooks from github.com\n\n","path":"github.com/openshift/origin/pkg/build/webhook/github","name":"github","synopsis":"Package github contains webhook.Plugin implementation of github webhooks according to https://developer.github.com/webhooks/","isRedistributable":true}
