Documentation
¶
Index ¶
- type DeleteSearchHistoryRequest
- type DeleteSearchHistoryResponse
- type FacetResult
- type FacetValue
- type FilterOption
- type GetHotKeywordsRequest
- type GetHotKeywordsResponse
- type GetSearchHistoryRequest
- type GetSearchHistoryResponse
- type GetSearchSuggestionsRequest
- type GetSearchSuggestionsResponse
- type HotKeyword
- type ProductInfo
- type RemoveProductRequest
- type RemoveProductResponse
- type SaveSearchHistoryRequest
- type SaveSearchHistoryResponse
- type Search
- type SearchHistory
- type SearchProductsRequest
- type SearchProductsResponse
- type SortOption
- type SyncProductRequest
- type SyncProductResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteSearchHistoryRequest ¶
type DeleteSearchHistoryRequest = search.DeleteSearchHistoryRequest
type DeleteSearchHistoryResponse ¶
type DeleteSearchHistoryResponse = search.DeleteSearchHistoryResponse
type FacetResult ¶
type FacetResult = search.FacetResult
type FacetValue ¶
type FacetValue = search.FacetValue
type FilterOption ¶
type FilterOption = search.FilterOption
type GetHotKeywordsRequest ¶
type GetHotKeywordsRequest = search.GetHotKeywordsRequest
type GetHotKeywordsResponse ¶
type GetHotKeywordsResponse = search.GetHotKeywordsResponse
type GetSearchHistoryRequest ¶
type GetSearchHistoryRequest = search.GetSearchHistoryRequest
type GetSearchHistoryResponse ¶
type GetSearchHistoryResponse = search.GetSearchHistoryResponse
type GetSearchSuggestionsRequest ¶
type GetSearchSuggestionsRequest = search.GetSearchSuggestionsRequest
type GetSearchSuggestionsResponse ¶
type GetSearchSuggestionsResponse = search.GetSearchSuggestionsResponse
type HotKeyword ¶
type HotKeyword = search.HotKeyword
type ProductInfo ¶
type ProductInfo = search.ProductInfo
type RemoveProductRequest ¶
type RemoveProductRequest = search.RemoveProductRequest
type RemoveProductResponse ¶
type RemoveProductResponse = search.RemoveProductResponse
type SaveSearchHistoryRequest ¶
type SaveSearchHistoryRequest = search.SaveSearchHistoryRequest
type SaveSearchHistoryResponse ¶
type SaveSearchHistoryResponse = search.SaveSearchHistoryResponse
type Search ¶
type Search interface { // 商品搜索 SearchProducts(ctx context.Context, in *SearchProductsRequest, opts ...grpc.CallOption) (*SearchProductsResponse, error) GetHotKeywords(ctx context.Context, in *GetHotKeywordsRequest, opts ...grpc.CallOption) (*GetHotKeywordsResponse, error) GetSearchSuggestions(ctx context.Context, in *GetSearchSuggestionsRequest, opts ...grpc.CallOption) (*GetSearchSuggestionsResponse, error) SaveSearchHistory(ctx context.Context, in *SaveSearchHistoryRequest, opts ...grpc.CallOption) (*SaveSearchHistoryResponse, error) GetSearchHistory(ctx context.Context, in *GetSearchHistoryRequest, opts ...grpc.CallOption) (*GetSearchHistoryResponse, error) DeleteSearchHistory(ctx context.Context, in *DeleteSearchHistoryRequest, opts ...grpc.CallOption) (*DeleteSearchHistoryResponse, error) // 索引管理 SyncProduct(ctx context.Context, in *SyncProductRequest, opts ...grpc.CallOption) (*SyncProductResponse, error) RemoveProduct(ctx context.Context, in *RemoveProductRequest, opts ...grpc.CallOption) (*RemoveProductResponse, error) }
type SearchHistory ¶
type SearchHistory = search.SearchHistory
type SearchProductsRequest ¶
type SearchProductsRequest = search.SearchProductsRequest
type SearchProductsResponse ¶
type SearchProductsResponse = search.SearchProductsResponse
type SortOption ¶
type SortOption = search.SortOption
type SyncProductRequest ¶
type SyncProductRequest = search.SyncProductRequest
type SyncProductResponse ¶
type SyncProductResponse = search.SyncProductResponse
Click to show internal directories.
Click to hide internal directories.