v8

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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