lotus/api/interfaces.go

15 lines
220 B
Go
Raw Normal View History

package api
import (
"github.com/1f349/lotus/imap"
2023-09-11 01:33:08 +01:00
"github.com/1f349/lotus/sendmail"
)
type Smtp interface {
2023-09-11 01:33:08 +01:00
Send(mail *sendmail.Mail) error
}
type Imap interface {
MakeClient(user string) (*imap.Client, error)
}