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

Struct UnimplementedSearchServiceServer

reflection/grpc_testing/test_grpc.pb.go:93–93  ·  view source on GitHub ↗

UnimplementedSearchServiceServer 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

91// NOTE: this should be embedded by value instead of pointer to avoid a nil
92// pointer dereference when methods are called.
93type UnimplementedSearchServiceServer struct{}
94
95func (UnimplementedSearchServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error) {
96 return nil, status.Error(codes.Unimplemented, "method Search not implemented")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected