wireguard-ui/emailer/interface.go

11 lines
194 B
Go

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