17 lines
467 B
Go
17 lines
467 B
Go
package main
|
|
|
|
type Webhook struct {
|
|
Urls []string `json:"urls"`
|
|
Debug bool `json:"debug"`
|
|
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"`
|
|
}
|