Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Answer
- type AnswerType
- type Article
- type BaseClient
- type BasicAnswer
- type BasicArticle
- type BasicCreativeWork
- type BasicIdentifiable
- type BasicIntangible
- type BasicMediaObject
- type BasicResponse
- type BasicResponseBase
- type BasicSearchResultsAnswer
- type BasicThing
- type BasicWebWebGrouping
- type Computation
- type CreativeWork
- type Error
- type ErrorCode
- type ErrorResponse
- type ErrorSubCode
- type Freshness
- type Identifiable
- type ImageObject
- type Images
- type Intangible
- type MediaObject
- type News
- type NewsArticle
- type Places
- type Query
- type QueryContext
- type RankingRankingGroup
- type RankingRankingItem
- type RankingRankingResponse
- type RelatedSearchesRelatedSearchAnswer
- type Response
- type ResponseBase
- type SafeSearch
- type SearchResponse
- type SearchResultsAnswer
- type SpellSuggestions
- type StructuredValue
- type TextFormat
- type Thing
- type TimeZone
- type TimeZoneTimeZoneInformation
- type Type
- type TypeBasicResponseBase
- type VideoObject
- type Videos
- type WebClient
- type WebMetaTag
- type WebPage
- type WebWebAnswer
- type WebWebGrouping
Constants ¶
View Source
const (
DefaultEndpoint = original.DefaultEndpoint
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnswerType ¶
type AnswerType = original.AnswerType
const ( AnswerTypeComputation AnswerType = original.AnswerTypeComputation AnswerTypeImages AnswerType = original.AnswerTypeImages AnswerTypeNews AnswerType = original.AnswerTypeNews AnswerTypeRelatedSearches AnswerType = original.AnswerTypeRelatedSearches AnswerTypeSpellSuggestions AnswerType = original.AnswerTypeSpellSuggestions AnswerTypeTimeZone AnswerType = original.AnswerTypeTimeZone AnswerTypeVideos AnswerType = original.AnswerTypeVideos AnswerTypeWebPages AnswerType = original.AnswerTypeWebPages )
func PossibleAnswerTypeValues ¶
func PossibleAnswerTypeValues() []AnswerType
type BaseClient ¶
type BaseClient = original.BaseClient
func New ¶
func New() BaseClient
func NewWithoutDefaults ¶
func NewWithoutDefaults(endpoint string) BaseClient
type BasicAnswer ¶
type BasicAnswer = original.BasicAnswer
type BasicArticle ¶
type BasicArticle = original.BasicArticle
type BasicCreativeWork ¶
type BasicCreativeWork = original.BasicCreativeWork
type BasicIdentifiable ¶
type BasicIdentifiable = original.BasicIdentifiable
type BasicIntangible ¶
type BasicIntangible = original.BasicIntangible
type BasicMediaObject ¶
type BasicMediaObject = original.BasicMediaObject
type BasicResponse ¶
type BasicResponse = original.BasicResponse
type BasicResponseBase ¶
type BasicResponseBase = original.BasicResponseBase
type BasicSearchResultsAnswer ¶
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type BasicThing ¶
type BasicThing = original.BasicThing
type BasicWebWebGrouping ¶
type BasicWebWebGrouping = original.BasicWebWebGrouping
type Computation ¶
type Computation = original.Computation
type CreativeWork ¶
type CreativeWork = original.CreativeWork
type ErrorCode ¶
const ( InsufficientAuthorization ErrorCode = original.InsufficientAuthorization InvalidAuthorization ErrorCode = original.InvalidAuthorization InvalidRequest ErrorCode = original.InvalidRequest None ErrorCode = original.None RateLimitExceeded ErrorCode = original.RateLimitExceeded ServerError ErrorCode = original.ServerError )
func PossibleErrorCodeValues ¶
func PossibleErrorCodeValues() []ErrorCode
type ErrorResponse ¶
type ErrorResponse = original.ErrorResponse
type ErrorSubCode ¶
type ErrorSubCode = original.ErrorSubCode
const ( AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled AuthorizationExpired ErrorSubCode = original.AuthorizationExpired AuthorizationMissing ErrorSubCode = original.AuthorizationMissing AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy Blocked ErrorSubCode = original.Blocked HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed NotImplemented ErrorSubCode = original.NotImplemented ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue ParameterMissing ErrorSubCode = original.ParameterMissing ResourceError ErrorSubCode = original.ResourceError UnexpectedError ErrorSubCode = original.UnexpectedError )
func PossibleErrorSubCodeValues ¶
func PossibleErrorSubCodeValues() []ErrorSubCode
type Identifiable ¶
type Identifiable = original.Identifiable
type ImageObject ¶
type ImageObject = original.ImageObject
type Intangible ¶
type Intangible = original.Intangible
type MediaObject ¶
type MediaObject = original.MediaObject
type NewsArticle ¶
type NewsArticle = original.NewsArticle
type QueryContext ¶
type QueryContext = original.QueryContext
type RankingRankingGroup ¶
type RankingRankingGroup = original.RankingRankingGroup
type RankingRankingItem ¶
type RankingRankingItem = original.RankingRankingItem
type RankingRankingResponse ¶
type RankingRankingResponse = original.RankingRankingResponse
type RelatedSearchesRelatedSearchAnswer ¶
type RelatedSearchesRelatedSearchAnswer = original.RelatedSearchesRelatedSearchAnswer
type ResponseBase ¶
type ResponseBase = original.ResponseBase
type SafeSearch ¶
type SafeSearch = original.SafeSearch
const ( Moderate SafeSearch = original.Moderate Off SafeSearch = original.Off Strict SafeSearch = original.Strict )
func PossibleSafeSearchValues ¶
func PossibleSafeSearchValues() []SafeSearch
type SearchResponse ¶
type SearchResponse = original.SearchResponse
type SearchResultsAnswer ¶
type SearchResultsAnswer = original.SearchResultsAnswer
type SpellSuggestions ¶
type SpellSuggestions = original.SpellSuggestions
type StructuredValue ¶
type StructuredValue = original.StructuredValue
type TextFormat ¶
type TextFormat = original.TextFormat
const ( HTML TextFormat = original.HTML Raw TextFormat = original.Raw )
func PossibleTextFormatValues ¶
func PossibleTextFormatValues() []TextFormat
type TimeZoneTimeZoneInformation ¶
type TimeZoneTimeZoneInformation = original.TimeZoneTimeZoneInformation
type Type ¶
const (
TypeWebWebGrouping Type = original.TypeWebWebGrouping
)
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
type TypeBasicResponseBase ¶
type TypeBasicResponseBase = original.TypeBasicResponseBase
const ( TypeAnswer TypeBasicResponseBase = original.TypeAnswer TypeArticle TypeBasicResponseBase = original.TypeArticle TypeComputation TypeBasicResponseBase = original.TypeComputation TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable TypeImageObject TypeBasicResponseBase = original.TypeImageObject TypeImages TypeBasicResponseBase = original.TypeImages TypeIntangible TypeBasicResponseBase = original.TypeIntangible TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject TypeNews TypeBasicResponseBase = original.TypeNews TypeNewsArticle TypeBasicResponseBase = original.TypeNewsArticle TypePlaces TypeBasicResponseBase = original.TypePlaces TypeRelatedSearchesRelatedSearchAnswer TypeBasicResponseBase = original.TypeRelatedSearchesRelatedSearchAnswer TypeResponse TypeBasicResponseBase = original.TypeResponse TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase TypeSearchResponse TypeBasicResponseBase = original.TypeSearchResponse TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer TypeSpellSuggestions TypeBasicResponseBase = original.TypeSpellSuggestions TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue TypeThing TypeBasicResponseBase = original.TypeThing TypeTimeZone TypeBasicResponseBase = original.TypeTimeZone TypeVideoObject TypeBasicResponseBase = original.TypeVideoObject TypeVideos TypeBasicResponseBase = original.TypeVideos TypeWebPage TypeBasicResponseBase = original.TypeWebPage TypeWebWebAnswer TypeBasicResponseBase = original.TypeWebWebAnswer )
func PossibleTypeBasicResponseBaseValues ¶
func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase
type VideoObject ¶
type VideoObject = original.VideoObject
type WebClient ¶
func NewWebClient ¶
func NewWebClient() WebClient
type WebMetaTag ¶
type WebMetaTag = original.WebMetaTag
type WebWebAnswer ¶
type WebWebAnswer = original.WebWebAnswer
type WebWebGrouping ¶
type WebWebGrouping = original.WebWebGrouping
Click to show internal directories.
Click to hide internal directories.