Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsyncSender ¶
type AsyncSender struct {
// contains filtered or unexported fields
}
AsyncSender implements Sender interface using Redis Queue
func NewAsyncSender ¶
func NewAsyncSender(c cache.Cache, opts *options.EmailOptions, queueKey string) *AsyncSender
NewAsyncSender creates a new AsyncSender with Redis backend
func (*AsyncSender) Close ¶
func (s *AsyncSender) Close()
type SMTPSender ¶
type SMTPSender struct {
// contains filtered or unexported fields
}
SMTPSender implements Sender using direct SMTP
func NewSMTPSender ¶
func NewSMTPSender(opts *options.EmailOptions) *SMTPSender
NewSMTPSender creates a new SMTPSender
func (*SMTPSender) Close ¶
func (s *SMTPSender) Close()
Click to show internal directories.
Click to hide internal directories.