Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAWSSession ¶
func CreateAWSSession(creds Credentials) (*session.Session, error)
Types ¶
type Credentials ¶
type EmailData ¶
type EmailData struct { // title of email Title string // sender's email address Sender string // Receiver's email address Receiver string // Email charset Charset string // Embeded template TemplateFs embed.FS // Tempalte patterns from embed like templates/*.html TemplatePatterns string // Email template name without path TemplateName string // Attachment bytes if any FileBytes *bytes.Buffer // Attachment file name. // It should be with extension FileName string // Data for email body Input interface{} }
Click to show internal directories.
Click to hide internal directories.