Documentation
¶
Index ¶
Constants ¶
View Source
const ( NeutralQualifier = "?" SoftfailQualifier = "~" FailQualifier = "-" )
View Source
const MaximumLookupLimit = 10
View Source
const Prefix = "v=spf1 "
Variables ¶
View Source
var ErrUnexpectedMatchRule = errors.New("unexpected matching rule")
View Source
var SpfGrammar *abnf.Grammar
Functions ¶
func ExtractIncludeValues ¶
func ExtractRedirectValues ¶
Types ¶
type Record ¶
type Record struct {
Domain string `json:"domain,omitzero"`
Raw string `json:"raw,omitzero"`
Terms []any `json:"-" jsonschema:"-"`
}
func ParseSpfRecord ¶
func (*Record) Directives ¶
Click to show internal directories.
Click to hide internal directories.