search

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSearchers

func AddSearchers(searcher ...Searcher)

func InitSearcher

func InitSearcher()

func InitSearxng

func InitSearxng()

func InitTavily

func InitTavily()

func IsEnable

func IsEnable() bool

func Query

func Query(query string) (*search_type.SearchResponses, error)

Types

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

func New

func New() *Search

func (*Search) IsEnable

func (s *Search) IsEnable() bool

type Searcher

type Searcher interface {
	Query(query string) (*search_type.SearchResponses, error)
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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