elasticsearch

package module
v0.0.0-...-b1cb751 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppService

type AppService struct {
	Host    []string
	User    string
	Auth    string
	Timeout time.Duration
}

func (*AppService) ClientV7

func (e *AppService) ClientV7() (*elasticsearch7.Client, error)

func (*AppService) ClientV8

func (e *AppService) ClientV8() (*elasticsearch8.Client, error)

func (*AppService) HttpClient

func (e *AppService) HttpClient() *http.Client

func (*AppService) IndexGetV7

func (e *AppService) IndexGetV7(index string) (interface{}, error)

func (*AppService) IndexGetV8

func (e *AppService) IndexGetV8(index string) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