Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Print(v ...interface{}) Println(v ...interface{}) Printf(format string, v ...interface{}) }
type Message ¶
type Message struct { To []*mail.Address From *mail.Address Headers map[string]string Subject string Body []*Part RawBody []byte }
Message is a nicely packaged representation of the recieved message
func NewMessage ¶
NewMessage creates a Message from a data blob
func (*Message) FindByType ¶
FindByType finds the first part of the message with the specified Content-Type
type Part ¶
type Part struct { Body []byte // contains filtered or unexported fields }
Part represents a single part of the message
type QuietLogger ¶
type QuietLogger struct{}
func (*QuietLogger) Print ¶
func (l *QuietLogger) Print(v ...interface{})
func (*QuietLogger) Printf ¶
func (l *QuietLogger) Printf(format string, v ...interface{})
func (*QuietLogger) Println ¶
func (l *QuietLogger) Println(v ...interface{})
Click to show internal directories.
Click to hide internal directories.