handler

package
v0.0.0-...-62f9091 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DocRefFieldsExists

func DocRefFieldsExists(dr *proto.DocRef) error

DocRefFieldsExists returns an error if DocRef struct has zero value

Types

type Elastic

type Elastic struct{}

Elastic struct

func (*Elastic) Create

func (es *Elastic) Create(ctx context.Context, req *proto.CreateRequest, rsp *proto.CreateResponse) error

Create srv handler

func (*Elastic) Delete

func (es *Elastic) Delete(ctx context.Context, req *proto.DeleteRequest, rsp *proto.DeleteResponse) error

Delete srv handler

func (*Elastic) Query

func (es *Elastic) Query(ctx context.Context, req *proto.QueryRequest, rsp *proto.QueryResponse) error

Query srv handler

func (*Elastic) Read

func (es *Elastic) Read(ctx context.Context, req *proto.ReadRequest, rsp *proto.ReadResponse) error

Read srv handler

func (*Elastic) Search

func (es *Elastic) Search(ctx context.Context, req *proto.SearchRequest, rsp *proto.SearchResponse) error

Search srv handler

func (*Elastic) Update

func (es *Elastic) Update(ctx context.Context, req *proto.UpdateRequest, rsp *proto.UpdateResponse) error

Update srv handler

Jump to

Keyboard shortcuts

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