Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendGridConfig ¶
SendGridConfig contain all attributes to initialize the SendGrid mail service
func NewSendGridConfig ¶ added in v1.3.1
func NewSendGridConfig(mailAttributes mail.MailAttributes) (result *SendGridConfig, err error)
type SendGridService ¶
type SendGridService struct {
// contains filtered or unexported fields
}
SendGridService implements MailService
func NewSendGridService ¶
func NewSendGridService(config *SendGridConfig) *SendGridService
NewSendGridService creates a SendGridService using an already initializes service
func (*SendGridService) SendMail ¶
func (service *SendGridService) SendMail(ctx context.Context, attributes mail.MailAttributes) error
Click to show internal directories.
Click to hide internal directories.