package
Version:
v0.0.0-...-eccf244
Opens a new window with list of versions in this module.
Published: May 3, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func JSONMarshalUnescaped(v interface{}) ([]byte, error)
JSONMarshalUnescaped does what json.Marshal does without escaping &, <, >.
type Config struct {
URLs []string `json:"urls"`
Targets []*target `json:"targets"`
Output *output `json:"output"`
}
Config holds information from config file.
type Scraper struct {
Config *Config
Results results
}
Scraper struct used for scraping activity.
New creates new Scraper and returns pointer to it, with error (if occurred).
Start will start scraping in separate goroutine and save results
when it is done in file that is defined in Config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.