document

package
v0.0.0-...-7b3ddb2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UrlQueryFrom            = "from"
	UrlQuerySize            = "size"
	UrlQueryRouting         = "routing"
	UrlQueryTypedKey        = "typed_keys"
	UrlQueryVersion         = "version"
	UrlQueryRetryOnConflict = "retry_on_conflict"
	UrlQueryOpType          = "op_type"
	UrlQueryRefresh         = "refresh"
	UrlQueryURISort         = "sort"
	UrlQueryTimeout         = "timeout"
)
View Source
const (
	UrlParamDbName    = "db_name"
	UrlParamSpaceName = "space_name"
	UrlParamDocID     = "doc_id"
)

Variables

This section is empty.

Functions

func ExportDocumentHandler

func ExportDocumentHandler(httpServer *netutil.Server, client *client.Client, monitor monitoring.Monitor)

func ExportRpcHandler

func ExportRpcHandler(rpcServer *grpc.Server, client *client.Client, monitor monitoring.Monitor)

Types

type DocumentHandler

type DocumentHandler struct {
	// contains filtered or unexported fields
}

func (*DocumentHandler) ExportToServer

func (handler *DocumentHandler) ExportToServer() error

type RawReqArgs

type RawReqArgs map[string]string

type RawReqBody

type RawReqBody []byte

type RpcHandler

type RpcHandler struct {
	// contains filtered or unexported fields
}

func (*RpcHandler) Search

func (handler *RpcHandler) Search(ctx context.Context, req *pspb.RpcSearchRequest) (def *pspb.RpcSearchResponse, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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