mimemessage

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMessageIDifNotExists

func AddMessageIDifNotExists(header []byte, messageID string) []byte

func AppendKeyToHeader

func AppendKeyToHeader(header []byte, key, val string) []byte

func DelKeyFromHeader

func DelKeyFromHeader(header []byte, key string) []byte

func GetHeaderBytesAndEndPtr

func GetHeaderBytesAndEndPtr(pl []byte) ([]byte, int)

func GetKeyFromHeader added in v1.0.25

func GetKeyFromHeader(header []byte, key string) []string

func LengthLinesReader

func LengthLinesReader(r io.Reader) (int, int)

func PrependHeaderByKey

func PrependHeaderByKey(header []byte, key, val string) []byte

func ReplaceKeyInHeader added in v1.1.42

func ReplaceKeyInHeader(header []byte, key string, idx int, value []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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