https://github.com/xescugc/github-webhooks
A server to attach to GitHub webhooks written in go
https://github.com/xescugc/github-webhooks
github go golang webhooks
Last synced: about 2 months ago
JSON representation
A server to attach to GitHub webhooks written in go
- Host: GitHub
- URL: https://github.com/xescugc/github-webhooks
- Owner: xescugc
- Created: 2017-07-08T10:52:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T06:44:00.000Z (almost 9 years ago)
- Last Synced: 2025-10-11T01:18:03.200Z (9 months ago)
- Topics: github, go, golang, webhooks
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-webhooks
[](https://godoc.org/github.com/XescuGC/github-webhooks)
[](https://travis-ci.org/XescuGC/github-webhooks)
This is a simple web server that handles Github Webhooks and returns structured objects for each event.
## Usage
```bash
$> go get github.com/XescuGC/github-webhooks
```
```go
wh := webhooks.New(3000, []string{"project_card"})
go wh.Start()
for {
select {
case e := <- webhooks.ProjectCards
// deal with the event e
}
}
```