elastic

package
v0.0.0-...-4827418 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	User     string = os.Getenv("ELASTIC_USERNAME")
	Password string = os.Getenv("ELASTIC_PASSWORD")
	Host     string = os.Getenv("ELASTIC_HOST")
)

Functions

This section is empty.

Types

type ElasticConnector

type ElasticConnector struct {
	Client *elasticsearch.Client
}

func (*ElasticConnector) Connect

func (e *ElasticConnector) Connect() (err error)

Connect initalised conenction to

Jump to

Keyboard shortcuts

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