Documentation ¶
Index ¶
Constants ¶
View Source
const SendMessages = "SendMessages"
Variables ¶
View Source
var DependencySet = wire.NewSet( NewSendMessagesLogger, wire.Struct(new(SendMessagesTask), "*"), )
Functions ¶
Types ¶
type MailSender ¶
type MailSender interface {
Send(opts mail.SendOptions) error
}
type SendMessagesLogger ¶
func NewSendMessagesLogger ¶
func NewSendMessagesLogger(lf *log.Factory) SendMessagesLogger
type SendMessagesParam ¶
type SendMessagesParam struct {
EmailMessages []mail.SendOptions
}
func (*SendMessagesParam) TaskName ¶
func (p *SendMessagesParam) TaskName() string
type SendMessagesTask ¶
type SendMessagesTask struct { EmailSender MailSender Logger SendMessagesLogger }
Click to show internal directories.
Click to hide internal directories.