Documentation
¶
Index ¶
- type EngineFactory
- type GoogleSearch
- func (e *GoogleSearch) Cache(url string) *GoogleSearch
- func (e *GoogleSearch) Exclude(value string) *GoogleSearch
- func (e *GoogleSearch) Ext(ext string) *GoogleSearch
- func (e *GoogleSearch) Filetype(filetype string) *GoogleSearch
- func (e *GoogleSearch) Intext(text string) *GoogleSearch
- func (e *GoogleSearch) Inurl(url string) *GoogleSearch
- func (e *GoogleSearch) Or() *GoogleSearch
- func (e *GoogleSearch) Related(url string) *GoogleSearch
- func (e *GoogleSearch) Site(site string) *GoogleSearch
- func (e *GoogleSearch) ToString() string
- func (e *GoogleSearch) ToURL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineFactory ¶
type EngineFactory interface {
Site(string) *GoogleSearch
ToString() string
ToUrl() string
Intext(string) *GoogleSearch
Inurl(string) *GoogleSearch
Filetype(string) *GoogleSearch
Cache(string) *GoogleSearch
Related(string) *GoogleSearch
Ext(string) *GoogleSearch
Exclude(string) *GoogleSearch
}
EngineFactory is the main interface for search engine implementations.
type GoogleSearch ¶
type GoogleSearch struct {
EngineFactory
// contains filtered or unexported fields
}
GoogleSearch is the Google implementation for Dorkgen
func (*GoogleSearch) Exclude ¶
func (e *GoogleSearch) Exclude(value string) *GoogleSearch
Exclude ...
func (*GoogleSearch) Filetype ¶
func (e *GoogleSearch) Filetype(filetype string) *GoogleSearch
Filetype ...
func (*GoogleSearch) ToString ¶
func (e *GoogleSearch) ToString() string
ToString converts all tags to a single request
Click to show internal directories.
Click to hide internal directories.