I have travelled to Gokarna ..it is pretty much safe for solo women . Just take few precautions . people here are so nice .if you want ,you can stay in the Gokarna village only .or there are multiple options by the kudle beach .
It is absolutely safe there. People are quite helpful and friendly. Stay and commute both are easily available. In fact I've been there without any pre bookings. It was fun trust me.!