MCPcopy
hub / github.com/sqlc-dev/sqlc / _Quick_GetQuerySets_Handler

Function _Quick_GetQuerySets_Handler

internal/quickdb/v1/quickdb_grpc.pb.go:209–225  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

207}
208
209func _Quick_GetQuerySets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
210 in := new(GetQuerySetsRequest)
211 if err := dec(in); err != nil {
212 return nil, err
213 }
214 if interceptor == nil {
215 return srv.(QuickServer).GetQuerySets(ctx, in)
216 }
217 info := &grpc.UnaryServerInfo{
218 Server: srv,
219 FullMethod: Quick_GetQuerySets_FullMethodName,
220 }
221 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
222 return srv.(QuickServer).GetQuerySets(ctx, req.(*GetQuerySetsRequest))
223 }
224 return interceptor(ctx, in, info, handler)
225}
226
227// Quick_ServiceDesc is the grpc.ServiceDesc for Quick service.
228// It's only intended for direct use with grpc.RegisterService,

Callers

nothing calls this directly

Calls 1

GetQuerySetsMethod · 0.65

Tested by

no test coverage detected