Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generates a report in JSON format from the crawler client and config. The report contains the initial crawler info, the network info for each host visited, and the page info for each page visited such as all the links found in the page if the link belongs to the same host as the seed URL.
Types ¶
type Config ¶
func SetupConfig ¶
func SetupConfig() *Config
SetupConfig wraps the gocrawler.Config and adds an additional report path field where users can specify where to export the report to.
func (*Config) PrintConfig ¶
func (c *Config) PrintConfig()
Click to show internal directories.
Click to hide internal directories.