drone-webhook/webhook.go
2015-11-20 17:51:50 -06:00

17 lines
469 B
Go

package main
type Webhook struct {
Urls []string `json:"urls"`
Verbose bool `json:"verbose"`
Auth BasicAuth `json:"auth"`
Headers map[string]string `json:"header"`
Method string `json:"method"`
Template string `json:"template"`
ContentType string `json:"content_type"`
}
type BasicAuth struct {
Username string `json:"username"`
Password string `json:"password"`
}