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

storage: eliminate ReadBody, ReadRaw for #69

This commit is contained in:
James Hillyerd
2018-03-12 21:13:57 -07:00
parent 219862797e
commit 9be4eec31c
3 changed files with 14 additions and 53 deletions

View File

@@ -7,8 +7,6 @@ import (
"net/mail"
"sync"
"time"
"github.com/jhillyerd/enmime"
)
var (
@@ -41,8 +39,6 @@ type StoreMessage interface {
Date() time.Time
Subject() string
RawReader() (reader io.ReadCloser, err error)
ReadBody() (body *enmime.Envelope, err error)
ReadRaw() (raw *string, err error)
Append(data []byte) error
Close() error
String() string