gelastic

package module
v0.0.0-...-42e0f3d Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

Gelastic

Gelastic is an Elasticsearch wrapper for Go that uses the net/http library.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gelastic

type Gelastic struct {
	ElasticEndpoint *http.Client
	ElasticUser     string
	ElasticPassword string

	ElasticTimeFormat string

	Address string
	Port    int
}

func (*Gelastic) AddDocument

func (g *Gelastic) AddDocument(index string, data any)

func (*Gelastic) InitClient

func (g *Gelastic) InitClient(Address string, Port int, User string, Pass string)

Jump to

Keyboard shortcuts

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