Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmailTemplate = `` /* 1312-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶ added in v0.2.1
func (SMTPConfig) Valid ¶ added in v0.2.3
func (cfg SMTPConfig) Valid() bool
type SMTPSender ¶ added in v0.2.1
type SMTPSender struct {
// contains filtered or unexported fields
}
func NewSMTPSender ¶ added in v0.2.1
func NewSMTPSender(cfg SMTPConfig) (*SMTPSender, error)
func (SMTPSender) Send ¶ added in v0.2.1
func (s SMTPSender) Send(cg *models.Campground, startDate, endDate string, sites models.Campsites) error
Click to show internal directories.
Click to hide internal directories.