Versions in this module Expand all Collapse all v1 v1.1.0 Jul 19, 2026 Changes in this version + func FetchURLAsMarkdown(ctx context.Context, client *providers.HTTPClient, url string) (string, error) + type Option func(SearchRequest) SearchRequest + func WithCache(cache providers.Cache) Option + func WithCustomNormalizeURL(normalizeURL func(url string) (normalized string)) Option + func WithDebugLogging() Option + func WithProviders(providers ...providers.SearchProvider) Option + func WithRatelimiters(providerLimiter map[string]*rate.Limiter) Option + type SearchRequest struct + MaxResults int + MinResults int + Query string + StartFromPage int + type SearchResponse struct + HasMore bool + RequestsMade uint64 + Results []providers.SearchResult + func Search(ctx context.Context, req SearchRequest, opts ...Option) (SearchResponse, error)