1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

test: Start work on test suite for #82

- smtp: Tidy up []byte/buffer/string use in delivery #69
This commit is contained in:
James Hillyerd
2018-03-14 22:51:40 -07:00
parent 519779b7ba
commit 5e13e50763
5 changed files with 124 additions and 42 deletions

View File

@@ -28,8 +28,6 @@ type Store interface {
VisitMailboxes(f func([]StoreMessage) (cont bool)) error
// LockFor is a temporary hack to fix #77 until Datastore revamp
LockFor(emailAddress string) (*sync.RWMutex, error)
// NewMessage is temproary until #69 MessageData refactor
NewMessage(mailbox string) (StoreMessage, error)
}
// StoreMessage represents a message to be stored, or returned from a storage implementation.