ichubelastic

package
v1.0.202 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticClient

type ElasticClient struct {
	ClientDto *baseconfig.ElasticClientDto
	// contains filtered or unexported fields
}

func NewElasticClient

func NewElasticClient() *ElasticClient

func (*ElasticClient) Client

func (this *ElasticClient) Client() *elastic.Client

func (*ElasticClient) Close

func (this *ElasticClient) Close()

func (*ElasticClient) Open

func (this *ElasticClient) Open() (*elastic.Client, error)

func (*ElasticClient) SetClient

func (this *ElasticClient) SetClient(client *elastic.Client)

Jump to

Keyboard shortcuts

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