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

Method Parse

orca/orca.go:47–53  ·  view source on GitHub ↗
(md metadata.MD)

Source from the content-addressed store, hash-verified

45type loadParser struct{}
46
47func (loadParser) Parse(md metadata.MD) any {
48 lr, err := internal.ToLoadReport(md)
49 if err != nil {
50 logger.Infof("Parse failed: %v", err)
51 }
52 return lr
53}
54
55func init() {
56 balancerload.SetParser(loadParser{})

Callers

nothing calls this directly

Calls 2

ToLoadReportFunction · 0.92
InfofMethod · 0.65

Tested by

no test coverage detected