Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Errors ErrBadUrl = errors.New("bad url format") ErrUnsupportedTLD = errors.New("unsupported TLD") // OnTimeParse = "OnTimeParse" OnProxyConnect = "OnProxyConnect" OnDomainExtract = "OnDomainExtract" OnScrap = "OnScrapping" OnWhois = "OnWhois" OnDomain = "OnDomain" OnMoz = "OnMoz" OnTextExtract = "OnTextExtract" // OnProcessor = "OnProcessor" OnStorage = "OnStorage" OnPool = "OnPool" OnBodyRead = "OnBodyRead" )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { Worker int `yaml:"worker"` Parallel int `yaml:"parallel"` Depth int `yaml:"depth"` URLPath string `yaml:"urls"` ProxyList []string `yaml:"proxies,flow"` TLDs []string `yaml:"tlds,flow"` Level string `yaml:"level"` RandomDelay string `yaml:"random_delay"` Timeout string `yaml:"timeout"` }
Engine struct
Click to show internal directories.
Click to hide internal directories.