newssearch

package
v49.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEndpoint = original.DefaultEndpoint
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

func Version

func Version() string

Types

type Answer

type Answer = original.Answer

type Article

type Article = original.Article

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 Error

type Error = original.Error

type ErrorCode

type ErrorCode = original.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

func PossibleErrorSubCodeValues

func PossibleErrorSubCodeValues() []ErrorSubCode

type Freshness

type Freshness = original.Freshness

func PossibleFreshnessValues

func PossibleFreshnessValues() []Freshness

type Identifiable

type Identifiable = original.Identifiable

type ImageObject

type ImageObject = original.ImageObject

type MediaObject

type MediaObject = original.MediaObject

type News

type News = original.News

type NewsArticle

type NewsArticle = original.NewsArticle

type NewsClient

type NewsClient = original.NewsClient

func NewNewsClient

func NewNewsClient() NewsClient

type NewsTopic

type NewsTopic = original.NewsTopic

type Organization

type Organization = original.Organization

type Query

type Query = original.Query

type Response

type Response = original.Response

type ResponseBase

type ResponseBase = original.ResponseBase

type SafeSearch

type SafeSearch = original.SafeSearch

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 Thing

type Thing = original.Thing

type TrendingTopics

type TrendingTopics = original.TrendingTopics

type Type

type Type = original.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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL