Documentation ¶
Index ¶
- Variables
- type EmailProvider
- func (e *EmailProvider) NewEmail(sn interface{}, s string, t interface{}, r interface{}) (email interface{}, err error)
- func (e *EmailProvider) NextProvider()
- func (e *EmailProvider) Order() string
- func (e *EmailProvider) Selected() (pn string)
- func (e *EmailProvider) Send(m interface{}) (err error)
- func (e *EmailProvider) Sort(order ...string) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultOrder = []string{"mailchimp", "mailgun", "sendgrid"}
)
Functions ¶
This section is empty.
Types ¶
type EmailProvider ¶
func New ¶
func New(cfile string) (e *EmailProvider, err error)
func (*EmailProvider) NewEmail ¶
func (e *EmailProvider) NewEmail(sn interface{}, s string, t interface{}, r interface{}) (email interface{}, err error)
func (*EmailProvider) NextProvider ¶
func (e *EmailProvider) NextProvider()
func (*EmailProvider) Order ¶
func (e *EmailProvider) Order() string
func (*EmailProvider) Selected ¶
func (e *EmailProvider) Selected() (pn string)
func (*EmailProvider) Sort ¶
func (e *EmailProvider) Sort(order ...string) (err error)
Click to show internal directories.
Click to hide internal directories.