Documentation ¶
Overview ¶
Package mstore provides a means for serializing data in a format similar to raw email or http requests. Messages compose headers and a body. The advantage to this is Messages are both human readable and machine parsable. It is HIGHLY recommended that each Message be stored in its own file as a typical MBOX file uses a bare `From` line to seperate each message and mstore only uses two blank lines.
Index ¶
Constants ¶
View Source
const EOL = "\r\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
Messages have two parts: Meta and Body. Messages very closely resemble a raw email message or raw HTTP request with the absence of a few distinctive headers.
func (*Message) String ¶
String provides a simple API to viewing the final payload (Headers + Body) as a string.
Click to show internal directories.
Click to hide internal directories.