Documentation ¶
Overview ¶
Package duckduckgo provides the ability to query DuckDuckGo from IRC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Answer ¶
type Answer struct { Heading string AbstractText string Type string Answer string AnswerType string Redirect string RelatedTopics []RelatedTopic // APIURL is not part of the response but it's nice to have on hand. APIURL string }
Answer holds an instant answer API result.
type RelatedTopic ¶
type RelatedTopic struct {
Text string
}
RelatedTopic holds an instant answer API related topic answer.
type SearchResult ¶
SearchResult holds a single parsed out search result.
Click to show internal directories.
Click to hide internal directories.