...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch/websearchapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch/websearchapi

     1  package websearchapi
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  import (
    10  	"context"
    11  	"github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch"
    12  )
    13  
    14  // WebClientAPI contains the set of methods on the WebClient type.
    15  type WebClientAPI interface {
    16  	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)
    17  }
    18  
    19  var _ WebClientAPI = (*websearch.WebClient)(nil)
    20  

View as plain text