editorialcontent

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 EditorialContentHits

type EditorialContentHits struct {
	TotalHits int64                    `json:"totalHits,omitempty"`
	Hits      []map[string]interface{} `json:"hits,omitempty"`
}

type SearchEditorialClient

type SearchEditorialClient interface {
	SearchEditorial(contentType string, from int, size int, searchFields map[string]interface{}) (EditorialContentHits, error)
}

func NewSearchEditorialClient

func NewSearchEditorialClient(esUrl *url.URL) (SearchEditorialClient, error)

Jump to

Keyboard shortcuts

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