17 lines
399 B
Go
17 lines
399 B
Go
package dorkgen
|
|
|
|
// EngineFactory is the main interface for
|
|
// search engine implementations.
|
|
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
|
|
}
|