drone-webhook/types.go

17 lines
461 B
Go
Raw Normal View History

2015-11-20 23:51:50 +00:00
package main
type Params struct {
2015-11-20 23:51:50 +00:00
Urls []string `json:"urls"`
2015-11-21 01:39:05 +00:00
Debug bool `json:"debug"`
Auth Auth `json:"auth"`
2015-11-20 23:51:50 +00:00
Headers map[string]string `json:"header"`
Method string `json:"method"`
Template string `json:"template"`
ContentType string `json:"content_type"`
}
type Auth struct {
2015-11-20 23:51:50 +00:00
Username string `json:"username"`
Password string `json:"password"`
}