(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 360 | } |
| 361 | |
| 362 | func _Downstream_ChangesCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 363 | in := new(Empty) |
| 364 | if err := dec(in); err != nil { |
| 365 | return nil, err |
| 366 | } |
| 367 | if interceptor == nil { |
| 368 | return srv.(DownstreamServer).ChangesCount(ctx, in) |
| 369 | } |
| 370 | info := &grpc.UnaryServerInfo{ |
| 371 | Server: srv, |
| 372 | FullMethod: "/remote.Downstream/ChangesCount", |
| 373 | } |
| 374 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 375 | return srv.(DownstreamServer).ChangesCount(ctx, req.(*Empty)) |
| 376 | } |
| 377 | return interceptor(ctx, in, info, handler) |
| 378 | } |
| 379 | |
| 380 | func _Downstream_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 381 | in := new(Empty) |
nothing calls this directly
no test coverage detected