elastic

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDateType

func CheckDateType(field interface{}) (*google_proto.Date, bool)

CheckDateType ...

func CheckTimestampType

func CheckTimestampType(field interface{}) (*timestamp.Timestamp, bool)

CheckTimestampType ...

func DoubleSlice

func DoubleSlice(s interface{}) []interface{}

DoubleSlice ...

func GetTypeName

func GetTypeName(name string) string

GetTypeName ...

func IsEnumAll

func IsEnumAll(vv interface{}) bool

IsEnumAll ...

func IsNil

func IsNil(field interface{}) bool

IsNil ...

func IsZero

func IsZero(field interface{}) bool

IsZero ...

func MakeKeyEsMap

func MakeKeyEsMap(m map[string]interface{}, key string) map[string]interface{}

MakeKeyEsMap ...

func MakeKeyMap

func MakeKeyMap(m *map[string]interface{}, key string) *map[string]interface{}

MakeKeyMap ...

Types

type MapRangeSearch

type MapRangeSearch struct {
	MapRangeTmStampSearch map[string]*RangeTmstampSearch
}

MapRangeDateSearch ...

func (*MapRangeSearch) AddFrom

func (r *MapRangeSearch) AddFrom(name string, vv interface{}, lower bool) bool

AddFrom ...

func (*MapRangeSearch) AddTo

func (r *MapRangeSearch) AddTo(name string, vv interface{}, upper bool) bool

AddTo ...

type RangeQuery

type RangeQuery struct {
	MapQuery map[string]*elasticPkg.RangeQuery
}

RangeQuery ...

func (*RangeQuery) NewRangeQuery

func (r *RangeQuery) NewRangeQuery(name string) *elasticPkg.RangeQuery

NewRangeQuery ...

type RangeTmstampSearch

type RangeTmstampSearch struct {
	From, To     int64
	Upper, Lower bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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