Wikipedia
Tiangou
The tiangou is a legendary creature from China. The tiangou resembles a black dog or meteor, which is thought to eat the sun or moon during an eclipse.
Tales explain that you must beat dogs and drive them away in order to ward off the tiangou. The dog god would then spit out the sun or moon and flee back into the heavens.