...

Package websearch

import "github.com/Azure/azure-sdk-for-go/profiles/latest/cognitiveservices/websearch"
Overview
Index
Subdirectories

Overview ▾

Index ▾

Constants
func UserAgent() string
func Version() string
type Answer
type AnswerType
    func PossibleAnswerTypeValues() []AnswerType
type Article
type BaseClient
    func New() BaseClient
    func NewWithoutDefaults(endpoint string) 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
    func PossibleErrorCodeValues() []ErrorCode
type ErrorResponse
type ErrorSubCode
    func PossibleErrorSubCodeValues() []ErrorSubCode
type Freshness
    func PossibleFreshnessValues() []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
    func PossibleSafeSearchValues() []SafeSearch
type SearchResponse
type SearchResultsAnswer
type SpellSuggestions
type StructuredValue
type TextFormat
    func PossibleTextFormatValues() []TextFormat
type Thing
type TimeZone
type TimeZoneTimeZoneInformation
type Type
    func PossibleTypeValues() []Type
type TypeBasicResponseBase
    func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase
type VideoObject
type Videos
type WebClient
    func NewWebClient() WebClient
type WebMetaTag
type WebPage
type WebWebAnswer
type WebWebGrouping

Package files

models.go

Constants

const (
    DefaultEndpoint = original.DefaultEndpoint
)

func UserAgent

func UserAgent() string

func Version

func Version() string

type Answer

type Answer = original.Answer

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 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 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 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
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 Freshness

type Freshness = original.Freshness
const (
    Day   Freshness = original.Day
    Month Freshness = original.Month
    Week  Freshness = original.Week
)

func PossibleFreshnessValues

func PossibleFreshnessValues() []Freshness

type Identifiable

type Identifiable = original.Identifiable

type ImageObject

type ImageObject = original.ImageObject

type Images

type Images = original.Images

type Intangible

type Intangible = original.Intangible

type MediaObject

type MediaObject = original.MediaObject

type News

type News = original.News

type NewsArticle

type NewsArticle = original.NewsArticle

type Places

type Places = original.Places

type Query

type Query = original.Query

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 Response

type Response = original.Response

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 Thing

type Thing = original.Thing

type TimeZone

type TimeZone = original.TimeZone

type TimeZoneTimeZoneInformation

type TimeZoneTimeZoneInformation = original.TimeZoneTimeZoneInformation

type Type

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

type Videos = original.Videos

type WebClient

type WebClient = original.WebClient

func NewWebClient

func NewWebClient() WebClient

type WebMetaTag

type WebMetaTag = original.WebMetaTag

type WebPage

type WebPage = original.WebPage

type WebWebAnswer

type WebWebAnswer = original.WebWebAnswer

type WebWebGrouping

type WebWebGrouping = original.WebWebGrouping

Subdirectories

Name Synopsis
..
websearchapi