Setup repeat camera down notifications #24

This commit is contained in:
ashish committed 2025-05-15 12:01:49 -05:00
1 parent 7b24dad5b9
commit e6ccd8f1d7
8 files changed
+38 -46

No files matched your search

+1 -2
View File
@@ -5,14 +5,13 @@ import (
"strings"
)
type Notifier interface {
SendNotification(camera string, online bool)
}
func createMessage(camera string, online bool) string {
var msgTemplates = map[bool]string{
true: "%s camera is back online!",
true: "%s camera is back online!",
false: "%s camera is offline!",
}