mailanalyze

package module
v0.0.0-...-8f3044a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2013 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Spam     = Precedence(0)
	Junk     = Precedence(1)
	List     = Precedence(5)
	Personal = Precedence(10)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderWord

type HeaderWord struct {
	Header string
	Word   string
}

type MailInfo

type MailInfo struct {
	Subject      string
	MailingList  string
	Precedence   Precedence
	Thread       []string
	Senders      []string
	Destinations []string
	MessageID    string
	ContentType  string
	Language     langdetect.Language
	BodyWords    map[string]int
	HeaderWords  map[HeaderWord]int
}

func Analyze

func Analyze(inp io.Reader) (*MailInfo, error)

type Precedence

type Precedence int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL