v1.5.1
Go to latest Published: Jun 20, 2023 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:9 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
View Source
const (MailProviderDev = "dev"MailProviderSES = "ses")
Variables¶
This section is empty.
Functions¶
Types¶
typeMailer¶added inv1.4.1
type Mailer interface {// Send sends the emailSend(SendMailData)error}Mailer is used to have different implementation for sending email
typeSendMailData¶added inv1.4.1
type SendMailData struct {Fromstring `json:"from"`FromNamestring `json:"fromName"`Tostring `json:"to"`ToNamestring `json:"toName"`Subjectstring `json:"subject"`HTMLBodystring `json:"htmlBody"`TextBodystring `json:"textBody"`ReplyTostring `json:"replyTo"`Bodystring `json:"body"`}SendMailData contains necessary fields to send an email
Click to show internal directories.
Click to hide internal directories.