I looked this up because this pairing sounds so interesting! Hope it helps...
The shrimp is almost blind, and relies on the goby to warn it of danger by flicking its tail. It detects this by always having an antenna in contact with the goby. The goby, in turn, benefits from the food stirred up from the gravel by the always burrowing shrimp, as well as from hiding in the holes the shrimp digs out under the rocks and sand. So far, they have a system of galleries that probably add up to 40cm in length.