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

Method Decode

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

Decode is an an adapter method calling the Decoder function itself with the given parameters.

(r *Result)

Source from the content-addressed store, hash-verified

150// Decode is an an adapter method calling the Decoder function itself with the
151// given parameters.
152func (dec Decoder) Decode(r *Result) error { return dec(r) }
153
154// An Encoder encodes a Result and returns an error in case of failure.
155type Encoder func(*Result) error

Callers 11

decodeMetricsFunction · 0.95
TestResultEncodingFunction · 0.95
NewDecoderFunction · 0.95
encodeFunction · 0.45
plotRunFunction · 0.45
reportFunction · 0.45
BenchmarkResultEncodingsFunction · 0.45
readAllResultsFunction · 0.45
DecoderForFunction · 0.45
NewRoundRobinDecoderFunction · 0.45

Calls

no outgoing calls

Tested by 4

decodeMetricsFunction · 0.76
TestResultEncodingFunction · 0.76
BenchmarkResultEncodingsFunction · 0.36