elastic

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticORM

type ElasticORM struct {
	Client *index.ElasticsearchClient
}

func (ElasticORM) Count

func (handler ElasticORM) Count(o interface{}) (int, error)

func (ElasticORM) Delete

func (handler ElasticORM) Delete(o interface{}) error

func (ElasticORM) Get

func (handler ElasticORM) Get(o interface{}) error

func (ElasticORM) GetBy

func (handler ElasticORM) GetBy(field string, value interface{}, t interface{}, to interface{}) (error, api.Result)

func (ElasticORM) Save

func (handler ElasticORM) Save(o interface{}) error

func (ElasticORM) Search

func (handler ElasticORM) Search(t interface{}, to interface{}, q *api.Query) (error, api.Result)

func (ElasticORM) Update

func (handler ElasticORM) Update(o interface{}) error

Jump to

Keyboard shortcuts

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