Preheat oven to 350 degrees and spray 2 8-inch cake pans with non-stick spray. Line the bottom of the pans with parchment paper and spray that parchment paper with non-stick spray.
In a medium bowl, whisk together the gluten free flour, xanthan gum, sugar, black cocoa powder, baking soda, baking powder, and salt. Set aside.
In a large bowl, whisk together the eggs, milk, oil, and vanilla extract.
Pour the dry ingredients into the wet ingredients and mix until combined. Then pour in the hot coffee and slow stir in to the batter. Mix until fully incorporated.
Transfer the batter to the prepared cake pans, dividing it evenly between the two pans.
Bake at 350 degrees for 35 - 40 minutes or until a cake tester comes out clean and the cake starts to pull away from the edges of the pan.
Cool the cakes on a wire rack (in the pan) for 20 minutes. Carefully remove the cakes from the pans and cool completely on a wire rack.
When the cakes are fully cooled, prepare the frosting, frost the cake layers, and assemble the cake. Serve at room temperature.