MCPcopy
hub / github.com/elastic/go-elasticsearch / easyjsonDecoder

Struct easyjsonDecoder

_examples/bulk/benchmarks/benchmarks.go:178–178  ·  view source on GitHub ↗

easyjsonDecoder implements a JSON decoder for the indexer via the "github.com/mailru/easyjson" package. See _examples/encoding for a demo.

Source from the content-addressed store, hash-verified

176// See _examples/encoding for a demo.
177
178type easyjsonDecoder struct{}
179
180func (d easyjsonDecoder) UnmarshalFromReader(r io.Reader, blk *esutil.BulkIndexerResponse) error {
181 var v model.BulkIndexerResponse

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected