Documentation
¶
Overview ¶
Package mail implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶ added in v0.2.6
Init initializes the mail mailer. This function should be called during the application's bootstrap phase. If mailBuilder is nil, the default mailer implementation will be used.
func Mailer ¶ added in v0.2.6
func Mailer() interfaces.Mailer
Mailer retrieves the mail mailer. It panics if the mail mailer has not been initialized.
func NewDefaultMailer ¶ added in v0.2.6
func NewDefaultMailer(cfg *mailv1.Mail) interfaces.Mailer
NewDefaultMailer creates a new instance of the default Mailer.
Types ¶
Click to show internal directories.
Click to hide internal directories.