Versions in this module Expand all Collapse all v0 v0.1.5 Mar 8, 2024 v0.1.4 Mar 7, 2024 Changes in this version + type NetworkTraffic struct + DestinationIP string + DestinationPort int + ID uint + MIMEType string + Method string + Protocol string + RequestBody []byte + RequestHeaders string + ResponseBody []byte + ResponseContentLength uint + ResponseHeaders string + SourceIP string + SourcePort int + StatusCode uint + Timestamp time.Time + URL string v0.1.3 Feb 25, 2024 v0.1.2 Feb 24, 2024 Changes in this version + const DateTimeFormat + const FAIL + const OK + const UNK + type ContentType string + type DynamicHTMLFetcher interface + Fetch func(parent context.Context, urlIdx int, url string) (ps []*ProxyServer, e error) + Headless func() bool + HomePageTimeout func() int + type FetcherSpec interface + ProxyMode func() ProxyMode + RefreshInterval func() int + Retry func() int + UID func() string + Urls func() []string + type JSONFetcher interface + ParseJSON func(payload []byte) (ps []*ProxyServer) + type PlainTextFetcher interface + ParsePlainText func(payload []byte) (ps []*ProxyServer) + type ProxyMode string + const Direct + const MasterProxy + const RotateGlobalProxy + const RotateProxy + type ProxyServer struct + Fail int + FailG int + Host string + ID uint + LastCheck string + LastScanned string + Loc string + Port string + Score float64 + ScoreG float64 + Source string + Status string + StatusG string + Suc int + SucG int + Type string + func NewProxyServer(source, host, port, ptype, loc string) *ProxyServer + func (p *ProxyServer) String() string + func (p *ProxyServer) UrlString() string + type StaticHTMLFetcher interface + IsGBK func() bool + ListSelector func() []string + ScanItem func(itemIdx, urlIdx int, s *goquery.Selection) (ps *ProxyServer) + type UserAgent struct + FirstSeenAt sql.NullString + HardwareType sql.NullString + ID int + LastSeenAt sql.NullString + Percent sql.NullFloat64 + SimpleSoftwareString sql.NullString + SoftwareName sql.NullString + SoftwareSubType sql.NullString + SoftwareType sql.NullString + SoftwareVersion sql.NullString + Source sql.NullString + TimesSeen sql.NullInt64 + UpdatedAt sql.NullString + UserAgent sql.NullString + func (ua *UserAgent) String() string