Files
diun/internal/notif/notifier/notifier.go
CrazyMax 7bff860650 Bump v4
2020-06-07 22:04:31 +02:00

17 lines
274 B
Go

package notifier
import (
"github.com/crazy-max/diun/v4/internal/model"
)
// Handler is a notifier interface
type Handler interface {
Name() string
Send(entry model.NotifEntry) error
}
// Notifier represents an active notifier object
type Notifier struct {
Handler
}