Hall of Infinite Doors

If a terran wanted to build a structure near its minerals to ward off an early zergling rush, which defensive terran structure would ward off the pesky zerlings.