Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) RegisterUser ¶
type LocalBackend ¶
type LocalBackend interface { backend.Backend RegisterUser(username, password string) CreateMailbox(username, mbname string) error StoreMessage(username, mbname, body string) }
func New ¶
func New() LocalBackend
NOTE:(tauraamui) having our own implementation of a mock IMAP server backend will allow us more control for things like number of mailboxes and the number of messages per mailbox
Click to show internal directories.
Click to hide internal directories.