Documentation ¶
Index ¶
- type Address
- type AddressParser
- type Header
- func (h *Header) ContentDisposition() (disp string, params map[string]string, err error)
- func (h *Header) ContentType() (t string, params map[string]string, err error)
- func (h *Header) Fields() HeaderFields
- func (h *Header) FieldsByKey(k string) HeaderFields
- func (h *Header) SetContentDisposition(disp string, params map[string]string)
- func (h *Header) SetContentType(t string, params map[string]string)
- func (h *Header) SetText(k, v string)
- func (h *Header) Text(k string) (string, error)
- type HeaderFields
- type MultipartReader
- type RawEntity
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
func ParseAddress ¶
ParseAddress parses a single RFC 5322 address, e.g. "Barry Gibbs <bg@example.com>"
func ParseAddressList ¶
ParseAddressList parses the given string as a list of addresses.
type AddressParser ¶
type AddressParser struct { // WordDecoder optionally specifies a decoder for RFC 2047 encoded-words. WordDecoder *mime.WordDecoder }
An AddressParser is an RFC 5322 address parser.
type Header ¶
func (*Header) ContentDisposition ¶
func (*Header) ContentType ¶
func (*Header) Fields ¶
func (h *Header) Fields() HeaderFields
func (*Header) FieldsByKey ¶
func (h *Header) FieldsByKey(k string) HeaderFields
func (*Header) SetContentDisposition ¶
type HeaderFields ¶
type HeaderFields interface { textproto.HeaderFields Text() (string, error) }
type RawEntity ¶
---------------------------------------------- Entity
func (*RawEntity) MultipartReader ¶
func (e *RawEntity) MultipartReader() MultipartReader
Click to show internal directories.
Click to hide internal directories.