elastic

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpClient = httpclient.CreateHttpClient(5, 30, 15).GetConn()
)

Functions

This section is empty.

Types

type Elastic

type Elastic struct {
}

func CreateElastic

func CreateElastic(addr, username, password string) *Elastic

func CreateElasticWithTrace added in v1.6.1

func CreateElasticWithTrace(addr, username, password string) *Elastic

func (*Elastic) GetConn

func (e *Elastic) GetConn() *elastic.Client

Jump to

Keyboard shortcuts

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