package
Version:
v0.0.0-...-56a2adc
Opens a new window with list of versions in this module.
Published: Nov 24, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Email interface {
AddSender(s interface{}) error
AddSubject(s string) error
AddRecipients(r interface{}) error
AddAttachment(a interface{}) error
AddTemplate(t interface{}) error
AddContent(c interface{}) error
GetInfo() map[string]interface{}
}
Email interface
type Provider interface {
Init() error
GetName() string
SendEmail(email interface{}) error
NewEmail(sn interface{}, s string, t interface{}) (email interface{}, err error)
RefactorEmail(m map[string]interface{}) (email interface{}, err error)
ToString() string
}
Provider interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.