mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
22 lines
383 B
Go
22 lines
383 B
Go
package notifiers
|
|
|
|
import (
|
|
"databasus-backend/internal/util/encryption"
|
|
"log/slog"
|
|
)
|
|
|
|
type NotificationSender interface {
|
|
Send(
|
|
encryptor encryption.FieldEncryptor,
|
|
logger *slog.Logger,
|
|
heading string,
|
|
message string,
|
|
) error
|
|
|
|
Validate(encryptor encryption.FieldEncryptor) error
|
|
|
|
HideSensitiveData()
|
|
|
|
EncryptSensitiveData(encryptor encryption.FieldEncryptor) error
|
|
}
|