advisor

package
v3.0.17 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advice

type Advice struct {
	Domain []string `` /* 128-byte string literal not displayed */
	BIMI   []string `` /* 127-byte string literal not displayed */
	DKIM   []string `` /* 215-byte string literal not displayed */
	DMARC  []string `` /* 289-byte string literal not displayed */
	MX     []string `` /* 132-byte string literal not displayed */
	SPF    []string `` /* 128-byte string literal not displayed */
}

type Advisor

type Advisor struct {
	// contains filtered or unexported fields
}

func NewAdvisor

func NewAdvisor(timeout time.Duration, cacheLifetime time.Duration, checkTLS bool) *Advisor

func (*Advisor) CheckAll

func (a *Advisor) CheckAll(domain, bimi, dkim, dmarc string, mx []string, spf string) *Advice

func (*Advisor) CheckBIMI

func (a *Advisor) CheckBIMI(bimi string) (advice []string)

func (*Advisor) CheckDKIM

func (a *Advisor) CheckDKIM(dkim string) (advice []string)

func (*Advisor) CheckDMARC

func (a *Advisor) CheckDMARC(record string) (advice []string)

func (*Advisor) CheckDomain

func (a *Advisor) CheckDomain(domain string) (advice []string)

func (*Advisor) CheckMX

func (a *Advisor) CheckMX(mx []string) (advice []string)

func (*Advisor) CheckSPF

func (a *Advisor) CheckSPF(spf string) []string

Jump to

Keyboard shortcuts

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