Versions in this module Expand all Collapse all v0 v0.0.3 Mar 26, 2026 v0.0.1 Mar 24, 2026 Changes in this version + const DefaultSearchCount + const DefaultTimeoutSecs + const MaxSearchCount + const ProviderExa + var DefaultFallbackOrder = []string + type Config struct + Exa ExaConfig + Fallbacks []string + Provider string + func ApplyEnvDefaults(cfg *Config) *Config + func ConfigFromEnv() *Config + func (c *Config) WithDefaults() *Config + type ExaConfig struct + APIKey string + BaseURL string + Category string + Enabled *bool + Highlights bool + IncludeText bool + NumResults int + TextMaxCharacters int + Type string + type Request struct + Count int + Country string + Freshness string + Query string + SearchLang string + UILang string + type Response struct + Answer string + Cached bool + Count int + Definition string + Extras map[string]any + NoResults bool + Provider string + Query string + Results []Result + Summary string + TookMs int64 + Warning string + func Search(ctx context.Context, req Request, cfg *Config) (*Response, error) + type Result struct + Author string + Description string + Favicon string + ID string + Image string + Published string + SiteName string + Title string + URL string