elastic

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*elasticsearch.Client
	Conf Config
}

func (*Client) Close

func (es *Client) Close()

func (*Client) Config

func (es *Client) Config() any

func (*Client) SetEntity

func (es *Client) SetEntity(entity interface{})

type Config

type Config elasticsearch.Config

func (*Config) Build

func (c *Config) Build() *elasticsearch.Client

func (*Config) Init added in v1.4.0

func (c *Config) Init()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

Jump to

Keyboard shortcuts

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