Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticSearch ¶
type ElasticSearch struct {
// contains filtered or unexported fields
}
func New ¶
func New(host, scheme, index, namespace, awsKey, awsSecret string) (ElasticSearch, error)
New creates a new instance of an ES client for interaction with an AWS provied ES server
func (ElasticSearch) Delete ¶
func (e ElasticSearch) Delete(key string)
Delete removes an ES entry by key
func (ElasticSearch) Flush ¶
func (e ElasticSearch) Flush()
Flush tells ES to free memory from the index and flush data to disk.
func (ElasticSearch) Get ¶
func (e ElasticSearch) Get(key string) []byte
Get attempts to grab ES entries by key, index and doctype
Click to show internal directories.
Click to hide internal directories.