(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 545 | } |
| 546 | |
| 547 | func _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 | |
| 565 | func _GStringService_Decr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 566 | in := new(DecrRequest) |
nothing calls this directly
no test coverage detected