package
0.2.3
Repository: https://github.com/vigneshv59/typesense-go.git
Documentation: pkg.go.dev

# Packages

Package circuit implements the Circuit Breaker pattern for http client.
No description provided by the author

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateCollectionRequest calls the generic CreateCollection builder with application/json body.
NewCreateCollectionRequestWithBody generates requests for CreateCollection with any type of body.
NewCreateKeyRequest calls the generic CreateKey builder with application/json body.
NewCreateKeyRequestWithBody generates requests for CreateKey with any type of body.
NewDebugRequest generates requests for Debug.
NewDeleteAliasRequest generates requests for DeleteAlias.
NewDeleteCollectionRequest generates requests for DeleteCollection.
NewDeleteDocumentRequest generates requests for DeleteDocument.
NewDeleteDocumentsRequest generates requests for DeleteDocuments.
NewDeleteKeyRequest generates requests for DeleteKey.
NewDeleteSearchOverrideRequest generates requests for DeleteSearchOverride.
NewDeleteSearchSynonymRequest generates requests for DeleteSearchSynonym.
NewExportDocumentsRequest generates requests for ExportDocuments.
NewGetAliasesRequest generates requests for GetAliases.
NewGetAliasRequest generates requests for GetAlias.
NewGetCollectionRequest generates requests for GetCollection.
NewGetCollectionsRequest generates requests for GetCollections.
NewGetDocumentRequest generates requests for GetDocument.
NewGetKeyRequest generates requests for GetKey.
NewGetKeysRequest generates requests for GetKeys.
NewGetSearchOverrideRequest generates requests for GetSearchOverride.
NewGetSearchOverridesRequest generates requests for GetSearchOverrides.
NewGetSearchSynonymRequest generates requests for GetSearchSynonym.
NewGetSearchSynonymsRequest generates requests for GetSearchSynonyms.
NewHealthRequest generates requests for Health.
NewImportDocumentsRequestWithBody generates requests for ImportDocuments with any type of body.
NewIndexDocumentRequest calls the generic IndexDocument builder with application/json body.
NewIndexDocumentRequestWithBody generates requests for IndexDocument with any type of body.
NewSearchCollectionRequest generates requests for SearchCollection.
NewTakeSnapshotRequest generates requests for TakeSnapshot.
NewUpdateDocumentRequest calls the generic UpdateDocument builder with application/json body.
NewUpdateDocumentRequestWithBody generates requests for UpdateDocument with any type of body.
NewUpsertAliasRequest calls the generic UpsertAlias builder with application/json body.
NewUpsertAliasRequestWithBody generates requests for UpsertAlias with any type of body.
NewUpsertSearchOverrideRequest calls the generic UpsertSearchOverride builder with application/json body.
NewUpsertSearchOverrideRequestWithBody generates requests for UpsertSearchOverride with any type of body.
NewUpsertSearchSynonymRequest calls the generic UpsertSearchSynonym builder with application/json body.
NewUpsertSearchSynonymRequestWithBody generates requests for UpsertSearchSynonym with any type of body.
NewVoteRequest generates requests for Vote.
ParseCreateCollectionResponse parses an HTTP response from a CreateCollectionWithResponse call.
ParseCreateKeyResponse parses an HTTP response from a CreateKeyWithResponse call.
ParseDebugResponse parses an HTTP response from a DebugWithResponse call.
ParseDeleteAliasResponse parses an HTTP response from a DeleteAliasWithResponse call.
ParseDeleteCollectionResponse parses an HTTP response from a DeleteCollectionWithResponse call.
ParseDeleteDocumentResponse parses an HTTP response from a DeleteDocumentWithResponse call.
ParseDeleteDocumentsResponse parses an HTTP response from a DeleteDocumentsWithResponse call.
ParseDeleteKeyResponse parses an HTTP response from a DeleteKeyWithResponse call.
ParseDeleteSearchOverrideResponse parses an HTTP response from a DeleteSearchOverrideWithResponse call.
ParseDeleteSearchSynonymResponse parses an HTTP response from a DeleteSearchSynonymWithResponse call.
ParseExportDocumentsResponse parses an HTTP response from a ExportDocumentsWithResponse call.
ParseGetAliasesResponse parses an HTTP response from a GetAliasesWithResponse call.
ParseGetAliasResponse parses an HTTP response from a GetAliasWithResponse call.
ParseGetCollectionResponse parses an HTTP response from a GetCollectionWithResponse call.
ParseGetCollectionsResponse parses an HTTP response from a GetCollectionsWithResponse call.
ParseGetDocumentResponse parses an HTTP response from a GetDocumentWithResponse call.
ParseGetKeyResponse parses an HTTP response from a GetKeyWithResponse call.
ParseGetKeysResponse parses an HTTP response from a GetKeysWithResponse call.
ParseGetSearchOverrideResponse parses an HTTP response from a GetSearchOverrideWithResponse call.
ParseGetSearchOverridesResponse parses an HTTP response from a GetSearchOverridesWithResponse call.
ParseGetSearchSynonymResponse parses an HTTP response from a GetSearchSynonymWithResponse call.
ParseGetSearchSynonymsResponse parses an HTTP response from a GetSearchSynonymsWithResponse call.
ParseHealthResponse parses an HTTP response from a HealthWithResponse call.
ParseImportDocumentsResponse parses an HTTP response from a ImportDocumentsWithResponse call.
ParseIndexDocumentResponse parses an HTTP response from a IndexDocumentWithResponse call.
ParseSearchCollectionResponse parses an HTTP response from a SearchCollectionWithResponse call.
ParseTakeSnapshotResponse parses an HTTP response from a TakeSnapshotWithResponse call.
ParseUpdateDocumentResponse parses an HTTP response from a UpdateDocumentWithResponse call.
ParseUpsertAliasResponse parses an HTTP response from a UpsertAliasWithResponse call.
ParseUpsertSearchOverrideResponse parses an HTTP response from a UpsertSearchOverrideWithResponse call.
ParseUpsertSearchSynonymResponse parses an HTTP response from a UpsertSearchSynonymWithResponse call.
ParseVoteResponse parses an HTTP response from a VoteWithResponse call.
No description provided by the author
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

