mirror of https://github.com/statping/statping
Mattermost JSON Updates
parent
70ced8f8bf
commit
af361e5eaf
|
@ -36,8 +36,8 @@ var mattermoster = &mattermost{¬ifications.Notification{
|
||||||
AuthorUrl: "https://github.com/adamboutcher",
|
AuthorUrl: "https://github.com/adamboutcher",
|
||||||
Delay: time.Duration(10 * time.Second),
|
Delay: time.Duration(10 * time.Second),
|
||||||
Icon: "far fa-comments",
|
Icon: "far fa-comments",
|
||||||
SuccessData: null.NewNullString(`{"text": "The service {{.Service.Name}} is back online."}`),
|
SuccessData: null.NewNullString(`{"icon_emoji":":white_check_mark:", "text": "The service {{.Service.Name}} is back online."}`),
|
||||||
FailureData: null.NewNullString(`{"text": "The service {{.Service.Name}} has gone offline."}`),
|
FailureData: null.NewNullString(`{"icon_emoji":":x:", "text": "The service {{.Service.Name}} has gone offline."}`),
|
||||||
DataType: "json",
|
DataType: "json",
|
||||||
RequestInfo: "Mattermost allows you to customize your own messages with many complex components.",
|
RequestInfo: "Mattermost allows you to customize your own messages with many complex components.",
|
||||||
Limits: 60,
|
Limits: 60,
|
||||||
|
|
Loading…
Reference in New Issue