campaign

package
v0.0.0-...-9c67b44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL