ichubelastic

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MulanPSL-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadElasticClient added in v1.0.112

func LoadElasticClient() baseiface.ISingleton

Types

type ElasticClient

type ElasticClient struct {
	basedto.BaseEntitySingle

	ClientDto *baseconfig.ElasticClientDto
	// contains filtered or unexported fields
}

func FindBeanElasticClient added in v1.0.112

func FindBeanElasticClient() *ElasticClient

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