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

Struct UnimplementedTestServiceServer

interop/grpc_testing/test_grpc.pb.go:231–231  ·  view source on GitHub ↗

UnimplementedTestServiceServer must be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

Source from the content-addressed store, hash-verified

229// NOTE: this should be embedded by value instead of pointer to avoid a nil
230// pointer dereference when methods are called.
231type UnimplementedTestServiceServer struct{}
232
233func (UnimplementedTestServiceServer) EmptyCall(context.Context, *Empty) (*Empty, error) {
234 return nil, status.Error(codes.Unimplemented, "method EmptyCall not implemented")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected