Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SESClient ¶ added in v1.0.0
type SESClient interface {
SendEmail(ctx context.Context, params *ses.SendEmailInput, optFns ...func(*ses.Options)) (*ses.SendEmailOutput, error)
}
SESClient is the interface that contains SendEmail function. We can mock this interface for testing purposes.
type SESSender ¶
type SESSender struct {
// contains filtered or unexported fields
}
SESSender is the struct that implements Sender interface. It contains the SESClient interface.
func NewSESSender ¶
NewSESSender creates a new SESSender. It requires a SESClient interface.
Click to show internal directories.
Click to hide internal directories.