duckduckgo

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	http.Stack
}

type DuckDuckGo

type DuckDuckGo struct {
	http.Stack
	// contains filtered or unexported fields
}

func New

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

func (*DuckDuckGo) Search

func (api *DuckDuckGo) Search(ctx context.Context, req Search) ([]websearch.Fact, error)
type Search struct {
	Query string // The search query string.
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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