Adding docs and ready for 1.0.0
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
c78e3d199e
commit
94dde03103
63 changed files with 394 additions and 5616 deletions
|
@ -1,11 +1,17 @@
|
|||
package api
|
||||
|
||||
// Index is used to sync the backend storage with
|
||||
// the database meta information
|
||||
//
|
||||
// POST /api/v1/index
|
||||
func (v1 *V1Client) Index() error {
|
||||
resp := v1.POST(nil, "/api/v1/index")
|
||||
return resp.Error
|
||||
}
|
||||
|
||||
// CancelIndex can be used to attempt to cancel a running index
|
||||
// operation
|
||||
//
|
||||
// DELETE /api/v1/index
|
||||
func (v1 *V1Client) CancelIndex() error {
|
||||
resp := v1.DELETE(nil, "/api/v1/index")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue