Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryEventAggregations ¶
type LibraryEventAggregations struct { Branch common.Aggregation `json:"branch,omitempty"` ServiceForm common.Aggregation `json:"serviceForm,omitempty"` TargetAudience common.Aggregation `json:"targetAudience,omitempty"` }
type LibraryEventHits ¶
type LibraryEventHits struct { TotalHits int `json:"totalHits,omitempty"` Hits []map[string]interface{} `json:"hits,omitempty"` Aggregations LibraryEventAggregations `json:"aggregations,omitempty"` }
type SearchLibraryEventClient ¶
type SearchLibraryEventClient interface {
SearchLibraryEvent(query string, searchFields map[string]interface{}, params Params) (LibraryEventHits, error)
}
func NewSearchLibraryEventClient ¶
func NewSearchLibraryEventClient(esUrl *url.URL) (SearchLibraryEventClient, error)
Click to show internal directories.
Click to hide internal directories.