storage

package
v0.0.1-v20240505 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: BSD-3-Clause Imports: 7 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)
	Shutdown() 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