Documentation
¶
Overview ¶
Package tlsrpt provides types for building a TLSRPT (SMTP TLS Reporting) DNS TXT record.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
Version string `mapstructure:"version"`
ReportURIAggregate []string `mapstructure:"report-uri-aggregate"`
}
Record represents a TLSRPT (TLS Reporting) DNS TXT record.
func (*Record) RecordPrefix ¶
RecordPrefix returns the DNS owner label prefix for a TLSRPT record, always "_smtp._tls.".
func (*Record) RecordType ¶
RecordType returns the DNS record type string, "TXT".
func (*Record) RecordValue ¶
RecordValue returns the wire-ready, quoted TLSRPT record value.
Click to show internal directories.
Click to hide internal directories.