mirror of https://github.com/statping/statping
parent
19b89ebb51
commit
1af2e1b929
|
@ -41,8 +41,8 @@ var twilioNotifier = &twilio{¬ifier.Notification{
|
||||||
Delay: time.Duration(10 * time.Second),
|
Delay: time.Duration(10 * time.Second),
|
||||||
Form: []notifier.NotificationForm{{
|
Form: []notifier.NotificationForm{{
|
||||||
Type: "text",
|
Type: "text",
|
||||||
Title: "Account Sid",
|
Title: "Account SID",
|
||||||
Placeholder: "Insert your Twilio Account Sid",
|
Placeholder: "Insert your Twilio Account SID",
|
||||||
DbField: "api_key",
|
DbField: "api_key",
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
|
|
|
@ -38,7 +38,7 @@ type webhooker struct {
|
||||||
var webhook = &webhooker{¬ifier.Notification{
|
var webhook = &webhooker{¬ifier.Notification{
|
||||||
Method: webhookMethod,
|
Method: webhookMethod,
|
||||||
Title: "HTTP webhooker",
|
Title: "HTTP webhooker",
|
||||||
Description: "Send a custom HTTP request to a specific URL with your own body, headers, and parameters",
|
Description: "Send a custom HTTP request to a specific URL with your own body, headers, and parameters.",
|
||||||
Author: "Hunter Long",
|
Author: "Hunter Long",
|
||||||
AuthorUrl: "https://github.com/hunterlong",
|
AuthorUrl: "https://github.com/hunterlong",
|
||||||
Icon: "fas fa-code-branch",
|
Icon: "fas fa-code-branch",
|
||||||
|
@ -47,14 +47,14 @@ var webhook = &webhooker{¬ifier.Notification{
|
||||||
Type: "text",
|
Type: "text",
|
||||||
Title: "HTTP Endpoint",
|
Title: "HTTP Endpoint",
|
||||||
Placeholder: "http://webhookurl.com/JW2MCP4SKQP",
|
Placeholder: "http://webhookurl.com/JW2MCP4SKQP",
|
||||||
SmallText: "Insert the URL for your HTTP Requests",
|
SmallText: "Insert the URL for your HTTP Requests.",
|
||||||
DbField: "Host",
|
DbField: "Host",
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
Type: "text",
|
Type: "text",
|
||||||
Title: "HTTP Method",
|
Title: "HTTP Method",
|
||||||
Placeholder: "POST",
|
Placeholder: "POST",
|
||||||
SmallText: "Choose a HTTP method for example: GET, POST, DELETE, or PATCH",
|
SmallText: "Choose a HTTP method for example: GET, POST, DELETE, or PATCH.",
|
||||||
DbField: "Var1",
|
DbField: "Var1",
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue