...

Package websearchapi

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch/websearchapi"
Overview
Index

Overview ▾

Index ▾

Package files

interfaces.go

type WebClientAPI

WebClientAPI contains the set of methods on the WebClient type.

type WebClientAPI interface {
    Search(ctx context.Context, query string, acceptLanguage string, pragma string, userAgent string, clientID string, clientIP string, location string, answerCount *int32, countryCode string, count *int32, freshness websearch.Freshness, market string, offset *int32, promote []websearch.AnswerType, responseFilter []websearch.AnswerType, safeSearch websearch.SafeSearch, setLang string, textDecorations *bool, textFormat websearch.TextFormat) (result websearch.SearchResponse, err error)
}