Documentation
¶
Index ¶
- type ElasticORM
- func (handler ElasticORM) Count(o interface{}) (int, error)
- func (handler ElasticORM) Delete(o interface{}) error
- func (handler ElasticORM) Get(o interface{}) error
- func (handler ElasticORM) GetBy(field string, value interface{}, t interface{}, to interface{}) (error, api.Result)
- func (handler ElasticORM) Save(o interface{}) error
- func (handler ElasticORM) Search(t interface{}, to interface{}, q *api.Query) (error, api.Result)
- func (handler ElasticORM) Update(o interface{}) error
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) Update ¶
func (handler ElasticORM) Update(o interface{}) error
Click to show internal directories.
Click to hide internal directories.