In cnidarians, the layer of cells surrounding the gastrovascular cavity.