9 lines
290 B
Go
9 lines
290 B
Go
package indexer
|
|
|
|
type Indexer interface {
|
|
Search(query string, limit int32, indexer string) (SearchResult, error)
|
|
FetchURL(url string) (SearchResult, error)
|
|
BuildSearchURL(query string, limit int32, tracker string) string
|
|
Capabilities(indexerName string) (IndexerCapabilities, error)
|
|
}
|