Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CampaignAggregations ¶
type CampaignAggregations struct {
CampaignType common.Aggregation `json:"campaignType,omitempty"`
}
type CampaignHits ¶
type CampaignHits struct { TotalHits int `json:"totalHits,omitempty"` Hits []map[string]interface{} `json:"hits,omitempty"` Aggregations CampaignAggregations `json:"aggregations,omitempty"` }
type SearchCampaignClient ¶
type SearchCampaignClient interface {
SearchCampaign(queryString string, from int, size int, sort string, active bool, searchFields map[string]interface{}) (CampaignHits, error)
}
func NewSearchCampaignClient ¶
func NewSearchCampaignClient(esUrl *url.URL) (SearchCampaignClient, error)
Click to show internal directories.
Click to hide internal directories.