You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package tools
|
|
|
|
|
|
|
|
import "html/template"
|
|
|
|
|
|
|
|
type IndexData struct {
|
|
|
|
Folders map[string]int
|
|
|
|
Mails interface{}
|
|
|
|
MailPagelist []*MailItem
|
|
|
|
CurrentPage int
|
|
|
|
Fid string
|
|
|
|
NextPage,PrePage string
|
|
|
|
NumPages template.HTML
|
|
|
|
|
|
|
|
}
|
|
|
|
type ViewData struct {
|
|
|
|
Folders map[string]int
|
|
|
|
HtmlBody template.HTML
|
|
|
|
MailItem
|
|
|
|
}
|
|
|
|
type MailItem struct{
|
|
|
|
Subject string
|
|
|
|
Fid string
|
|
|
|
Id uint32
|
|
|
|
From string
|
|
|
|
To string
|
|
|
|
Body string
|
|
|
|
Date string
|
|
|
|
}
|
|
|
|
type MailPageList struct{
|
|
|
|
MailItems []*MailItem
|
|
|
|
}
|