package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Packages

Package multipart implements MIME multipart parsing, as defined in RFC 2046.
Package quotedprintable implements quoted-printable encoding as specified by RFC 2045.

# Functions

AddExtensionType sets the MIME type associated with the extension ext to typ.
ExtensionsByType returns the extensions known to be associated with the MIME type typ.
FormatMediaType serializes mediatype t and the parameters param as a media type conforming to RFC 2045 and RFC 2616.
ParseMediaType parses a media type value and any optional parameters, per RFC 1521.
TypeByExtension returns the MIME type associated with the file extension ext.

# Constants

BEncoding represents Base64 encoding scheme as defined by RFC 2045.
QEncoding represents the Q-encoding scheme as defined by RFC 2047.

# Variables

ErrInvalidMediaParameter is returned by ParseMediaType if the media type value was found but there was an error parsing the optional parameters.

# Structs

A WordDecoder decodes MIME headers containing RFC 2047 encoded-words.

# Type aliases

A WordEncoder is an RFC 2047 encoded-word encoder.