mirror of
https://github.com/drone-plugins/drone-webhook.git
synced 2026-06-26 15:52:25 +08:00
adding some comments and fixing docs debug template example
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package main
|
||||
|
||||
// Webhook represents a webhook.
|
||||
type Webhook struct {
|
||||
Urls []string `json:"urls"`
|
||||
Debug bool `json:"debug"`
|
||||
@@ -10,6 +11,7 @@ type Webhook struct {
|
||||
ContentType string `json:"content_type"`
|
||||
}
|
||||
|
||||
// BasicAuth represents a HTTP basic authentication username and password.
|
||||
type BasicAuth struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
|
||||
Reference in New Issue
Block a user