package
0.0.0-20241223090118-035fcd7fed56
Repository: https://github.com/ibiscum/hands-on-software-engineering-with-golang.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.
No description provided by the author

# Functions

NewCrawler returns a new crawler instance.

# Structs

Config encapsulates the configuration options for creating a new Crawler.
Crawler implements a web-page crawling pipeline consisting of the following stages: - Given a URL, retrieve the web-page contents from the remote server.

# Interfaces

Graph is implemented by objects that can upsert links and edges into a link graph instance.
Indexer is implemented by objects that can index the contents of web-pages retrieved by the crawler pipeline.
PrivateNetworkDetector is implemented by objects that can detect whether a host resolves to a private network address.
URLGetter is implemented by objects that can perform HTTP GET requests.