pull/130/head
hunterlong 2019-01-17 13:11:43 -08:00
parent 2e5ca82f86
commit 19b89ebb51
3 changed files with 6 additions and 6 deletions

View File

@ -46,13 +46,13 @@ var command = &commandLine{&notifier.Notification{
Title: "Command to Run on OnSuccess", Title: "Command to Run on OnSuccess",
Placeholder: "curl google.com", Placeholder: "curl google.com",
DbField: "var1", DbField: "var1",
SmallText: "This command will run everytime a service is receiving a Successful event.", SmallText: "This command will run every time a service is receiving a Successful event.",
}, { }, {
Type: "text", Type: "text",
Title: "Command to Run on OnFailure", Title: "Command to Run on OnFailure",
Placeholder: "curl offline.com", Placeholder: "curl offline.com",
DbField: "var2", DbField: "var2",
SmallText: "This command will run everytime a service is receiving a Failing event.", SmallText: "This command will run every time a service is receiving a Failing event.",
}}}, }}},
} }

View File

@ -141,13 +141,13 @@ var emailer = &email{&notifier.Notification{
DbField: "Port", DbField: "Port",
}, { }, {
Type: "text", Type: "text",
Title: "Outgoing email Address", Title: "Outgoing Email Address",
Placeholder: "Insert your Outgoing email Address", Placeholder: "outgoing@email.com",
DbField: "Var1", DbField: "Var1",
}, { }, {
Type: "email", Type: "email",
Title: "Send Alerts To", Title: "Send Alerts To",
Placeholder: "email Address", Placeholder: "sendto@email.com",
DbField: "Var2", DbField: "Var2",
}}, }},
}} }}

View File

@ -36,7 +36,7 @@ type lineNotifier struct {
var lineNotify = &lineNotifier{&notifier.Notification{ var lineNotify = &lineNotifier{&notifier.Notification{
Method: lineNotifyMethod, Method: lineNotifyMethod,
Title: "LINE Notify", Title: "LINE Notify",
Description: "LINE Notify will send notifications to your LINE Notify account when services are offline or online. Baed on the <a href=\"https://notify-bot.line.me/doc/en/\">LINE Notify API</a>.", Description: "LINE Notify will send notifications to your LINE Notify account when services are offline or online. Based on the <a href=\"https://notify-bot.line.me/doc/en/\">LINE Notify API</a>.",
Author: "Kanin Peanviriyakulkit", Author: "Kanin Peanviriyakulkit",
AuthorUrl: "https://github.com/dogrocker", AuthorUrl: "https://github.com/dogrocker",
Icon: "far fa-bell", Icon: "far fa-bell",