(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 363 | type NodeService_GetLogsServer = grpc.ServerStreamingServer[Log] |
| 364 | |
| 365 | func _NodeService_GetSystemStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 366 | in := new(Empty) |
| 367 | if err := dec(in); err != nil { |
| 368 | return nil, err |
| 369 | } |
| 370 | if interceptor == nil { |
| 371 | return srv.(NodeServiceServer).GetSystemStats(ctx, in) |
| 372 | } |
| 373 | info := &grpc.UnaryServerInfo{ |
| 374 | Server: srv, |
| 375 | FullMethod: NodeService_GetSystemStats_FullMethodName, |
| 376 | } |
| 377 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 378 | return srv.(NodeServiceServer).GetSystemStats(ctx, req.(*Empty)) |
| 379 | } |
| 380 | return interceptor(ctx, in, info, handler) |
| 381 | } |
| 382 | |
| 383 | func _NodeService_GetBackendStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 384 | in := new(Empty) |
nothing calls this directly
no test coverage detected