Versions in this module Expand all Collapse all v1 v1.0.1 Oct 22, 2022 v1.0.0 Oct 22, 2022 Changes in this version + var CR = []byte("\r") + var CRLF = []byte("\r\n") + var HTAB = []byte("\t")[0] + var LF = []byte("\n") + var SPACE = []byte(" ")[0] + type Line struct + Line []byte + type Lines []Line + func ParseLines(raw []byte) (lines Lines) + func (l Lines) Bytes(sep []byte) (raw []byte) + type MIME struct + func Parse(raw []byte) (m MIME) + func (m *MIME) AddHeaderField(key, value []byte) + func (m *MIME) Body() []byte + func (m *MIME) DeleteHeaderField(key []byte) + func (m *MIME) Full(sep ...[]byte) []byte + func (m *MIME) FullLines() (full Lines) + func (m *MIME) GetHeaderField(key []byte) (values [][]byte) + func (m *MIME) Header() []byte + func (m *MIME) MultipartGetParts() (parts []Lines, err error) + func (m *MIME) ParseMediaType() (mediatype string, params map[string]string, err error) + func (m *MIME) SetBody(body []byte) + func (m *MIME) SetHeaderField(key, value []byte) + func (m *MIME) SetMultipartBody(contentType string, parts ...MIME)