Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrevoAdapter ¶
type BrevoAdapter struct {
// contains filtered or unexported fields
}
BrevoAdapter implements the port.EmailAdapter interface for sending emails via Brevo (formerly SendinBlue).
func NewBrevoAdapter ¶
func NewBrevoAdapter(cfg config.BrevoConfig, logger logger.Logger) (*BrevoAdapter, error)
NewBrevoAdapter creates a new instance of BrevoAdapter.
type MockEmailAdapter ¶
type MockEmailAdapter struct {
// contains filtered or unexported fields
}
MockEmailAdapter is a mock implementation of the port.EmailAdapter interface.
func NewMockEmailAdapter ¶
func NewMockEmailAdapter(logger logger.Logger) *MockEmailAdapter
NewMockEmailAdapter creates a new instance of MockEmailAdapter.
type SendGridAdapter ¶
type SendGridAdapter struct {
// contains filtered or unexported fields
}
SendGridAdapter implements the port.EmailAdapter interface for sending emails via SendGrid.
func NewSendGridAdapter ¶
func NewSendGridAdapter(cfg config.SendGridConfig, logger logger.Logger) (*SendGridAdapter, error)
NewSendGridAdapter creates a new instance of SendGridAdapter.
func (*SendGridAdapter) ServiceName ¶
func (a *SendGridAdapter) ServiceName() string
ServiceName returns the name of the email service.
Click to show internal directories.
Click to hide internal directories.