yep

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Info = engines.Info{
	Domain:         "yep.com",
	Name:           engines.YEP,
	URL:            "https://api.yep.com/fs/2/search?",
	ResultsPerPage: 20,
}
View Source
var Support = engines.SupportedSettings{
	Locale:     true,
	SafeSearch: true,
}

Functions

This section is empty.

Types

type Engine added in v0.14.1

type Engine struct{}

func New added in v0.14.1

func New() Engine

func (Engine) Search added in v0.14.1

func (e Engine) Search(ctx context.Context, query string, relay *bucket.Relay, options engines.Options, settings config.Settings, timings config.CategoryTimings, salt string, nEnabledEngines int) []error

type JsonResponse added in v0.12.0

type JsonResponse struct {
	// Total   int      `json:"total"`
	Results []Result `json:"results"`
}

type Result

type Result struct {
	URL     string `json:"url"`
	Title   string `json:"title"`
	TType   string `json:"type"`
	Snippet string `json:"snippet"`
}

Jump to

Keyboard shortcuts

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