adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".

This commit is contained in:
Jason Kulatunga
2020-09-12 12:43:41 -07:00
parent 6bee0d1489
commit c913cf39b9
6 changed files with 233 additions and 7 deletions
+7
View File
@@ -24,3 +24,10 @@ type DependencyMissingError string
func (str DependencyMissingError) Error() string {
return fmt.Sprintf("DependencyMissingError: %q", string(str))
}
// Raised when the notification system is incorrectly configured
type NotificationValidationError string
func (str NotificationValidationError) Error() string {
return fmt.Sprintf("NotificationValidationError: %q", string(str))
}