Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { From string `json:"from"` To string `json:"to"` Subject string `json:"subject"` Body string `json:"body"` }
Email ...
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
EmailService ...
func NewEmailService ¶
func NewEmailService(cfg *EmailServiceConfig) (*EmailService, error)
NewEmailService ...
type EmailServiceConfig ¶
EmailServiceConfig ...
func NewEmailServiceConfig ¶
func NewEmailServiceConfig(auth, pass, smtp string, port int, send string) *EmailServiceConfig
NewEmailServiceConfig ...
Click to show internal directories.
Click to hide internal directories.