Documentation ¶
Index ¶
- type Email
- type InitOptions
- type Mailer
- type MailerInstance
- type MailerPlugin
- func (mp *MailerPlugin) AppendMiddlewares() []web.MiddlewareFunc
- func (mp *MailerPlugin) Instance() interface{}
- func (mp *MailerPlugin) Name() string
- func (mp *MailerPlugin) OnCreated(z *zepto.Zepto)
- func (mp *MailerPlugin) OnZeptoInit(z *zepto.Zepto)
- func (mp *MailerPlugin) OnZeptoStart(z *zepto.Zepto)
- func (mp *MailerPlugin) OnZeptoStop(z *zepto.Zepto)
- func (mp *MailerPlugin) PrependMiddlewares() []web.MiddlewareFunc
- type Options
- type SendOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitOptions ¶
type Mailer ¶
type Mailer interface { Init(opts *InitOptions) SendFromHTML(html string, opts *SendOptions) error SendFromTemplate(template string, opts *SendOptions) error }
type MailerInstance ¶
type MailerInstance interface { SendFromHTML(html string, opts *SendOptions) error SendFromTemplate(template string, opts *SendOptions) error }
func InstanceFromCtx ¶
func InstanceFromCtx(ctx web.Context) MailerInstance
type MailerPlugin ¶
type MailerPlugin struct {
// contains filtered or unexported fields
}
func NewMailerPlugin ¶
func NewMailerPlugin(opts Options) *MailerPlugin
func (*MailerPlugin) AppendMiddlewares ¶
func (mp *MailerPlugin) AppendMiddlewares() []web.MiddlewareFunc
func (*MailerPlugin) Instance ¶
func (mp *MailerPlugin) Instance() interface{}
func (*MailerPlugin) Name ¶
func (mp *MailerPlugin) Name() string
func (*MailerPlugin) OnCreated ¶
func (mp *MailerPlugin) OnCreated(z *zepto.Zepto)
func (*MailerPlugin) OnZeptoInit ¶
func (mp *MailerPlugin) OnZeptoInit(z *zepto.Zepto)
func (*MailerPlugin) OnZeptoStart ¶
func (mp *MailerPlugin) OnZeptoStart(z *zepto.Zepto)
func (*MailerPlugin) OnZeptoStop ¶
func (mp *MailerPlugin) OnZeptoStop(z *zepto.Zepto)
func (*MailerPlugin) PrependMiddlewares ¶
func (mp *MailerPlugin) PrependMiddlewares() []web.MiddlewareFunc
Click to show internal directories.
Click to hide internal directories.