MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / _GStringService_StrLen_Handler

Function _GStringService_StrLen_Handler

lib/proto/gstring/db_grpc.pb.go:457–473  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

455}
456
457func _GStringService_StrLen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
458 in := new(StrLenRequest)
459 if err := dec(in); err != nil {
460 return nil, err
461 }
462 if interceptor == nil {
463 return srv.(GStringServiceServer).StrLen(ctx, in)
464 }
465 info := &grpc.UnaryServerInfo{
466 Server: srv,
467 FullMethod: "/gstring.GStringService/StrLen",
468 }
469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
470 return srv.(GStringServiceServer).StrLen(ctx, req.(*StrLenRequest))
471 }
472 return interceptor(ctx, in, info, handler)
473}
474
475func _GStringService_GetSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
476 in := new(GetSetRequest)

Callers

nothing calls this directly

Calls 1

StrLenMethod · 0.65

Tested by

no test coverage detected