Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIURL = "https://api.abuseipdb.com/api/v2/blacklist" ModuleName = "AbuseIPDB" TimeFormat = "2006-01-02T15:04:05-07:00" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Errors []APIError `json:"errors"`
}
type AbuseIPDB ¶
type RawBlacklistDoc ¶
type RawBlacklistDoc struct { Meta struct { GeneratedAt string `json:"generatedAt"` } `json:"meta"` Data []struct { IPAddress string `json:"ipAddress"` CountryCode string `json:"countryCode"` AbuseConfidenceScore int `json:"abuseConfidenceScore"` LastReportedAt string `json:"LastReportedAt"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.