Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MIMEContentDispositionTypes = []string{"inline", "attachment"}
View Source
var MIMEContentTypes = []string{"application", "audio", "image", "multipart", "text", "video"}
Functions ¶
func ParseContents ¶
func ParseContents(buffer []byte, contentInfo ContentInfo, contentID *int) (map[string]Content, map[string]Attachment)
Types ¶
type Attachment ¶
type Attachment struct {
ContentInfo ContentInfo
Data []byte
}
type Content ¶
type Content struct {
ContentInfo ContentInfo
Data []byte
}
type ContentDisposition ¶
type ContentInfo ¶
type ContentInfo struct {
Type ContentType
ID string
Description string
TransferEncoding string
Disposition ContentDisposition
}
type ContentType ¶
Source Files
¶
- content.go
- contentinfo.go
- declarations.go
- header.go
- mailtoolkit.go
Click to show internal directories.
Click to hide internal directories.