Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HunterResult ¶
type HunterResult struct { Code int `json:"code"` Msg string `json:"msg"` Data struct { Total int `json:"total"` Time int `json:"time"` Arr []struct { WebTitle string `json:"web_title"` IP string `json:"ip"` Port int `json:"port"` BaseProtocol string `json:"base_protocol"` Protocol string `json:"protocol"` Domain string `json:"domain"` Component []struct { Name string `json:"name"` Version string `json:"version"` } `json:"component"` URL string `json:"url"` Os string `json:"os"` Country string `json:"country"` Province string `json:"province"` City string `json:"city"` UpdatedAt string `json:"updated_at"` StatusCode int `json:"status_code"` Number string `json:"number"` Company string `json:"company"` IsWeb string `json:"is_web"` IsRisk string `json:"is_risk"` IsRiskProtocol string `json:"is_risk_protocol"` AsOrg string `json:"as_org"` Isp string `json:"isp"` Banner string `json:"banner"` } `json:"arr"` ConsumeQuota string `json:"consume_quota"` RestQuota string `json:"rest_quota"` } `json:"data"` }
func HunterQuery ¶
func HunterQuery(username, key string, query string, page, limit int) (*HunterResult, error)
Click to show internal directories.
Click to hide internal directories.