libsendgrid

package
v0.0.0-...-928d55a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Libsendgrid

type Libsendgrid struct {
	Requester request.RequesterInterface
	Mailtrap  mailtrap.MailtrapInterface
}

Libsendgrid ...

func LibSendgridHandler

func LibSendgridHandler() *Libsendgrid

LibSendgridHandler ...

func (*Libsendgrid) GetTemplateID

func (libsengrid *Libsendgrid) GetTemplateID(ID string) (*entity.TemplateResponse, error)

GetTemplateID ...

func (*Libsendgrid) SendEmail

func (libsengrid *Libsendgrid) SendEmail(history *entity.EmailHistoryItem)

SendEmail ...

type LibsendgridInterface

type LibsendgridInterface interface {
	GetTemplateID(ID string) (*entity.TemplateResponse, error)
	SendEmail(data *entity.EmailHistoryItem)
}

LibsendgridInterface ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL