storage

package
v0.0.1-v20231110 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL