rfc822

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rfc822 provides a writer that ensures the intrinsics of RFC 822.

Rationale

Cyrus IMAP really cares about the hard specifics of RFC 822, namely not allowing single \r and \n.

See also: https://www.cyrusimap.org/imap/reference/faqs/interop-barenewlines.html and: https://github.com/Necoro/feed2imap-go/issues/46

NB: This package currently only cares about the newlines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Writer

func Writer(w io.Writer) io.Writer

Writer creates a new RFC 822 conform writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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