1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-07-05 00:59:17 +02:00
Files
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
}