wip: shoutrrr wrapper (may remove)

This commit is contained in:
Hayden 2023-03-04 22:00:50 -09:00
parent 4725d9c823
commit f169f1c710
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -0,0 +1,10 @@
// 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)
}