dkim

package
v0.0.0-...-3760dc4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	PrivateKey *rsa.PrivateKey
	Domain     string
	Selector   string
	Headers    []string
}

Signer represents a DKIM signer.

func (*Signer) Sign

func (s *Signer) Sign(msg string) (string, error)

Sign signs the provided email message and returns the DKIM signature header.

Jump to

Keyboard shortcuts

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