Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DownstreamError = errors.New("downstream unavailable - see log for details")
)
Functions ¶
This section is empty.
Types ¶
type MailSendDto ¶
type MailService ¶
type MailService interface {
SendEmail(ctx context.Context, request MailSendDto) error
}
type Mock ¶
type Mock interface { MailService Reset() Recording() []MailSendDto SimulateError(err error) }
type MockImpl ¶
type MockImpl struct {
// contains filtered or unexported fields
}
func (*MockImpl) Recording ¶
func (m *MockImpl) Recording() []MailSendDto
func (*MockImpl) SendEmail ¶
func (m *MockImpl) SendEmail(ctx context.Context, request MailSendDto) error
func (*MockImpl) SimulateError ¶
Click to show internal directories.
Click to hide internal directories.