Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) DBDrop(ctx context.Context, in *req.BaseReq) ([]byte, error)
- func (c Client) Do(request *http.Request) ([]byte, error)
- func (c *Client) Index(ctx context.Context, in *req.IndexReq) ([]byte, error)
- func (c *Client) IndexBatch(ctx context.Context, in *req.IndexBatchReq) ([]byte, error)
- func (c *Client) IndexRemove(ctx context.Context, in *req.IndexRemoveReq) ([]byte, error)
- func (c *Client) Query(ctx context.Context, in *req.QueryReq) ([]byte, error)
- func (c *Client) Status(ctx context.Context, in *req.BaseReq) ([]byte, error)
- func (c *Client) WordCut(ctx context.Context, in *req.BaseReq) ([]byte, error)
Constants ¶
View Source
const ( RouteIndex = "/api/index" RouteIndexBatch = "/api/index/batch" RouteIndexRemove = "/api/index/remove" RouteQuery = "/api/query" RouteStatus = "/api/status" RouteDBDrop = "/api/db/drop" RouteWordCut = "/api/word/cut" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.