Versions in this module Expand all Collapse all v1 v1.1.0 Jun 6, 2020 v1.0.1 May 30, 2020 v1.0.0 May 29, 2020 Changes in this version + func GetErrorFromResponse(r *http.Response) error + func ListenAlerts() error + type Facet struct + Count int + Value string + type Host struct + ASN string + Data []*HostData + Hostnames []string + IP net.IP + ISP string + LastUpdate string + OS string + Organization string + Ports []int + Vulnerabilities []string + type HostCertificate struct + Expires string + Extensions []*HostCertificateExtension + Fingerprint map[string]string + IsExpired bool + Issued string + Issuer *HostCertificateAttributes + PublicKey *HostCertificatePublicKey + Serial *big.Int + SignatureAlgorithm string + Subject *HostCertificateAttributes + Version int + type HostCertificateAttributes struct + CommonName string + CountryName string + Locality string + Organization string + OrganizationalUnit string + StateOrProvinceName string + type HostCertificateExtension struct + Data string + IsCritical bool + Name string + type HostCertificatePublicKey struct + Bits int + Type string + type HostCipher struct + Bits int + Name string + Version string + type HostDHParams struct + Bits int + Fingerprint string + Generator *IntString + Prime string + PublicKey string + type HostData struct + ASN string + Banner string + CPE []string + Data string + DeviceType string + Domains []string + HTML string + Hostnames []string + IP net.IP + ISP string + Link string + Location *HostLocation + OS string + Opts map[string]interface{} + Organization string + Port int + Product string + SSL *HostSSL + ShodanData map[string]interface{} + Timestamp string + Title string + Transport string + Version IntString + type HostLocation struct + AreaCode int + City string + Country string + CountryCode string + CountryCode3 string + DMA int + Latitude float64 + Longitude float64 + Postal string + RegionCode string + type HostMatch struct + Facets map[string][]*Facet + Matches []*HostData + Total int + type HostQueryOptions struct + Facets string + Minify bool + Page int + Query string + type HostQueryTokens struct + Attributes map[string]interface{} + Errors []string + Filters []string + String string + type HostSSL struct + Certificate *HostCertificate + Chain []string + Cipher *HostCipher + DHParams *HostDHParams + TLSExt []*HostTLSExtEntry + Versions []string + type HostServicesOptions struct + History bool + Minify bool + type HostTLSExtEntry struct + ID int + Name string + type IntString string + func (v *IntString) String() string + func (v *IntString) UnmarshalJSON(b []byte) error