Documentation ¶
Index ¶
- func AddSEResult(seResult *result.RetrievedResult, seName engines.Name, relay *Relay, ...) bool
- func MakeSEImageResult(urll, title, desc string, src, srcUrl, thmbUrl string, ...) result.RetrievedResult
- func MakeSEResult(urll, title, desc string, seName engines.Name, sePage, seOnPageRank int) result.RetrievedResult
- func SetResultResponse(link string, response *colly.Response, relay *Relay, seName engines.Name) error
- type Relay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSEResult ¶
func AddSEResult(seResult *result.RetrievedResult, seName engines.Name, relay *Relay, options engines.Options, pagesCol *colly.Collector, nEnabledEngines int) bool
Checks if the retrieved result is valid. Makes a result object and adds it to the relay. Returns true if the result is valid (false otherwise).
func MakeSEImageResult ¶ added in v0.11.0
func MakeSEResult ¶
func MakeSEResult( urll, title, desc string, seName engines.Name, sePage, seOnPageRank int, ) result.RetrievedResult
Makes result from parameters
Types ¶
Click to show internal directories.
Click to hide internal directories.