elasticsearch

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elasticsearch

type Elasticsearch struct {
	Client   *elasticsearch8.Client
	Address  string
	Username string
	Password string
	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
	Index       *string
	Key         *string
}

func (*Elasticsearch) Cleanup

func (d *Elasticsearch) Cleanup() error

func (*Elasticsearch) Init

func (d *Elasticsearch) Init() error

func (*Elasticsearch) LoadEnv

func (d *Elasticsearch) LoadEnv(prefix string) error

func (*Elasticsearch) LoadFlags

func (d *Elasticsearch) LoadFlags() error

func (*Elasticsearch) Push

func (d *Elasticsearch) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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