Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*EmailService, error)
func (*EmailService) Close ¶
func (em *EmailService) Close() error
func (*EmailService) Dial ¶
func (em *EmailService) Dial() error
func (*EmailService) Send ¶
func (em *EmailService) Send(email Email) error
type StubEmailService ¶
type StubEmailService struct { }
func NewStub ¶
func NewStub() *StubEmailService
func (*StubEmailService) Close ¶
func (em *StubEmailService) Close() error
func (*StubEmailService) Send ¶
func (em *StubEmailService) Send(email Email) error
Click to show internal directories.
Click to hide internal directories.