No description provided by the author
No description provided by the author

# Structs

ApiKey defines model for ApiKey.
ApiKeySchema defines model for ApiKeySchema.
ApiKeysResponse defines model for ApiKeysResponse.
ApiResponse defines model for ApiResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Collection defines model for Collection.
CollectionAlias defines model for CollectionAlias.
CollectionAliasesResponse defines model for CollectionAliasesResponse.
CollectionAliasSchema defines model for CollectionAliasSchema.
CollectionSchema defines model for CollectionSchema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteDocumentsParams defines parameters for DeleteDocuments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Field defines model for Field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HealthStatus defines model for HealthStatus.
No description provided by the author
ImportDocumentsParams defines parameters for ImportDocuments.
No description provided by the author
IndexDocumentParams defines parameters for IndexDocument.
No description provided by the author
SearchCollectionParams defines parameters for SearchCollection.
No description provided by the author
SearchGroupedHit defines model for SearchGroupedHit.
SearchHighlight defines model for SearchHighlight.
SearchOverride defines model for SearchOverride.
SearchOverrideExclude defines model for SearchOverrideExclude.
SearchOverrideInclude defines model for SearchOverrideInclude.
SearchOverrideRule defines model for SearchOverrideRule.
SearchOverrideSchema defines model for SearchOverrideSchema.
SearchOverridesResponse defines model for SearchOverridesResponse.
SearchResult defines model for SearchResult.
SearchResultHit defines model for SearchResultHit.
SearchSynonym defines model for SearchSynonym.
SearchSynonymSchema defines model for SearchSynonymSchema.
SearchSynonymsResponse defines model for SearchSynonymsResponse.
SuccessStatus defines model for SuccessStatus.
TakeSnapshotParams defines parameters for TakeSnapshot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
IndexDocumentJSONBody defines parameters for IndexDocument.
UpdateDocumentJSONBody defines parameters for UpdateDocument.

# Type aliases

ClientOption allows setting custom parameters during construction.
CreateCollectionJSONBody defines parameters for CreateCollection.
CreateCollectionJSONRequestBody defines body for CreateCollection for application/json ContentType.
CreateKeyJSONBody defines parameters for CreateKey.
CreateKeyJSONRequestBody defines body for CreateKey for application/json ContentType.
IndexDocumentJSONRequestBody defines body for IndexDocument for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
UpdateDocumentJSONRequestBody defines body for UpdateDocument for application/json ContentType.
UpsertAliasJSONBody defines parameters for UpsertAlias.
UpsertAliasJSONRequestBody defines body for UpsertAlias for application/json ContentType.
UpsertSearchOverrideJSONBody defines parameters for UpsertSearchOverride.
UpsertSearchOverrideJSONRequestBody defines body for UpsertSearchOverride for application/json ContentType.
UpsertSearchSynonymJSONBody defines parameters for UpsertSearchSynonym.
UpsertSearchSynonymJSONRequestBody defines body for UpsertSearchSynonym for application/json ContentType.