Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler func(err error)
ErrorHandler is called when an error occurs, it guarantees that err is not nil
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
func NewMailer ¶
func NewMailer(l *zerolog.Logger, errHandler ErrorHandler) *Mailer
NewMailer creates new Mailer, it setup listeners and returns created instace
Click to show internal directories.
Click to hide internal directories.