homebox/backend/internal/core/services/notifier/notifier.go
2023-03-05 21:20:30 -09:00

10 lines
328 B
Go

// Package notifier exposes the notifier service for sending external messages.
package notifier
import "github.com/containrrr/shoutrrr"
// Notify is a proxy method for shoutrrr.Send. May be removed if additional
// functionality is _not_ needed.
func Notify(url, message string) error {
return shoutrrr.Send(url, message)
}