Fixes security issue & Adds support to sent configuration via email (#83)
This commit is contained in:
committed by
GitHub
parent
7edcd1b80c
commit
1711530dda
10
emailer/interface.go
Normal file
10
emailer/interface.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user