bucket

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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)

func MakeSEImageResult added in v0.11.0

func MakeSEImageResult(
	urll, title, desc string,
	src, srcUrl, thmbUrl string,
	origH, origW, thmbH, thmbW int,
	seName engines.Name, sePage, seOnPageRank int,
) *result.RetrievedResult

func MakeSEResult

func MakeSEResult(
	urll, title, desc string,
	seName engines.Name, sePage, seOnPageRank int,
) *result.RetrievedResult

func SetResultResponse

func SetResultResponse(link string, response *colly.Response, relay *Relay, seName engines.Name) error

Types

type Relay

type Relay struct {
	ResultMap map[string]*result.Result
	Mutex     sync.RWMutex
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL