elasticsearch

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 10 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 {
	Host               string
	Index              string
	IndexColumn        string
	BlacklistedColumns []string
	BulkTimeout        time.Duration
}

func NewConfig

func NewConfig() Config

type RecordDatabase

type RecordDatabase interface {
	Insert(records []*models.Record) error
	ReadinessCheck() bool
	// contains filtered or unexported methods
}

func NewDatabase

func NewDatabase(logger log.Logger, config Config) RecordDatabase

Jump to

Keyboard shortcuts

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