elasticsearch

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(logger *loggerpkg.Logger)

Types

type ElasticSearch

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

func New

func New(collectorId string, conf map[string]interface{}, logger *loggerpkg.Logger) *ElasticSearch

func (*ElasticSearch) Write

func (es *ElasticSearch) Write(rows []map[string]interface{}) bool

return false to stop collector.

type Timer

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

func (*Timer) Sleep

func (t *Timer) Sleep()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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