Documentation
¶
Index ¶
- type DuckDuckGo
- func (e *DuckDuckGo) AllInTitle(value string) *DuckDuckGo
- func (e *DuckDuckGo) AllInURL(value string) *DuckDuckGo
- func (e *DuckDuckGo) And() *DuckDuckGo
- func (e *DuckDuckGo) Exclude(tags *DuckDuckGo) *DuckDuckGo
- func (e *DuckDuckGo) Ext(ext string) *DuckDuckGo
- func (e *DuckDuckGo) Feed(feed string) *DuckDuckGo
- func (e *DuckDuckGo) FileType(filetype string) *DuckDuckGo
- func (e *DuckDuckGo) Group(tags *DuckDuckGo) *DuckDuckGo
- func (e *DuckDuckGo) HasFeed(url string) *DuckDuckGo
- func (e *DuckDuckGo) InText(text string) *DuckDuckGo
- func (e *DuckDuckGo) InTitle(value string) *DuckDuckGo
- func (e *DuckDuckGo) InURL(url string) *DuckDuckGo
- func (e *DuckDuckGo) Language(lang string) *DuckDuckGo
- func (e *DuckDuckGo) Location(isoCode string) *DuckDuckGo
- func (e *DuckDuckGo) Or() *DuckDuckGo
- func (e *DuckDuckGo) Plain(value string) *DuckDuckGo
- func (e *DuckDuckGo) QueryValues() url.Values
- func (e *DuckDuckGo) Site(site string) *DuckDuckGo
- func (e *DuckDuckGo) String() string
- func (e *DuckDuckGo) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuckDuckGo ¶
type DuckDuckGo struct {
// contains filtered or unexported fields
}
DuckDuckGo is the Google search implementation for Dorkgen
func (*DuckDuckGo) AllInTitle ¶
func (e *DuckDuckGo) AllInTitle(value string) *DuckDuckGo
AllInTitle finds pages that include a specific keyword as part of the indexed title tag.
func (*DuckDuckGo) AllInURL ¶
func (e *DuckDuckGo) AllInURL(value string) *DuckDuckGo
AllInURL finds pages that include a specific keyword as part of their indexed URLs.
func (*DuckDuckGo) And ¶
func (e *DuckDuckGo) And() *DuckDuckGo
And puts an AND operator in the request
func (*DuckDuckGo) Exclude ¶
func (e *DuckDuckGo) Exclude(tags *DuckDuckGo) *DuckDuckGo
Exclude excludes some results.
func (*DuckDuckGo) Ext ¶
func (e *DuckDuckGo) Ext(ext string) *DuckDuckGo
Ext searches for a particular file extension mentioned in the query.
func (*DuckDuckGo) Feed ¶
func (e *DuckDuckGo) Feed(feed string) *DuckDuckGo
Feed finds RSS feed related to search term (i.e. rss).
func (*DuckDuckGo) FileType ¶
func (e *DuckDuckGo) FileType(filetype string) *DuckDuckGo
FileType searches for a particular filetype mentioned in the query.
func (*DuckDuckGo) Group ¶
func (e *DuckDuckGo) Group(tags *DuckDuckGo) *DuckDuckGo
Group isolate tags between parentheses
func (*DuckDuckGo) HasFeed ¶
func (e *DuckDuckGo) HasFeed(url string) *DuckDuckGo
HasFeed finds webpages that contain both the term or terms for which you are querying and one or more RSS or Atom feeds.
func (*DuckDuckGo) InText ¶
func (e *DuckDuckGo) InText(text string) *DuckDuckGo
InText searches for the occurrences of keywords all at once or one at a time.
func (*DuckDuckGo) InTitle ¶
func (e *DuckDuckGo) InTitle(value string) *DuckDuckGo
InTitle searches for occurrences of keywords in title all or one.
func (*DuckDuckGo) InURL ¶
func (e *DuckDuckGo) InURL(url string) *DuckDuckGo
InURL searches for a URL matching one of the keywords.
func (*DuckDuckGo) Language ¶
func (e *DuckDuckGo) Language(lang string) *DuckDuckGo
Language returns websites that match the search term in a specified language. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for a complete list of ISO 639-1 codes you can use.
func (*DuckDuckGo) Location ¶
func (e *DuckDuckGo) Location(isoCode string) *DuckDuckGo
Location searches for specific region. An iso location code is a short code for a country for example, Egypt is eg and USA is us. https://en.wikipedia.org/wiki/ISO_3166-1
func (*DuckDuckGo) Plain ¶
func (e *DuckDuckGo) Plain(value string) *DuckDuckGo
Plain allows you to add additional values as string without any kind of formatting.
func (*DuckDuckGo) QueryValues ¶
func (e *DuckDuckGo) QueryValues() url.Values
QueryValues returns search request as URL values
func (*DuckDuckGo) Site ¶
func (e *DuckDuckGo) Site(site string) *DuckDuckGo
Site specifically searches that particular site and lists all the results for that site.
func (*DuckDuckGo) String ¶
func (e *DuckDuckGo) String() string
String converts all tags to a single request
func (*DuckDuckGo) URL ¶
func (e *DuckDuckGo) URL() string
URL converts tags to an encoded Google Search URL