Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityResult ¶
type EntityResult struct { LinkResult Type string Category string Image *Image }
func (*EntityResult) GetThumbnail ¶
func (r *EntityResult) GetThumbnail() *Image
type ImageResult ¶
func (*ImageResult) GetDesc ¶
func (r *ImageResult) GetDesc() string
func (*ImageResult) GetThumbnail ¶
func (r *ImageResult) GetThumbnail() *Image
func (*ImageResult) GetTitle ¶
func (r *ImageResult) GetTitle() string
type LinkResult ¶
func (*LinkResult) GetDesc ¶
func (r *LinkResult) GetDesc() string
func (*LinkResult) GetTitle ¶
func (r *LinkResult) GetTitle() string
func (*LinkResult) GetURL ¶
func (r *LinkResult) GetURL() *url.URL
type Region ¶
type Region struct { Code RegionCode Name string }
type RegionCode ¶
func MustParseRegionCode ¶
func MustParseRegionCode(s string) RegionCode
func ParseRegionCode ¶
func ParseRegionCode(s string) (RegionCode, error)
type ResultIterator ¶
type ResultIterator interface { base.PagedIterator Result() Result Token() Token }
type Searcher ¶
type Searcher interface { Search(ctx context.Context, req Request) ResultIterator ContinueSearch(ctx context.Context, tok Token) ResultIterator }
type ThumbnailResult ¶
type VideoResult ¶
type VideoResult struct { LinkResult Thumbnail *Image }
func (*VideoResult) GetThumbnail ¶
func (r *VideoResult) GetThumbnail() *Image
Click to show internal directories.
Click to hide internal directories.