Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Answer
- type Article
- type BaseClient
- type BasicAnswer
- type BasicArticle
- type BasicCreativeWork
- type BasicIdentifiable
- type BasicMediaObject
- type BasicResponse
- type BasicResponseBase
- type BasicSearchResultsAnswer
- type BasicThing
- type CreativeWork
- type Error
- type ErrorCode
- type ErrorResponse
- type ErrorSubCode
- type Freshness
- type Identifiable
- type ImageObject
- type MediaObject
- type News
- type NewsArticle
- type NewsClient
- type NewsTopic
- type Organization
- type Query
- type Response
- type ResponseBase
- type SafeSearch
- type SearchResultsAnswer
- type TextFormat
- type Thing
- type TrendingTopics
- type Type
- type VideoObject
Constants ¶
View Source
const (
DefaultEndpoint = original.DefaultEndpoint
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
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 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 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 MediaObject ¶
type MediaObject = original.MediaObject
type NewsArticle ¶
type NewsArticle = original.NewsArticle
type NewsClient ¶
type NewsClient = original.NewsClient
func NewNewsClient ¶
func NewNewsClient() NewsClient
type Organization ¶
type Organization = original.Organization
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 SearchResultsAnswer ¶
type SearchResultsAnswer = original.SearchResultsAnswer
type TextFormat ¶
type TextFormat = original.TextFormat
const ( HTML TextFormat = original.HTML Raw TextFormat = original.Raw )
func PossibleTextFormatValues ¶
func PossibleTextFormatValues() []TextFormat
type TrendingTopics ¶
type TrendingTopics = original.TrendingTopics
type Type ¶
const ( TypeAnswer Type = original.TypeAnswer TypeArticle Type = original.TypeArticle TypeCreativeWork Type = original.TypeCreativeWork TypeErrorResponse Type = original.TypeErrorResponse TypeIdentifiable Type = original.TypeIdentifiable TypeImageObject Type = original.TypeImageObject TypeMediaObject Type = original.TypeMediaObject TypeNews Type = original.TypeNews TypeNewsArticle Type = original.TypeNewsArticle TypeNewsTopic Type = original.TypeNewsTopic TypeOrganization Type = original.TypeOrganization TypeResponse Type = original.TypeResponse TypeResponseBase Type = original.TypeResponseBase TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer TypeThing Type = original.TypeThing TypeTrendingTopics Type = original.TypeTrendingTopics TypeVideoObject Type = original.TypeVideoObject )
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
type VideoObject ¶
type VideoObject = original.VideoObject
Click to show internal directories.
Click to hide internal directories.