Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TLS ¶
type TLS struct { gorm.Model URLID uint Version uint16 ServerName string TLSCertificates []TLSCertificate }
TLS contains TLS information for a URL
type TLSCertificate ¶
type TLSCertificate struct { gorm.Model TLSID uint Raw []byte DNSNames []TLSCertificateDNSName SubjectCommonName string IssuerCommonName string SignatureAlgorithm string PubkeyAlgorithm string }
TLSCertificate contain TLS Certificate information
func (*TLSCertificate) AddDNSName ¶
func (tlsCert *TLSCertificate) AddDNSName(name string)
AddDNSName adds a new DNS Name to a Certificate
type TLSCertificateDNSName ¶
TLSCertificateDNSName has DNS names for a TLS certificate
type URL ¶
type URL struct { gorm.Model URL string FinalURL string ResponseCode int ResponseReason string Proto string ContentLength int64 Title string Filename string PerceptionHash string Headers []Header TLS TLS }
URL contains information about a URL
func (*URL) MarshallCSV ¶
MarshallCSV returns values as a slice
func (*URL) MarshallJSON ¶
MarshallJSON returns values as a slice
Click to show internal directories.
Click to hide internal directories.