Versions in this module Expand all Collapse all v24 v24.1.0 Jan 15, 2019 v24.0.0 Dec 19, 2018 Changes in this version + const DefaultEndpoint + func UserAgent() string + func Version() string + type ActionType string + const Edit + const Load + func PossibleActionTypeValues() []ActionType + type Answer struct + ID *string + Type Type + func (a Answer) AsAnswer() (*Answer, bool) + func (a Answer) AsBasicAnswer() (BasicAnswer, bool) + func (a Answer) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (a Answer) AsBasicResponse() (BasicResponse, bool) + func (a Answer) AsBasicResponseBase() (BasicResponseBase, bool) + func (a Answer) AsErrorResponse() (*ErrorResponse, bool) + func (a Answer) AsIdentifiable() (*Identifiable, bool) + func (a Answer) AsResponse() (*Response, bool) + func (a Answer) AsResponseBase() (*ResponseBase, bool) + func (a Answer) AsSpellCheck() (*SpellCheck, bool) + func (a Answer) MarshalJSON() ([]byte, error) + type BaseClient struct + Endpoint string + func New() BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) SpellCheckerMethod(ctx context.Context, textParameter string, acceptLanguage string, ...) (result SpellCheck, err error) + func (client BaseClient) SpellCheckerMethodPreparer(ctx context.Context, textParameter string, acceptLanguage string, ...) (*http.Request, error) + func (client BaseClient) SpellCheckerMethodResponder(resp *http.Response) (result SpellCheck, err error) + func (client BaseClient) SpellCheckerMethodSender(req *http.Request) (*http.Response, error) + type BasicAnswer interface + AsAnswer func() (*Answer, bool) + AsSpellCheck func() (*SpellCheck, bool) + type BasicIdentifiable interface + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicResponse func() (BasicResponse, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsIdentifiable func() (*Identifiable, bool) + AsResponse func() (*Response, bool) + AsSpellCheck func() (*SpellCheck, bool) + type BasicResponse interface + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsResponse func() (*Response, bool) + AsSpellCheck func() (*SpellCheck, bool) + type BasicResponseBase interface + AsAnswer func() (*Answer, bool) + AsBasicAnswer func() (BasicAnswer, bool) + AsBasicIdentifiable func() (BasicIdentifiable, bool) + AsBasicResponse func() (BasicResponse, bool) + AsErrorResponse func() (*ErrorResponse, bool) + AsIdentifiable func() (*Identifiable, bool) + AsResponse func() (*Response, bool) + AsResponseBase func() (*ResponseBase, bool) + AsSpellCheck func() (*SpellCheck, bool) + type Error struct + Code ErrorCode + Message *string + MoreDetails *string + Parameter *string + SubCode ErrorSubCode + Value *string + type ErrorCode string + const InsufficientAuthorization + const InvalidAuthorization + const InvalidRequest + const None + const RateLimitExceeded + const ServerError + func PossibleErrorCodeValues() []ErrorCode + type ErrorResponse struct + Errors *[]Error + ID *string + Type Type + func (er ErrorResponse) AsAnswer() (*Answer, bool) + func (er ErrorResponse) AsBasicAnswer() (BasicAnswer, bool) + func (er ErrorResponse) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (er ErrorResponse) AsBasicResponse() (BasicResponse, bool) + func (er ErrorResponse) AsBasicResponseBase() (BasicResponseBase, bool) + func (er ErrorResponse) AsErrorResponse() (*ErrorResponse, bool) + func (er ErrorResponse) AsIdentifiable() (*Identifiable, bool) + func (er ErrorResponse) AsResponse() (*Response, bool) + func (er ErrorResponse) AsResponseBase() (*ResponseBase, bool) + func (er ErrorResponse) AsSpellCheck() (*SpellCheck, bool) + func (er ErrorResponse) MarshalJSON() ([]byte, error) + type ErrorSubCode string + const AuthorizationDisabled + const AuthorizationExpired + const AuthorizationMissing + const AuthorizationRedundancy + const Blocked + const HTTPNotAllowed + const NotImplemented + const ParameterInvalidValue + const ParameterMissing + const ResourceError + const UnexpectedError + func PossibleErrorSubCodeValues() []ErrorSubCode + type ErrorType string + const RepeatedToken + const UnknownToken + func PossibleErrorTypeValues() []ErrorType + type Identifiable struct + ID *string + Type Type + func (i Identifiable) AsAnswer() (*Answer, bool) + func (i Identifiable) AsBasicAnswer() (BasicAnswer, bool) + func (i Identifiable) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (i Identifiable) AsBasicResponse() (BasicResponse, bool) + func (i Identifiable) AsBasicResponseBase() (BasicResponseBase, bool) + func (i Identifiable) AsErrorResponse() (*ErrorResponse, bool) + func (i Identifiable) AsIdentifiable() (*Identifiable, bool) + func (i Identifiable) AsResponse() (*Response, bool) + func (i Identifiable) AsResponseBase() (*ResponseBase, bool) + func (i Identifiable) AsSpellCheck() (*SpellCheck, bool) + func (i Identifiable) MarshalJSON() ([]byte, error) + type Response struct + ID *string + Type Type + func (r Response) AsAnswer() (*Answer, bool) + func (r Response) AsBasicAnswer() (BasicAnswer, bool) + func (r Response) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (r Response) AsBasicResponse() (BasicResponse, bool) + func (r Response) AsBasicResponseBase() (BasicResponseBase, bool) + func (r Response) AsErrorResponse() (*ErrorResponse, bool) + func (r Response) AsIdentifiable() (*Identifiable, bool) + func (r Response) AsResponse() (*Response, bool) + func (r Response) AsResponseBase() (*ResponseBase, bool) + func (r Response) AsSpellCheck() (*SpellCheck, bool) + func (r Response) MarshalJSON() ([]byte, error) + type ResponseBase struct + Type Type + func (rb ResponseBase) AsAnswer() (*Answer, bool) + func (rb ResponseBase) AsBasicAnswer() (BasicAnswer, bool) + func (rb ResponseBase) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (rb ResponseBase) AsBasicResponse() (BasicResponse, bool) + func (rb ResponseBase) AsBasicResponseBase() (BasicResponseBase, bool) + func (rb ResponseBase) AsErrorResponse() (*ErrorResponse, bool) + func (rb ResponseBase) AsIdentifiable() (*Identifiable, bool) + func (rb ResponseBase) AsResponse() (*Response, bool) + func (rb ResponseBase) AsResponseBase() (*ResponseBase, bool) + func (rb ResponseBase) AsSpellCheck() (*SpellCheck, bool) + func (rb ResponseBase) MarshalJSON() ([]byte, error) + type SpellCheck struct + FlaggedTokens *[]SpellingFlaggedToken + ID *string + Type Type + func (sc SpellCheck) AsAnswer() (*Answer, bool) + func (sc SpellCheck) AsBasicAnswer() (BasicAnswer, bool) + func (sc SpellCheck) AsBasicIdentifiable() (BasicIdentifiable, bool) + func (sc SpellCheck) AsBasicResponse() (BasicResponse, bool) + func (sc SpellCheck) AsBasicResponseBase() (BasicResponseBase, bool) + func (sc SpellCheck) AsErrorResponse() (*ErrorResponse, bool) + func (sc SpellCheck) AsIdentifiable() (*Identifiable, bool) + func (sc SpellCheck) AsResponse() (*Response, bool) + func (sc SpellCheck) AsResponseBase() (*ResponseBase, bool) + func (sc SpellCheck) AsSpellCheck() (*SpellCheck, bool) + func (sc SpellCheck) MarshalJSON() ([]byte, error) + type SpellingFlaggedToken struct + Offset *int32 + PingURLSuffix *string + Suggestions *[]SpellingTokenSuggestion + Token *string + Type ErrorType + type SpellingTokenSuggestion struct + PingURLSuffix *string + Score *float64 + Suggestion *string + type Type string + const TypeAnswer + const TypeErrorResponse + const TypeIdentifiable + const TypeResponse + const TypeResponseBase + const TypeSpellCheck + func PossibleTypeValues() []Type Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v15 gopkg.in/azure/azure-sdk-for-go.v16 gopkg.in/azure/azure-sdk-for-go.v17 gopkg.in/azure/azure-sdk-for-go.v18 gopkg.in/azure/azure-sdk-for-go.v19 gopkg.in/azure/azure-sdk-for-go.v20 gopkg.in/azure/azure-sdk-for-go.v21 gopkg.in/azure/azure-sdk-for-go.v22 gopkg.in/azure/azure-sdk-for-go.v23 gopkg.in/azure/azure-sdk-for-go.v25 gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v27 gopkg.in/azure/azure-sdk-for-go.v28 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v30 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v42 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49