Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleLog ¶
ConsoleLog contains the console log, and exceptions emitted
type NetworkLog ¶
type NetworkLog struct { gorm.Model URLID uint RequestID string RequestType RequestType StatusCode int64 URL string FinalURL string IP string Time time.Time Error string }
NetworkLog contains Chrome networks events that were emitted
type RequestType ¶
type RequestType int
RequestType are network log types
const ( HTTP RequestType = 0 WS )
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 Technologie ¶
Technologie contains a technologie
type URL ¶
type URL struct { gorm.Model URL string FinalURL string ResponseCode int ResponseReason string Proto string ContentLength int64 Title string Filename string IsPDF bool PerceptionHash string DOM string Screenshot string TLS TLS Headers []Header Technologies []Technologie Console []ConsoleLog Network []NetworkLog }
URL contains information about a URL
func (*URL) AddTechnologie ¶
AddTechnlogies adds a new technologies to a URL
func (*URL) MarshalJSON ¶
MarshalJSON returns JSON encoding of url. Implements json.Marshaler.
func (*URL) MarshallCSV ¶
MarshallCSV returns values as a slice
Click to show internal directories.
Click to hide internal directories.