lotus/api/interfaces.go
2023-09-11 01:33:08 +01:00

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)
}