Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailClientInterface ¶
type EmailClientInterface interface {
Send(email *model_email.Email) error
}
func NewExportMockEmailClient ¶
func NewExportMockEmailClient() EmailClientInterface
func NewTwilioEmailClient ¶
func NewTwilioEmailClient(ctx context.Context) EmailClientInterface
type MockEmailClient ¶
type MockEmailClient struct {
*EmailClient
}
func (*MockEmailClient) Send ¶
func (c *MockEmailClient) Send(email *model_email.Email) error
type TwilioEmailClient ¶
type TwilioEmailClient struct { *EmailClient // contains filtered or unexported fields }
func (*TwilioEmailClient) Send ¶
func (e *TwilioEmailClient) Send(email *model_email.Email) error
Click to show internal directories.
Click to hide internal directories.