rest

package
v0.0.0-...-d0cc832 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountRoutes

func MountRoutes() func(r chi.Router)
func Search() *search

Types

type EsSearchAggrTerms

type EsSearchAggrTerms map[string]esSearchAggr

EsSearchAggrTerms is aggregations parameter for es search api.

type EsSearchNestedAggrTerms

type EsSearchNestedAggrTerms map[string]esSearchNestedAggr

type ModuleMeta

type ModuleMeta struct {
	Public struct {
		Result []Result `json:"result"`
	} `json:"public"`
	Private struct {
		Result []Result `json:"result"`
	} `json:"private"`
	Protected struct {
		Result []Result `json:"result"`
	} `json:"protected"`
}

type Result

type Result struct {
	Lang   string   `json:"lang"`
	Fields []string `json:"fields"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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