Documentation
¶
Index ¶
Constants ¶
View Source
const Prefix = "v=DMARC1"
Variables ¶
View Source
var ( ErrUnexpectedKey = errors.New("unexpected key") ErrMultipleSameKey = errors.New("multiple keys with the same name") )
View Source
var DmarcGrammar *abnf.Grammar
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
Domain string `json:"domain,omitzero"`
Raw string `json:"raw,omitzero"`
P string `json:"p,omitzero"`
Sp string `json:"sp,omitzero"`
Rua string `json:"rua,omitzero"`
Ruf string `json:"ruf,omitzero"`
Adkim string `json:"adkim,omitzero"`
Aspf string `json:"aspf,omitzero"`
Ri string `json:"ri,omitzero"`
Fo string `json:"fo,omitzero"`
Rf string `json:"rf,omitzero"`
Pct string `json:"pct,omitzero"`
}
func ParseDmarcRecord ¶
Click to show internal directories.
Click to hide internal directories.