(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 417 | } |
| 418 | |
| 419 | func _NodeService_GetOutboundsLatency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 420 | in := new(LatencyRequest) |
| 421 | if err := dec(in); err != nil { |
| 422 | return nil, err |
| 423 | } |
| 424 | if interceptor == nil { |
| 425 | return srv.(NodeServiceServer).GetOutboundsLatency(ctx, in) |
| 426 | } |
| 427 | info := &grpc.UnaryServerInfo{ |
| 428 | Server: srv, |
| 429 | FullMethod: NodeService_GetOutboundsLatency_FullMethodName, |
| 430 | } |
| 431 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 432 | return srv.(NodeServiceServer).GetOutboundsLatency(ctx, req.(*LatencyRequest)) |
| 433 | } |
| 434 | return interceptor(ctx, in, info, handler) |
| 435 | } |
| 436 | |
| 437 | func _NodeService_GetUserOnlineStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 438 | in := new(StatRequest) |
nothing calls this directly
no test coverage detected