| 455 | } |
| 456 | |
| 457 | func _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 | |
| 475 | func _GStringService_GetSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 476 | in := new(GetSetRequest) |