Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UseCaseSet = wire.NewSet(NewUseCase)
Functions ¶
This section is empty.
Types ¶
type MailEventPublisher ¶
type UseCase ¶
type UseCase interface { TestSendMail(ctx context.Context, host string, port int64, authProtocol, username, password, tlsType, fromName, fromAddress string, idleTimeout, maxConnections, retries, waitTimeout int64, to string) error SendMail(ctx context.Context, history *domain.History) error }
func NewUseCase ¶
func NewUseCase( redis redis.RedisEngine, serviceHistory history.UseCase, pub MailEventPublisher, sendMail mail.EmailSender, ) UseCase
Click to show internal directories.
Click to hide internal directories.