1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-03-17 20:57:58 +02:00
notify/notifier.go

10 lines
318 B
Go
Raw Normal View History

package notify
// Notifier defines the behavior for notification services.
//
// The Send function simply sends a subject and a message string to the internal destination Notifier.
// E.g for telegram.Telegram it sends the message to the specified group chat.
type Notifier interface {
Send(string, string) error
}