Documentation ¶
Index ¶
- type MailerStub
- func (ms *MailerStub) Init(opts *mailer.InitOptions)
- func (ms *MailerStub) LastSentFromHTML() *SendFromHtmlStackItem
- func (ms *MailerStub) LastSentFromTemplate() *SendFromTemplateStackItem
- func (ms *MailerStub) SendFromHTML(html string, opts *mailer.SendOptions) error
- func (ms *MailerStub) SendFromTemplate(template string, opts *mailer.SendOptions) error
- func (ms *MailerStub) SentFromHTMLAt(idx int) *SendFromHtmlStackItem
- func (ms *MailerStub) SentFromTemplateAt(idx int) *SendFromTemplateStackItem
- type SendFromHtmlStackItem
- type SendFromTemplateStackItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailerStub ¶
type MailerStub struct {
// contains filtered or unexported fields
}
func NewMailerStub ¶
func NewMailerStub() *MailerStub
func (*MailerStub) Init ¶
func (ms *MailerStub) Init(opts *mailer.InitOptions)
func (*MailerStub) LastSentFromHTML ¶
func (ms *MailerStub) LastSentFromHTML() *SendFromHtmlStackItem
func (*MailerStub) LastSentFromTemplate ¶
func (ms *MailerStub) LastSentFromTemplate() *SendFromTemplateStackItem
func (*MailerStub) SendFromHTML ¶
func (ms *MailerStub) SendFromHTML(html string, opts *mailer.SendOptions) error
func (*MailerStub) SendFromTemplate ¶
func (ms *MailerStub) SendFromTemplate(template string, opts *mailer.SendOptions) error
func (*MailerStub) SentFromHTMLAt ¶
func (ms *MailerStub) SentFromHTMLAt(idx int) *SendFromHtmlStackItem
func (*MailerStub) SentFromTemplateAt ¶
func (ms *MailerStub) SentFromTemplateAt(idx int) *SendFromTemplateStackItem
type SendFromHtmlStackItem ¶
type SendFromHtmlStackItem struct { Html string Opts *mailer.SendOptions }
type SendFromTemplateStackItem ¶
type SendFromTemplateStackItem struct { Template string Opts *mailer.SendOptions }
Click to show internal directories.
Click to hide internal directories.