grpc

package
v4.3.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package grpc exposes the document store api in GRPC

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

func (*Handler) CountDocuments

func (h *Handler) CountDocuments(ctx context.Context, request *proto.ListDocumentsRequest) (*proto.CountDocumentsResponse, error)

func (*Handler) DeleteDocuments

func (h *Handler) DeleteDocuments(ctx context.Context, request *proto.DeleteDocumentsRequest) (*proto.DeleteDocumentsResponse, error)

func (*Handler) GetDocument

func (h *Handler) GetDocument(ctx context.Context, request *proto.GetDocumentRequest) (*proto.GetDocumentResponse, error)

func (*Handler) ListDocuments

func (h *Handler) ListDocuments(request *proto.ListDocumentsRequest, stream proto.DocStore_ListDocumentsServer) error

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) PutDocument

func (h *Handler) PutDocument(ctx context.Context, request *proto.PutDocumentRequest) (*proto.PutDocumentResponse, error)

func (*Handler) TriggerResync

func (h *Handler) TriggerResync(ctx context.Context, request *sync.ResyncRequest) (*sync.ResyncResponse, error)

TriggerResync clear search index and reindex all docs from DB

Jump to

Keyboard shortcuts

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