grpc: Index | Files

package orca

import ""

Package orca implements Open Request Cost Aggregation.


Package Files


func FromMetadata Uses

func FromMetadata(md metadata.MD) *orcapb.OrcaLoadReport

FromMetadata reads load report from metadata and converts it to orca.

It returns nil if report is not found in metadata.

func ToMetadata Uses

func ToMetadata(r *orcapb.OrcaLoadReport) metadata.MD

ToMetadata converts a orca load report into grpc metadata.

Package orca imports 5 packages (graph). Updated 2019-10-31. Refresh now. Tools for package owners.