email

package
v0.0.0-...-a1697ce Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailClient

type EmailClient struct{}

verifyなどの共通の処理を書く

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

Jump to

Keyboard shortcuts

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