"eternal" is an adjective, but it's placed after the noun "night-time" instead of before. This is not normal word order, but word order is sometimes reversed for poetic effect. I don't recommend doing this in ordinary writing and conversation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.