Help us shape the future of Go! Take the 2026 Go Developer Survey

exa

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) (*Backend, error)

func (*Backend) Search

func (b *Backend) Search(ctx context.Context, query string) ([]webresearch.Candidate, error)

Search retries transient failures once using a fresh lifecycle.

type Config

type Config struct {
	APIKey         string
	MaxResults     int
	Timeout        time.Duration
	MaxOutputBytes int
	HTTPClient     *http.Client
}

Jump to

Keyboard shortcuts

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