Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMailNotFound = errors.New("mail not found")
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func (*Repository) GetMailByID ¶
func (r *Repository) GetMailByID(id int) (models.DecryptedMailWithContent, error)
func (*Repository) GetMails ¶
func (r *Repository) GetMails(offset int, limit int) ([]models.DecryptedMail, int, error)
Click to show internal directories.
Click to hide internal directories.