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

Function _GStringService_IncrByFloat_Handler

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

Source from the content-addressed store, hash-verified

545}
546
547func _GStringService_IncrByFloat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
548 in := new(IncrByFloatRequest)
549 if err := dec(in); err != nil {
550 return nil, err
551 }
552 if interceptor == nil {
553 return srv.(GStringServiceServer).IncrByFloat(ctx, in)
554 }
555 info := &grpc.UnaryServerInfo{
556 Server: srv,
557 FullMethod: "/gstring.GStringService/IncrByFloat",
558 }
559 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
560 return srv.(GStringServiceServer).IncrByFloat(ctx, req.(*IncrByFloatRequest))
561 }
562 return interceptor(ctx, in, info, handler)
563}
564
565func _GStringService_Decr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
566 in := new(DecrRequest)

Callers

nothing calls this directly

Calls 1

IncrByFloatMethod · 0.65

Tested by

no test coverage detected