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

Function _GStringService_IncrBy_Handler

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

Source from the content-addressed store, hash-verified

527}
528
529func _GStringService_IncrBy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
530 in := new(IncrByRequest)
531 if err := dec(in); err != nil {
532 return nil, err
533 }
534 if interceptor == nil {
535 return srv.(GStringServiceServer).IncrBy(ctx, in)
536 }
537 info := &grpc.UnaryServerInfo{
538 Server: srv,
539 FullMethod: "/gstring.GStringService/IncrBy",
540 }
541 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
542 return srv.(GStringServiceServer).IncrBy(ctx, req.(*IncrByRequest))
543 }
544 return interceptor(ctx, in, info, handler)
545}
546
547func _GStringService_IncrByFloat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
548 in := new(IncrByFloatRequest)

Callers

nothing calls this directly

Calls 1

IncrByMethod · 0.65

Tested by

no test coverage detected