mime

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mime contains a method for parsing MIME.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MIMEPart

type MIMEPart struct {
	Headers map[string][]string // MIME part headers.
	Reader  io.Reader           // Body reader.
}

MIMEPart defines a MIME part.

func Parse

func Parse(reader io.Reader) (headers map[string][]string, parts []MIMEPart, err error)

Parse parses a MIME message into its parts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL