elasticclient

package
v0.0.0-...-2326054 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESClient

type ESClient struct {
	// contains filtered or unexported fields
}

func NewESClient

func NewESClient(url string) *ESClient

func (*ESClient) CreateIndexIfNotExist

func (esc *ESClient) CreateIndexIfNotExist(name string) (string, error)

func (*ESClient) Index

func (esc *ESClient) Index(indexName, docType, doc string) error

Jump to

Keyboard shortcuts

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