Documentation ¶
Index ¶
Constants ¶
View Source
const (
SendGridApiUrl = "https://api.sendgrid.com/v3/mail/send"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Personalization ¶
type Personalization struct {
To []To `json:"to"`
}
type RestClient ¶
func NewRestClient ¶
func NewRestClient(client *resty.Client, apiKey string) RestClient
func NewRestClientMock ¶
func NewRestClientMock() RestClient
type RestClientMock ¶
func (*RestClientMock) Send ¶
func (r *RestClientMock) Send(subject, from, to, content string) error
Click to show internal directories.
Click to hide internal directories.