Added http headers as another param to ProcessPayloadFunc

This commit is contained in:
Lars Lehtonen
2016-10-20 15:53:15 -07:00
parent 6bfbae2ae3
commit 16a6ac7a61
7 changed files with 60 additions and 52 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func main() {
}
// HandleMultiple handles multiple GitHub events
func HandleMultiple(payload interface{}) {
func HandleMultiple(payload interface{}, header webhooks.Header) {
fmt.Println("Handling Payload..")