formats

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

type CSV struct {
	Conf       *flags.Flags
	Outfile    *os.File
	Workers    int
	ProgessBar *pb.ProgressBar
}

func (CSV) Run

func (c CSV) Run(ctx context.Context, hits <-chan *elastic.SearchHit) error

type JSON

type JSON struct {
	Outfile    *os.File
	ProgessBar *pb.ProgressBar
}

func (JSON) Run

func (j JSON) Run(ctx context.Context, hits <-chan *elastic.SearchHit) error

type Raw

type Raw struct {
	Outfile    *os.File
	ProgessBar *pb.ProgressBar
}

func (Raw) Run

func (r Raw) Run(ctx context.Context, hits <-chan *elastic.SearchHit) error

Jump to

Keyboard shortcuts

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