Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebContentFetcher ¶ added in v0.3.10
func NewWebContentFetcher(browser browser.Browsable, contentCache ContentCacher, connectivityTester cache.ConnectivityTester) source.ContentFetcher
Types ¶
type ContentCacher ¶
type ContentFetcher ¶
type ContentFetcher struct { Browser browser.Browsable Cacher ContentCacher ConnectivityTester cache.ConnectivityTester }
ContentFetcher is a content fetcher that deals with the state of sources
func (*ContentFetcher) Cleanup ¶
func (w *ContentFetcher) Cleanup()
func (*ContentFetcher) Fetch ¶
func (w *ContentFetcher) Fetch(target *source.SearchTarget) error
Gets the content from which we'll extract the search results
func (*ContentFetcher) FetchUrl ¶
func (w *ContentFetcher) FetchUrl(url string) error
Click to show internal directories.
Click to hide internal directories.