1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 02:57:05 +00:00

Add REST call for purging an entire mailbox

This commit is contained in:
James Hillyerd
2013-10-14 15:35:09 -07:00
parent 46d4f7be1d
commit 1e85699ccf
7 changed files with 77 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ type DataStore interface {
type Mailbox interface {
GetMessages() ([]Message, error)
GetMessage(id string) (Message, error)
Purge() error
NewMessage() Message
String() string
}