Documentation ¶
Index ¶
- type Mailer
- func (mailer *Mailer) GetApiBase() string
- func (mailer *Mailer) GetApiKey() string
- func (mailer *Mailer) GetDomain() string
- func (mailer *Mailer) GetHandler(name string) (...)
- func (mailer *Mailer) GetHandlers() ...
- func (mailer *Mailer) GetMail(name string, data map[string]interface{}, locale string) (makeless_go_mailer.Mail, error)
- func (mailer *Mailer) GetMailgun() *mailgun.MailgunImpl
- func (mailer *Mailer) GetQueue() makeless_go_queue.Queue
- func (mailer *Mailer) Init() error
- func (mailer *Mailer) Send(ctx context.Context, mail makeless_go_mailer.Mail) error
- func (mailer *Mailer) SendQueue(mail makeless_go_mailer.Mail) error
- func (mailer *Mailer) SetHandler(name string, ...)
- func (mailer *Mailer) SetMailgun(mailgun *mailgun.MailgunImpl)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer struct { Handlers map[string]func(data map[string]interface{}, locale string) (makeless_go_mailer.Mail, error) Queue makeless_go_queue.Queue Mailgun *mailgun.MailgunImpl ApiBase string Domain string ApiKey string *sync.RWMutex }
func (*Mailer) GetApiBase ¶
func (*Mailer) GetHandler ¶
func (*Mailer) GetHandlers ¶
func (*Mailer) GetMailgun ¶
func (mailer *Mailer) GetMailgun() *mailgun.MailgunImpl
func (*Mailer) SetHandler ¶
func (*Mailer) SetMailgun ¶
func (mailer *Mailer) SetMailgun(mailgun *mailgun.MailgunImpl)
Click to show internal directories.
Click to hide internal directories.