The Rindler spacetime has a horizon, and locally any non-extremal black hole horizon is Rindler. So the Rindler spacetime gives the local properties of black holes and cosmological horizons. It is possible to rearrange the metric restricted to these regions to obtain the Rindler metric. The Unruh effect would then be the near-horizon form of Hawking radiation.