Versions in this module Expand all Collapse all v0 v0.5.0 Dec 20, 2025 Changes in this version + func GetAllEngineInfo(registry *Registry) map[string]EngineInfo + type AnswerBox struct + Answer string + Link string + Snippet string + Source string + Title string + Type string + type Engine interface + GetName func() string + GetSupportedTools func() []string + GetVersion func() string + ScrapeWebpage func(ctx context.Context, params ScrapeParams) (*SearchResult, error) + Search func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchAutocomplete func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchImages func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchLens func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchMaps func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchNews func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchPlaces func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchReviews func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchScholar func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchShopping func(ctx context.Context, params SearchParams) (*SearchResult, error) + SearchVideos func(ctx context.Context, params SearchParams) (*SearchResult, error) + func GetDefaultEngine(registry *Registry) (Engine, error) + type EngineInfo struct + Name string + SupportedTools []string + Version string + func GetEngineInfo(engine Engine) EngineInfo + type ImageResult struct + Height int + ImageURL string + IsProduct bool + Position int + Source string + SourceURL string + Thumbnail string + Title string + Width int + type KnowledgeGraph struct + Attributes map[string]string + Description string + ImageURL string + Source string + Title string + Type string + type NewsResult struct + Date string + ImageURL string + Link string + Position int + Snippet string + Source string + Thumbnail string + Title string + type NormalizedSearchResult struct + AnswerBox *AnswerBox + ImageResults []ImageResult + KnowledgeGraph *KnowledgeGraph + NewsResults []NewsResult + OrganicResults []OrganicResult + PeopleAlsoAsk []PeopleAlsoAsk + PlaceResults []PlaceResult + Raw *SearchResult + RelatedSearches []RelatedSearch + ScholarResults []ScholarResult + SearchMetadata SearchMetadata + ShoppingResults []ShoppingResult + Suggestions []string + VideoResults []VideoResult + type Normalizer struct + func NewNormalizer(engineName string) *Normalizer + func (n *Normalizer) NormalizeImages(result *SearchResult, query string) (*NormalizedSearchResult, error) + func (n *Normalizer) NormalizeNews(result *SearchResult, query string) (*NormalizedSearchResult, error) + func (n *Normalizer) NormalizeSearch(result *SearchResult, query string) (*NormalizedSearchResult, error) + type OrganicResult struct + Date string + Domain string + Link string + Position int + Snippet string + Title string + URL string + type PeopleAlsoAsk struct + Answer string + Link string + Question string + Source string + Title string + type PlaceResult struct + Address string + Attributes map[string]string + DataID string + Hours string + Latitude float64 + Longitude float64 + Phone string + PlaceID string + Position int + Price string + Rating float64 + Reviews int + Thumbnail string + Title string + Type string + Website string + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Get(name string) (Engine, bool) + func (r *Registry) GetAll() map[string]Engine + func (r *Registry) List() []string + func (r *Registry) Register(engine Engine) + type RelatedSearch struct + Link string + Query string + type ScholarResult struct + Authors []string + Citations int + Link string + PDF string + Position int + PublicationURL string + Snippet string + Source string + Title string + Year string + type ScrapeParams struct + URL string + type SearchMetadata struct + Country string + Engine string + Language string + Location string + Query string + TimeTaken float64 + TotalResults int64 + type SearchParams struct + Country string + Language string + Location string + NumResults int + Query string + type SearchResult struct + Data interface{} + Raw string + type ShoppingResult struct + Currency string + Delivery string + Images []string + InStock bool + Link string + OriginalPrice string + Position int + Price string + ProductID string + Rating float64 + Reviews int + Source string + Thumbnail string + Title string + type VideoResult struct + Channel string + Date string + Duration string + Link string + Platform string + Position int + Snippet string + Thumbnail string + Title string + Views string