2019-04-24 21:52:08 +00:00
|
|
|
package notification
|
|
|
|
|
2021-09-17 09:53:59 +00:00
|
|
|
import (
|
|
|
|
"github.com/sirupsen/logrus"
|
|
|
|
)
|
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
// Notifier interface for sending the identity verification link.
|
|
|
|
type Notifier interface {
|
2021-09-17 09:53:59 +00:00
|
|
|
Send(recipient, subject, body, htmlBody string) (err error)
|
|
|
|
StartupCheck(logger *logrus.Logger) (err error)
|
2019-04-24 21:52:08 +00:00
|
|
|
}
|