Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExtNDJSON = ".ndjson" ExtNDJSONGzipped = ".ndjson.gz" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
func NewExporter ¶
func NewExporter(opts ExporterOptions) (Exporter, error)
type ExporterOptions ¶
type ExporterOptions struct { // elasticsearch url URL string // elasticsearch sniff Sniff bool // local directory Dir string // index to exportSection Index string // bulk Bulk int // section key for term aggregation and term search SectionKey string // concurrency Concurrency int // compress level CompressLevel int // logger Logger Logger }
Click to show internal directories.
Click to hide internal directories.