api

package
v0.0.0-...-4d9e21f Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2016 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertDoc

type InsertDoc func(*InsertDocumentReq) (*InsertDocumentResp, rpc.ErrStr)

type InsertDocumentReq

type InsertDocumentReq struct {
	Id      uint64
	Content string
}

type InsertDocumentResp

type InsertDocumentResp struct {
	Success bool
}

type SearchDoc

type SearchDoc func(*SearchDocumentReq) (*SearchDocumentResp, rpc.ErrStr)

type SearchDocumentReq

type SearchDocumentReq struct {
	Keyword string
}

type SearchDocumentResp

type SearchDocumentResp struct {
	DocIds []uint64
}

Jump to

Keyboard shortcuts

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