Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SummarizeResponseError ¶
If the response contains an error, this function returns an error that summarize it
Types ¶
type TagsController ¶
type TagsController interface { // Get all available tags GetAvailableTags(ctx context.Context, request tagsquery.GetAvailableTagsRequest) (tagsquery.GetAvailableTagsResponse, error) // Get the values and appearance count of all tags as specified by request.Tags GetTagsValues(ctx context.Context, request tagsquery.TagValuesRequest, tags []string) (map[string]*tagsquery.TagValuesResponse, error) // Get statistics for numeric tag values GetTagsStatistics(ctx context.Context, req tagsquery.TagStatisticsRequest, tag string) (*tagsquery.TagStatisticsResponse, error) }
func NewTagsController ¶
func NewTagsController(logger *zap.Logger, rawClient *elasticsearch.Client, client *elasticsearch.TypedClient, idx string) (TagsController, error)
Click to show internal directories.
Click to hide internal directories.