Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearDatabase ¶
This function should be called at the beginning of every test, in order to truncate tables and enable the test to start from an empty database.
Types ¶
type SMTPServer ¶
type SMTPServer struct {
// contains filtered or unexported fields
}
func NewSMTPServer ¶
func NewSMTPServer(cfg mail.Config) *SMTPServer
func (*SMTPServer) Run ¶
func (s *SMTPServer) Run() (func(), error)
func (*SMTPServer) SetHandler ¶
func (s *SMTPServer) SetHandler(handler smtpd.Handler)
Click to show internal directories.
Click to hide internal directories.