v8

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 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 ElasticConfig

type ElasticConfig elasticsearch.Config

func (*ElasticConfig) Build

func (conf *ElasticConfig) Build() *elasticsearch.Client

type Es

type Es struct {
	*elasticsearch.Client
	Conf ElasticConfig
}

func (*Es) Close

func (es *Es) Close()

func (*Es) Config

func (es *Es) Config() any

func (*Es) SetEntity

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

type Esv2

type Esv2 struct {
	*elasticsearch.Client `init:"entity"`
	Config                ElasticConfig `init:"config"`
}

func (*Esv2) Close

func (es *Esv2) Close()

Jump to

Keyboard shortcuts

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