model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESHit

type ESHit struct {
	ID     string      `json:"_id"`
	Index  string      `json:"_index"`
	Source interface{} `json:"_source"`
}

type ESResponse

type ESResponse struct {
	ScrollID string         `json:"_scroll_id"`
	Hits     ESResponseHits `json:"hits"`
}

type ESResponseHits

type ESResponseHits struct {
	Total ESTotal `json:"total"`
	Hits  []ESHit `json:"hits"`
}

type ESTotal

type ESTotal struct {
	Value    int    `json:"value"`
	Relation string `json:"relation"`
}

Jump to

Keyboard shortcuts

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