tools

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tools provides various methods for various things

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanTag added in v1.6.14

func CleanTag(s string) string

CleanTag returns a clean tag, removing whitespace and invalid characters

func RemoveMessageHeaders

func RemoveMessageHeaders(msg []byte, headers []string) ([]byte, error)

RemoveMessageHeaders scans a message for headers, if found them removes them. It will only remove a single instance of any header, and is intended to remove Bcc & Message-Id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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