elasticsearch

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: BSD-3-Clause Imports: 8 Imported by: 1

README

go-writer-elasticsearch

Elasticsearch support for the go-writer Writer interface.

Important

This is work in progress. Documentation to follow

Elasticsearch

This package assumes an Elasticsearch 7.x endpoint.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticsearchWriter

func NewElasticsearchWriter(ctx context.Context, uri string) (wof_writer.Writer, error)

Types

type ElasticsearchWriter

type ElasticsearchWriter struct {
	wof_writer.Writer
	// contains filtered or unexported fields
}

func (*ElasticsearchWriter) Write

func (wr *ElasticsearchWriter) Write(ctx context.Context, uri string, fh io.ReadSeeker) (int64, error)

func (*ElasticsearchWriter) WriterURI added in v0.1.0

func (wr *ElasticsearchWriter) WriterURI(ctx context.Context, uri string) string

Jump to

Keyboard shortcuts

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