Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggableSearchResult ¶
type SearchResult ¶
type SearchResult struct { URL string `json:"url"` Title string `json:"title"` Seed string `json:"seed"` Leech string `json:"leech"` MagnetLink string `json:"magnetlink,omitempty"` Template string `json:"template"` PublishedDate string `json:"publishedDate,omitempty"` FileSize int `json:"filesize"` Engine string `json:"engine"` ParsedURL []string `json:"parsed_url"` Engines []string `json:"engines"` Positions []int `json:"positions"` Score float64 `json:"score"` Category string `json:"category"` PrettyURL string `json:"pretty_url"` PubDate string `json:"pubdate,omitempty"` OpenGroup bool `json:"open_group,omitempty"` CloseGroup bool `json:"close_group,omitempty"` }
type SearchResultList ¶
type SearchResultList []SearchResult
func (SearchResultList) Len ¶
func (e SearchResultList) Len() int
func (SearchResultList) Less ¶
func (e SearchResultList) Less(i, j int) bool
func (SearchResultList) Swap ¶
func (e SearchResultList) Swap(i, j int)
type SearxResponse ¶
type SearxResponse struct { Query string `json:"query"` NumberOfResults int `json:"number_of_results"` Results SearchResultList `json:"results"` Answers []interface{} `json:"answers"` Corrections []interface{} `json:"corrections"` Infoboxes []interface{} `json:"infoboxes"` Suggestions []interface{} `json:"suggestions"` UnresponsiveEngines [][]string `json:"unresponsive_engines"` }
Click to show internal directories.
Click to hide internal directories.