package
0.0.0-20220111050806-728e8f996ce0
Repository: https://github.com/rkrohk/gobot.git
Documentation: pkg.go.dev

# Functions

Index function takes a telagram document, converts it to base64 and sends it to elasticsearch to index.
Index function takes a telagram document, converts it to base64 and sends it to elasticsearch to index.
RemoveDocument removes a particular document from elasticsearch.
RemoveIndex removes the entire index from elasticsearch.
Search function takes a tag and a query string and returns an array of fileIDs whichContain that particular query.

# Structs

Document represents an elasticsearch document.
Result is a representation of the ElasticSearch return.