Documentation ¶
Index ¶
Constants ¶
View Source
const AskBaseURL = "https://www.ask.com/web?q="
View Source
const BingBaseURL = "https://www.bing.com/search?q="
View Source
const GoogleBaseURL = "https://www.google.com/search?q="
View Source
const YahooBaseURL = "https://search.yahoo.com/search?p="
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AskSpider ¶
type AskSpider struct {
// contains filtered or unexported fields
}
func NewAskSpider ¶
func NewAskSpider() *AskSpider
func (*AskSpider) GetSearchEngineType ¶
func (a *AskSpider) GetSearchEngineType() domain.SearchEngineType
type BingSpider ¶
type BingSpider struct {
// contains filtered or unexported fields
}
func NewBingSpider ¶
func NewBingSpider() *BingSpider
func (*BingSpider) GetSearchEngineType ¶
func (b *BingSpider) GetSearchEngineType() domain.SearchEngineType
func (*BingSpider) Query ¶
func (b *BingSpider) Query(keyword domain.Keyword) (*domain.SearchEngine, error)
type GoogleSpider ¶
type GoogleSpider struct {
// contains filtered or unexported fields
}
func NewGoogleSpider ¶
func NewGoogleSpider() *GoogleSpider
func (*GoogleSpider) GetSearchEngineType ¶
func (g *GoogleSpider) GetSearchEngineType() domain.SearchEngineType
func (*GoogleSpider) Query ¶
func (g *GoogleSpider) Query(keyword domain.Keyword) (*domain.SearchEngine, error)
type YahooSpider ¶
type YahooSpider struct {
// contains filtered or unexported fields
}
func NewYahooSpider ¶
func NewYahooSpider() *YahooSpider
func (*YahooSpider) GetSearchEngineType ¶
func (y *YahooSpider) GetSearchEngineType() domain.SearchEngineType
func (*YahooSpider) Query ¶
func (y *YahooSpider) Query(keyword domain.Keyword) (*domain.SearchEngine, error)
Click to show internal directories.
Click to hide internal directories.