elasticsearch

package
v0.0.0-...-74814d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticClient

type ElasticClient struct {
	Client *elastic.Client
	// contains filtered or unexported fields
}

func ElasticSource

func ElasticSource() *ElasticClient

func NewElasticStorage

func NewElasticStorage(index string, urls ...string) (*ElasticClient, error)

func (*ElasticClient) Bulk

func (es *ElasticClient) Bulk(v ...interface{}) error

func (*ElasticClient) Run

func (es *ElasticClient) Run()

func (*ElasticClient) Shutdown

func (es *ElasticClient) Shutdown()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL