Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
Link string `json:"link"`
Title string `json:"title"`
ImageURL string `json:"imageUrl"`
}
Image 搜索结果
type Organic ¶
type Organic struct {
Time string `json:"time"`
Link string `json:"link"`
Title string `json:"title"`
Snippet string `json:"snippet"`
Content string `json:"content"`
}
Organic 搜索结果
type RelatedQuery ¶
type RelatedQuery struct {
Query string `json:"query"`
}
type Result ¶
type Result struct {
Time string `json:"time"`
Link string `json:"link"`
Image string `json:"image"`
Video string `json:"id"` // video id
Title string `json:"title"`
Snippet string `json:"snippet"`
Content string `json:"content"`
}
Result 搜索结果
type SearchResult ¶
type SearchResult struct {
SearchParameters struct {
Query string `json:"q"`
Type string `json:"type"`
Engine string `json:"engine"`
Num int `json:"num"`
} `json:"searchParameters"`
Organic []Organic `json:"organic"`
Images []Image `json:"images"`
Videos []Video `json:"videos"`
Related []RelatedQuery `json:"relatedSearches"`
}
SearchResult 搜索结果
Click to show internal directories.
Click to hide internal directories.