elastic

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ElasticURI      string `json:"es_uri"`
	ElasticIndex    string `json:"index"`
	ElasticUsername string `json:"username"`
	ElasticPassword string `json:"password"`
}

type ElasticProducer

type ElasticProducer struct {
	// contains filtered or unexported fields
}

func (*ElasticProducer) Close

func (p *ElasticProducer) Close() error

func (*ElasticProducer) Initialize

func (p *ElasticProducer) Initialize(configFile string)

func (*ElasticProducer) Produce

func (p *ElasticProducer) Produce(k []byte, v []byte, o any)

Jump to

Keyboard shortcuts

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