Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsEventHandler ¶
type NatsEventHandler func(msg *nats.Msg) error
func HandleSendEmail ¶
func HandleSendEmail(mailer mailit.TextMailer) NatsEventHandler
HandleSendEmail is the event handler for notification.SendEmail event.
func HandleSendProductAddedEmail ¶
func HandleSendProductAddedEmail(mailer mailit.TemplateMailer) NatsEventHandler
HandleSendProductAddedEmail is the event handler for notification.SendProductAddedEmail nats event.
Click to show internal directories.
Click to hide internal directories.