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

Method GetGauge

interop/stress/grpc_testing/metrics_grpc.pb.go:85–93  ·  view source on GitHub ↗
(ctx context.Context, in *GaugeRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

83type MetricsService_GetAllGaugesClient = grpc.ServerStreamingClient[GaugeResponse]
84
85func (c *metricsServiceClient) GetGauge(ctx context.Context, in *GaugeRequest, opts ...grpc.CallOption) (*GaugeResponse, error) {
86 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
87 out := new(GaugeResponse)
88 err := c.cc.Invoke(ctx, MetricsService_GetGauge_FullMethodName, in, out, cOpts...)
89 if err != nil {
90 return nil, err
91 }
92 return out, nil
93}
94
95// MetricsServiceServer is the server API for MetricsService service.
96// All implementations must embed UnimplementedMetricsServiceServer

Callers

nothing calls this directly

Calls 2

StaticMethodFunction · 0.92
InvokeMethod · 0.65

Tested by

no test coverage detected