package
Version:
v0.0.0-...-da513fb
Opens a new window with list of versions in this module.
Published: Jul 24, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type Configuration struct {
Log string `json:"log"`
Dir string `json:"dir"`
FileTypes []string `json:"fileTypes"`
Proxy *Proxy `json:"proxy"`
Option *Option `json:"option"`
Headless Headless `json:"headless"`
UserAgent string `json:"userAgent"`
DisableCookie bool `json:"enableCookie"`
}
type Headless struct {
Enable bool `json:"enable"`
Timeout int `json:"timeout"`
}
type Option struct {
Depth int `json:"depth"`
MaxConcurrency int `json:"maxConcurrency"`
ExternalWebpages bool `json:"externelWebpages"`
}
type Proxy struct {
Protocol string `json:"protocol"`
Port int `json:"port"`
Address string `json:"address"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.