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

Method EmptyCall

interop/grpc_testing/test_grpc.pb.go:92–100  ·  view source on GitHub ↗
(ctx context.Context, in *Empty, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

90}
91
92func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) {
93 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
94 out := new(Empty)
95 err := c.cc.Invoke(ctx, TestService_EmptyCall_FullMethodName, in, out, cOpts...)
96 if err != nil {
97 return nil, err
98 }
99 return out, nil
100}
101
102func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) {
103 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)

Callers

nothing calls this directly

Calls 2

StaticMethodFunction · 0.92
InvokeMethod · 0.65

Tested by

no test coverage detected