Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioVideoAggregations ¶
type AudioVideoAggregations struct { Branch common.Aggregation `json:"branch,omitempty"` TargetAudience common.Aggregation `json:"targetAudience,omitempty"` MediaSource common.Aggregation `json:"mediaSource,omitempty"` Type common.Aggregation `json:"type,omitempty"` }
type AudioVideoHits ¶
type AudioVideoHits struct { TotalHits int `json:"totalHits,omitempty"` Hits []map[string]interface{} `json:"hits,omitempty"` Aggregations AudioVideoAggregations `json:"aggregations,omitempty"` }
type SearchAudioVideoClient ¶
type SearchAudioVideoClient interface {
SearchAudioVideo(queryString string, from int, size int, includeExpired bool, searchFields map[string]interface{}) (AudioVideoHits, error)
}
func NewSearchAudioVideoClient ¶
func NewSearchAudioVideoClient(esUrl *url.URL) (SearchAudioVideoClient, error)
Click to show internal directories.
Click to hide internal directories.