explore

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Explorer

type Explorer interface {
	Search(q string) (*SearchResults, error)
}

Explorer is the interface of a feed explorer

func NewExplorer

func NewExplorer(provider string) (Explorer, error)

NewExplorer create new explorer for a given provider

func NewRSSSearchHubExplorerProvider

func NewRSSSearchHubExplorerProvider() Explorer

NewRSSSearchHubExplorerProvider create new feed explorer using RSS Search HUB

type RSSSearchHubExplorerProvider

type RSSSearchHubExplorerProvider struct {
}

RSSSearchHubExplorerProvider use RSS Search HUB as feed explorer

func (*RSSSearchHubExplorerProvider) Search

Search feeds from a query

type SearchResult

type SearchResult struct {
	Title   string `json:"title,omitempty"`
	Desc    string `json:"desc,omitempty"`
	XMLURL  string `json:"xmlUrl,omitempty"`
	HTMLURL string `json:"htmlUrl,omitempty"`
}

SearchResult is the result of a feed search

type SearchResults

type SearchResults []SearchResult

SearchResults is a list of search result

Jump to

Keyboard shortcuts

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