Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailStorage ¶
type MailStorage interface { AddMail(mail model.Mail) error CountMails() (int64, error) DeleteAllMails() (int64, error) DeleteMails(ids ...int64) (int64, error) GetMime(id int64) (string, error) SeekMails(int64, int) ([]model.Mail, error) }
func New ¶
func New() (MailStorage, error)
Click to show internal directories.
Click to hide internal directories.