Documentation ¶
Index ¶
- func DocRefFieldsExists(dr *proto.DocRef) error
- type Elastic
- func (es *Elastic) Create(ctx context.Context, req *proto.CreateRequest, rsp *proto.CreateResponse) error
- func (es *Elastic) Delete(ctx context.Context, req *proto.DeleteRequest, rsp *proto.DeleteResponse) error
- func (es *Elastic) Query(ctx context.Context, req *proto.QueryRequest, rsp *proto.QueryResponse) error
- func (es *Elastic) Read(ctx context.Context, req *proto.ReadRequest, rsp *proto.ReadResponse) error
- func (es *Elastic) Search(ctx context.Context, req *proto.SearchRequest, rsp *proto.SearchResponse) error
- func (es *Elastic) Update(ctx context.Context, req *proto.UpdateRequest, rsp *proto.UpdateResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DocRefFieldsExists ¶
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
Click to show internal directories.
Click to hide internal directories.