Documentation ¶ Index ¶ type CSV func (c CSV) Run(ctx context.Context, hits <-chan elastic.SearchHit) error type JSON func (j JSON) Run(ctx context.Context, hits <-chan elastic.SearchHit) error type Raw func (r Raw) Run(ctx context.Context, hits <-chan elastic.SearchHit) error 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 Source Files ¶ View all Source files csv.gojson.goraw.go Click to show internal directories. Click to hide internal directories.