authelia/internal/notification/notifier.go
James Elliott aed9099ce2
refactor: factorize startup checks (#2386)
* refactor: factorize startup checks

* refactor: address linting issues
2021-09-17 19:53:59 +10:00

12 lines
268 B
Go

package notification
import (
"github.com/sirupsen/logrus"
)
// Notifier interface for sending the identity verification link.
type Notifier interface {
Send(recipient, subject, body, htmlBody string) (err error)
StartupCheck(logger *logrus.Logger) (err error)
}