mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 16:14:07 +00:00
15 lines
220 B
Go
15 lines
220 B
Go
package api
|
|
|
|
import (
|
|
"github.com/1f349/lotus/imap"
|
|
"github.com/1f349/lotus/sendmail"
|
|
)
|
|
|
|
type Smtp interface {
|
|
Send(mail *sendmail.Mail) error
|
|
}
|
|
|
|
type Imap interface {
|
|
MakeClient(user string) (*imap.Client, error)
|
|
}
|