handler

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchHandler

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

BatchHandler handles batches of SearchDataImportModel events that contain CSV row data.

func NewBatchHandler

func NewBatchHandler(esClient *dpelasticsearch.Client) *BatchHandler

NewBatchHandler returns a BatchHandler.

func (BatchHandler) Handle

func (batchHandler BatchHandler) Handle(ctx context.Context, url string, events []*models.SearchDataImportModel) error

Handle the given slice of SearchDataImport Model.

Jump to

Keyboard shortcuts

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