Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressJSON ¶
AddressJSON represents a single mail address for generating JSON.
type Message ¶
type Message struct { MessageId string InReplyTo string From *mail.Address To []*mail.Address Cc []*mail.Address Subject string Date time.Time Body []string Exist bool }
Message represents a parsed mail message.
type MessageJSON ¶
type MessageJSON struct { MessageId string InReplyTo string From *AddressJSON To []*AddressJSON Cc []*AddressJSON Subject string Date string Body []*BodyJSON Exist bool }
MessageJSON represents a parsed message for generating JSON.
type Thread ¶
type Thread struct { Name string Node *ThreadNode }
Message thread
func (*Thread) ParsePatch ¶
ParseJSON parses the thread for generating patches.
type ThreadJSON ¶
type ThreadJSON struct { Name string Node *ThreadNodeJSON }
Message thread for generating JSON.
type ThreadNode ¶
type ThreadNode struct { Mesg *Message Child []*ThreadNode }
Message thread node contains a message and its children.
type ThreadNodeJSON ¶
type ThreadNodeJSON struct { Mesg *MessageJSON Child []*ThreadNodeJSON }
Message thread node for generating JSON.
Click to show internal directories.
Click to hide internal directories.