MCPcopy
hub / github.com/grpc/grpc-go / testLoadParser

Struct testLoadParser

test/balancer_test.go:287–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285const loadMDKey = "X-Endpoint-Load-Metrics-Bin"
286
287type testLoadParser struct{}
288
289func (*testLoadParser) Parse(md metadata.MD) any {
290 vs := md.Get(loadMDKey)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected