package
0.0.0-20190919062948-7871ec4a72ea
Repository: https://github.com/emi1997/console-app.git
Documentation: pkg.go.dev
# Functions
AddDocument lets you add a document to a given index.
AddIndex lets you add a new index.
AddMapping lets you add mapping.
DeleteDocument lets you delete a document from a given index.
DeleteIndex lets you delete an Index.
GetDocument lets you read documents from an index.
GetNewClient will throw error message if there is any, during the
call of NewClient
*/.
IndexExist checks if an index is already there.
UpdateDocument lets you update a specific document in a given index.
UpdateMapping lets you update the mapping of a given index.
# Variables
Client is being called by the main.go every time the app is being started.
NewMapping lets you add mapping.