Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct { ServiceType ServiceType UserID string Password string Server string Port int }
type Mail ¶
func (Mail) Send ¶
func (m Mail) Send(a Authentication) error
func (Mail) SendGridSend ¶
func (Mail) SendWithPlunk ¶
func (m Mail) SendWithPlunk(a Authentication) error
func (Mail) SendWithSMTP ¶
func (m Mail) SendWithSMTP(a Authentication) (err error)
type ServiceType ¶
type ServiceType string
const ( PlunkType ServiceType = "plunk" SMTPType ServiceType = "smtp" SendGridType ServiceType = "sendgrid" )
Click to show internal directories.
Click to hide internal directories.