Fixes security issue & Adds support to sent configuration via email (#83)

This commit is contained in:
Georgios Komninos
2021-08-08 20:55:59 +03:00
committed by GitHub
parent 7edcd1b80c
commit 1711530dda
13 changed files with 335 additions and 76 deletions

10
emailer/interface.go Normal file
View File

@@ -0,0 +1,10 @@
package emailer
type Attachment struct {
Name string
Data []byte
}
type Emailer interface {
Send(toName string, to string, subject string, content string, attachments []Attachment) error
}