MCPcopy
hub / github.com/tsenart/vegeta / Decoder

FuncType Decoder

lib/results.go:99–99  ·  view source on GitHub ↗

A Decoder decodes a Result and returns an error in case of failure.

func(*Result) error

Source from the content-addressed store, hash-verified

97
98// A Decoder decodes a Result and returns an error in case of failure.
99type Decoder func(*Result) error
100
101// A DecoderFactory constructs a new Decoder from a given io.Reader.
102type DecoderFactory func(io.Reader) Decoder

Callers 8

decodeMetricsFunction · 0.95
TestResultEncodingFunction · 0.95
NewDecoderFunction · 0.95
encodeFunction · 0.45
plotRunFunction · 0.45
reportFunction · 0.45
BenchmarkResultEncodingsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected