changing Urls to URLs

This commit is contained in:
jackspirou 2016-01-08 12:27:49 -06:00
parent a273c3b18a
commit 2d56fee1f4
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ func main() {
// and content_type values will be applied to
// every webhook request.
for i, rawurl := range vargs.Urls {
for i, rawurl := range vargs.URLs {
uri, err := url.Parse(rawurl)
if err != nil {

View File

@ -2,7 +2,7 @@ package main
// Params represents the valid paramenter options for the webhook plugin.
type Params struct {
Urls []string `json:"urls"`
URLs []string `json:"urls"`
Debug bool `json:"debug"`
Auth Auth `json:"auth"`
Headers map[string]string `json:"header"`