Documentation ¶
Index ¶
- func GetDmarcStringForDomain(opts *shared.Options) (*string, error)
- type DmarcRecord
- func (dmarc *DmarcRecord) GetOrgDomain() (string, error)
- func (dmarc *DmarcRecord) GetOrgRecord(dnsResolver string) (*DmarcRecord, error)
- func (dmarc *DmarcRecord) IsOrgDomainStrong(dnsResolver string) (bool, error)
- func (dmarc *DmarcRecord) IsRecordStrong(dnsResolver string) (bool, error)
- func (dmarc *DmarcRecord) IsSubdomainPolicyStrong() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DmarcRecord ¶
type DmarcRecord struct { Domain string Version string Policy string Percent *int RUA string RUF string SubdomainPolicy string DkimAlignment string SpfAlignment string ReportInterval string Record string }
func FromDmarcString ¶
func FromDmarcString(dmarcString *string, domain string) (*DmarcRecord, error)
func FromDomain ¶
func FromDomain(opts *shared.Options) (*DmarcRecord, error)
func (*DmarcRecord) GetOrgDomain ¶
func (dmarc *DmarcRecord) GetOrgDomain() (string, error)
func (*DmarcRecord) GetOrgRecord ¶
func (dmarc *DmarcRecord) GetOrgRecord(dnsResolver string) (*DmarcRecord, error)
func (*DmarcRecord) IsOrgDomainStrong ¶
func (dmarc *DmarcRecord) IsOrgDomainStrong(dnsResolver string) (bool, error)
func (*DmarcRecord) IsRecordStrong ¶
func (dmarc *DmarcRecord) IsRecordStrong(dnsResolver string) (bool, error)
func (*DmarcRecord) IsSubdomainPolicyStrong ¶
func (dmarc *DmarcRecord) IsSubdomainPolicyStrong() bool
Click to show internal directories.
Click to hide internal directories.